Skip to content

Commit ef41f73

Browse files
gh-145349: Do not install ccache (#145350)
1 parent 0598f4a commit ef41f73

File tree

5 files changed

+0
-23
lines changed

5 files changed

+0
-23
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ jobs:
111111
run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
112112
- name: Install dependencies
113113
run: sudo ./.github/workflows/posix-deps-apt.sh
114-
- name: Add ccache to PATH
115-
run: echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
116114
- name: Configure CPython
117115
run: |
118116
# Build Python with the libpython dynamic library
@@ -299,9 +297,6 @@ jobs:
299297
- name: Install OpenSSL
300298
if: steps.cache-openssl.outputs.cache-hit != 'true'
301299
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory "$MULTISSL_DIR" --openssl "$OPENSSL_VER" --system Linux
302-
- name: Add ccache to PATH
303-
run: |
304-
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
305300
- name: Configure CPython
306301
run: ./configure CFLAGS="-fdiagnostics-format=json" --config-cache --enable-slower-safety --with-pydebug --with-openssl="$OPENSSL_DIR"
307302
- name: Build CPython
@@ -356,9 +351,6 @@ jobs:
356351
--base-directory "$MULTISSL_DIR" \
357352
--awslc ${{ matrix.awslc_ver }} \
358353
--system Linux
359-
- name: Add ccache to PATH
360-
run: |
361-
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
362354
- name: Configure CPython
363355
run: |
364356
./configure CFLAGS="-fdiagnostics-format=json" \
@@ -459,9 +451,6 @@ jobs:
459451
- name: Install OpenSSL
460452
if: steps.cache-openssl.outputs.cache-hit != 'true'
461453
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory "$MULTISSL_DIR" --openssl "$OPENSSL_VER" --system Linux
462-
- name: Add ccache to PATH
463-
run: |
464-
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
465454
- name: Setup directory envs for out-of-tree builds
466455
run: |
467456
echo "CPYTHON_RO_SRCDIR=$(realpath -m "${GITHUB_WORKSPACE}"/../cpython-ro-srcdir)" >> "$GITHUB_ENV"
@@ -577,9 +566,6 @@ jobs:
577566
- name: Install OpenSSL
578567
if: steps.cache-openssl.outputs.cache-hit != 'true'
579568
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory "$MULTISSL_DIR" --openssl "$OPENSSL_VER" --system Linux
580-
- name: Add ccache to PATH
581-
run: |
582-
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
583569
- name: Configure CPython
584570
run: ./configure --config-cache --with-address-sanitizer --without-pymalloc --with-openssl="$OPENSSL_DIR"
585571
- 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 install \
55
build-essential \
66
pkg-config \
7-
ccache \
87
cmake \
98
gdb \
109
lcov \

.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
@@ -63,9 +63,6 @@ jobs:
6363
- name: Install OpenSSL
6464
if: steps.cache-openssl.outputs.cache-hit != 'true'
6565
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory "$MULTISSL_DIR" --openssl "$OPENSSL_VER" --system Linux
66-
- name: Add ccache to PATH
67-
run: |
68-
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
6966
- name: Setup directory envs for out-of-tree builds
7067
run: |
7168
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-arm64-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)