Skip to content

Commit 36719a9

Browse files
committed
Update sccache to 0.10.0
This time, does it also for Windows and macOS.
1 parent 0998d40 commit 36719a9

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Diff for: src/ci/docker/scripts/sccache.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ set -ex
66

77
case "$(uname -m)" in
88
x86_64)
9-
url="https://ci-mirrors.rust-lang.org/rustc/2025-01-07-sccache-v0.9.1-x86_64-unknown-linux-musl"
9+
url="https://ci-mirrors.rust-lang.org/rustc/2025-02-24-sccache-v0.10.0-x86_64-unknown-linux-musl"
1010
;;
1111
aarch64)
12-
url="https://ci-mirrors.rust-lang.org/rustc/2025-01-07-sccache-v0.9.1-aarch64-unknown-linux-musl"
12+
url="https://ci-mirrors.rust-lang.org/rustc/2025-02-24-sccache-v0.10.0-aarch64-unknown-linux-musl"
1313
;;
1414
*)
1515
echo "unsupported architecture: $(uname -m)"

Diff for: src/ci/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,5 +279,5 @@ if [ "$RUN_CHECK_WITH_PARALLEL_QUERIES" != "" ]; then
279279
fi
280280

281281
echo "::group::sccache stats"
282-
sccache --show-stats || true
282+
sccache --show-adv-stats || true
283283
echo "::endgroup::"

Diff for: src/ci/scripts/install-sccache.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ IFS=$'\n\t'
88
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
99

1010
if isMacOS; then
11-
curl -fo /usr/local/bin/sccache "${MIRRORS_BASE}/2021-08-25-sccache-v0.2.15-x86_64-apple-darwin"
11+
curl -fo /usr/local/bin/sccache \
12+
"${MIRRORS_BASE}/2025-02-24-sccache-v0.10.0-x86_64-apple-darwin"
1213
chmod +x /usr/local/bin/sccache
1314
elif isWindows; then
1415
mkdir -p sccache
15-
curl -fo sccache/sccache.exe "${MIRRORS_BASE}/2018-04-26-sccache-x86_64-pc-windows-msvc"
16+
curl -fo sccache/sccache.exe \
17+
"${MIRRORS_BASE}/2025-02-24-sccache-v0.10.0-x86_64-pc-windows-msvc.exe"
1618
ciCommandAddPath "$(pwd)/sccache"
1719
fi
1820

0 commit comments

Comments
 (0)