[llvm] [Github] Add sccache to CI container (PR #122063)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 10:19:41 PST 2025


================
@@ -66,6 +66,11 @@ RUN apt-get update && \
     file \
     tzdata
 
+# Install sccache as it is needed by most of the project test workflows and
+# cannot be installed by the ccache action when executing as a non-root user.
+RUN curl -L 'https://github.com/mozilla/sccache/releases/download/v0.7.6/sccache-v0.7.6-x86_64-unknown-linux-musl.tar.gz' | tar xzf - -O --wildcards '*/sccache' > '/usr/local/bin/sccache' && \
+    chmod +x /usr/local/bin/sccache
----------------
tstellar wrote:

Can we use the package manager to install sccache?

https://github.com/llvm/llvm-project/pull/122063


More information about the llvm-commits mailing list