[llvm] [Github][CI] Install the correct binary of sccache on aarch64 (PR #155328)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 25 17:53:04 PDT 2025


https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/155328

>From 4c3b366c0a669445f3c02e2b8e348678f973a099 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Mon, 25 Aug 2025 17:04:32 -0700
Subject: [PATCH 1/2] [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 <tstellar at redhat.com>
Date: Mon, 25 Aug 2025 17:52:45 -0700
Subject: [PATCH 2/2] 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 && \



More information about the llvm-commits mailing list