Skip to content

Commit a59436d

Browse files
[3.13] gh-145349: Do not install ccache (#145350) (#145424)
1 parent a75f0bd commit a59436d

File tree

5 files changed

+0
-20
lines changed

5 files changed

+0
-20
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,6 @@ jobs:
156156
run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
157157
- name: Install dependencies
158158
run: sudo ./.github/workflows/posix-deps-apt.sh
159-
- name: Add ccache to PATH
160-
run: echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
161159
- name: Configure CPython
162160
run: |
163161
# Build Python with the libpython dynamic library
@@ -324,9 +322,6 @@ jobs:
324322
- name: Install OpenSSL
325323
if: steps.cache-openssl.outputs.cache-hit != 'true'
326324
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory "$MULTISSL_DIR" --openssl "$OPENSSL_VER" --system Linux
327-
- name: Add ccache to PATH
328-
run: |
329-
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
330325
- name: Configure CPython
331326
run: ./configure --config-cache --with-pydebug --with-openssl=$OPENSSL_DIR
332327
- name: Build CPython
@@ -395,9 +390,6 @@ jobs:
395390
- name: Install OpenSSL
396391
if: steps.cache-openssl.outputs.cache-hit != 'true'
397392
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $OPENSSL_VER --system Linux
398-
- name: Add ccache to PATH
399-
run: |
400-
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
401393
- name: Setup directory envs for out-of-tree builds
402394
run: |
403395
echo "CPYTHON_RO_SRCDIR=$(realpath -m "${GITHUB_WORKSPACE}"/../cpython-ro-srcdir)" >> "$GITHUB_ENV"
@@ -512,9 +504,6 @@ jobs:
512504
- name: Install OpenSSL
513505
if: steps.cache-openssl.outputs.cache-hit != 'true'
514506
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory "$MULTISSL_DIR" --openssl "$OPENSSL_VER" --system Linux
515-
- name: Add ccache to PATH
516-
run: |
517-
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
518507
- name: Configure CPython
519508
run: ./configure --config-cache --with-address-sanitizer --without-pymalloc
520509
- name: Build CPython

.github/workflows/posix-deps-apt.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ apt-get update
44
apt-get -yq --no-install-recommends install \
55
build-essential \
66
pkg-config \
7-
ccache \
87
gdb \
98
lcov \
109
libb2-dev \

.github/workflows/reusable-san.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ jobs:
6666
env:
6767
SANITIZER: ${{ inputs.sanitizer }}
6868
SAN_LOG_OPTION: log_path=${{ github.workspace }}/san_log
69-
- name: Add ccache to PATH
70-
run: |
71-
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
7269
- name: Configure CPython
7370
run: >-
7471
./configure

.github/workflows/reusable-ubuntu.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ jobs:
4747
- name: Install OpenSSL
4848
if: steps.cache-openssl.outputs.cache-hit != 'true'
4949
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory "$MULTISSL_DIR" --openssl "$OPENSSL_VER" --system Linux
50-
- name: Add ccache to PATH
51-
run: |
52-
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
5350
- name: Setup directory envs for out-of-tree builds
5451
run: |
5552
echo "CPYTHON_RO_SRCDIR=$(realpath -m "${GITHUB_WORKSPACE}"/../cpython-ro-srcdir)" >> "$GITHUB_ENV"

.github/workflows/reusable-wasi.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ jobs:
3838
mkdir "${WASI_SDK_PATH}" && \
3939
curl -s -S --location "https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux.tar.gz" | \
4040
tar --strip-components 1 --directory "${WASI_SDK_PATH}" --extract --gunzip
41-
- name: "Add ccache to PATH"
42-
run: echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
4341
- name: "Install Python"
4442
uses: actions/setup-python@v6
4543
with:

0 commit comments

Comments
 (0)