Skip to content

Commit c0f1f1b

Browse files
committed
Auto merge of rust-lang#133076 - klensy:sccache-linux-bump, r=<try>
bump sccache for linux x86_64 to allow caching while PGO'd This bumps sccache for linux-only jobs to allow sccache work with PGO mozilla/sccache#952 <strike>This is improvement: 2h05m -> 1h44m (from 1 run) for `dist-x86_64-linux` https://github.com/rust-lang/rust/pull/133033#issuecomment-2478817764</strike> Why still use old release? Commit with improvement was old, so i used some release around. In future, more recent versions can be tested to see if there any improvements, while this one already gives one. aarch64 update shouldn't change much, as there no PGO used. For other OSes i will create separate PRs later. r? infra
2 parents 48ef38d + 876d02e commit c0f1f1b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/ci/docker/scripts/sccache.sh

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

77
case "$(uname -m)" in
88
x86_64)
9-
url="https://ci-mirrors.rust-lang.org/rustc/2021-08-24-sccache-v0.2.15-x86_64-unknown-linux-musl"
9+
url="https://ci-mirrors.rust-lang.org/rustc/2022-12-08-sccache-v0.3.3-x86_64-unknown-linux-musl"
1010
;;
1111
aarch64)
12-
url="https://ci-mirrors.rust-lang.org/rustc/2021-08-25-sccache-v0.2.15-aarch64-unknown-linux-musl"
12+
# no aarch64 release for 0.3.3, so use this
13+
url="https://ci-mirrors.rust-lang.org/rustc/2022-11-13-sccache-v0.3.1-aarch64-unknown-linux-musl"
1314
;;
1415
*)
1516
echo "unsupported architecture: $(uname -m)"

src/ci/run.sh

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

281281
echo "::group::sccache stats"
282+
sccache --version || true
282283
sccache --show-stats || true
283284
echo "::endgroup::"

0 commit comments

Comments
 (0)