From 4c3b366c0a669445f3c02e2b8e348678f973a099 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 25 Aug 2025 17:04:32 -0700 Subject: [PATCH 1/3] [Github][CI] Install the correct binary of sccache on aarch64 --- .github/workflows/containers/github-action-ci/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/containers/github-action-ci/Dockerfile b/.github/workflows/containers/github-action-ci/Dockerfile index 8a888f3a411c0..ca1cdd1bb01ec 100644 --- a/.github/workflows/containers/github-action-ci/Dockerfile +++ b/.github/workflows/containers/github-action-ci/Dockerfile @@ -73,7 +73,7 @@ RUN apt-get update && \ # caching), so we manually install it here. # TODO(boomanaiden154): We should return to installing this from the apt # repository once a version containing the necessary bug fixes is available. -RUN curl -L 'https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz' > /tmp/sccache.tar.gz && \ +RUN curl -L 'https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-$(arch)-unknown-linux-musl.tar.gz' > /tmp/sccache.tar.gz && \ echo "1fbb35e135660d04a2d5e42b59c7874d39b3deb17de56330b25b713ec59f849b /tmp/sccache.tar.gz" | sha256sum -c && \ tar xzf /tmp/sccache.tar.gz -O --wildcards '*/sccache' > '/usr/local/bin/sccache' && \ rm /tmp/sccache.tar.gz && \ From 8f08b07e6a4b79475d79aef2e49770d092a24993 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 25 Aug 2025 17:52:45 -0700 Subject: [PATCH 2/3] Fix url --- .github/workflows/containers/github-action-ci/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/containers/github-action-ci/Dockerfile b/.github/workflows/containers/github-action-ci/Dockerfile index ca1cdd1bb01ec..6da76d8bc99f4 100644 --- a/.github/workflows/containers/github-action-ci/Dockerfile +++ b/.github/workflows/containers/github-action-ci/Dockerfile @@ -73,7 +73,7 @@ RUN apt-get update && \ # caching), so we manually install it here. # TODO(boomanaiden154): We should return to installing this from the apt # repository once a version containing the necessary bug fixes is available. -RUN curl -L 'https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-$(arch)-unknown-linux-musl.tar.gz' > /tmp/sccache.tar.gz && \ +RUN curl -L "https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-$(arch)-unknown-linux-musl.tar.gz" > /tmp/sccache.tar.gz && \ echo "1fbb35e135660d04a2d5e42b59c7874d39b3deb17de56330b25b713ec59f849b /tmp/sccache.tar.gz" | sha256sum -c && \ tar xzf /tmp/sccache.tar.gz -O --wildcards '*/sccache' > '/usr/local/bin/sccache' && \ rm /tmp/sccache.tar.gz && \ From c5a27704a45ca135f254d7fd49adf1993b0691bd Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 26 Aug 2025 12:16:35 -0700 Subject: [PATCH 3/3] Fix sha256sum --- .github/workflows/containers/github-action-ci/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/containers/github-action-ci/Dockerfile b/.github/workflows/containers/github-action-ci/Dockerfile index 6da76d8bc99f4..f8e68ac01b168 100644 --- a/.github/workflows/containers/github-action-ci/Dockerfile +++ b/.github/workflows/containers/github-action-ci/Dockerfile @@ -74,7 +74,7 @@ RUN apt-get update && \ # TODO(boomanaiden154): We should return to installing this from the apt # repository once a version containing the necessary bug fixes is available. RUN curl -L "https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-$(arch)-unknown-linux-musl.tar.gz" > /tmp/sccache.tar.gz && \ - echo "1fbb35e135660d04a2d5e42b59c7874d39b3deb17de56330b25b713ec59f849b /tmp/sccache.tar.gz" | sha256sum -c && \ + echo $( [ $(arch) = 'x86_64' ] && echo "1fbb35e135660d04a2d5e42b59c7874d39b3deb17de56330b25b713ec59f849b" || echo "d6a1ce4acd02b937cd61bc675a8be029a60f7bc167594c33d75732bbc0a07400") /tmp/sccache.tar.gz | sha256sum -c && \ tar xzf /tmp/sccache.tar.gz -O --wildcards '*/sccache' > '/usr/local/bin/sccache' && \ rm /tmp/sccache.tar.gz && \ chmod +x /usr/local/bin/sccache