Skip to content

Commit 4f07938

Browse files
[3.14] gh-145349: Do not install ccache (#145350) (#145425)
1 parent 675cb81 commit 4f07938

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
@@ -158,8 +158,6 @@ jobs:
158158
run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
159159
- name: Install dependencies
160160
run: sudo ./.github/workflows/posix-deps-apt.sh
161-
- name: Add ccache to PATH
162-
run: echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
163161
- name: Configure CPython
164162
run: |
165163
# Build Python with the libpython dynamic library
@@ -334,9 +332,6 @@ jobs:
334332
- name: Install OpenSSL
335333
if: steps.cache-openssl.outputs.cache-hit != 'true'
336334
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory "$MULTISSL_DIR" --openssl "$OPENSSL_VER" --system Linux
337-
- name: Add ccache to PATH
338-
run: |
339-
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
340335
- name: Configure CPython
341336
run: ./configure CFLAGS="-fdiagnostics-format=json" --config-cache --enable-slower-safety --with-pydebug --with-openssl="$OPENSSL_DIR"
342337
- name: Build CPython
@@ -428,9 +423,6 @@ jobs:
428423
- name: Install OpenSSL
429424
if: steps.cache-openssl.outputs.cache-hit != 'true'
430425
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory "$MULTISSL_DIR" --openssl "$OPENSSL_VER" --system Linux
431-
- name: Add ccache to PATH
432-
run: |
433-
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
434426
- name: Setup directory envs for out-of-tree builds
435427
run: |
436428
echo "CPYTHON_RO_SRCDIR=$(realpath -m "${GITHUB_WORKSPACE}"/../cpython-ro-srcdir)" >> "$GITHUB_ENV"
@@ -546,9 +538,6 @@ jobs:
546538
- name: Install OpenSSL
547539
if: steps.cache-openssl.outputs.cache-hit != 'true'
548540
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory "$MULTISSL_DIR" --openssl "$OPENSSL_VER" --system Linux
549-
- name: Add ccache to PATH
550-
run: |
551-
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
552541
- name: Configure CPython
553542
run: ./configure --config-cache --with-address-sanitizer --without-pymalloc
554543
- 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
@@ -58,9 +58,6 @@ jobs:
5858
- name: Install OpenSSL
5959
if: steps.cache-openssl.outputs.cache-hit != 'true'
6060
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory "$MULTISSL_DIR" --openssl "$OPENSSL_VER" --system Linux
61-
- name: Add ccache to PATH
62-
run: |
63-
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
6461
- name: Setup directory envs for out-of-tree builds
6562
run: |
6663
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)