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

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 10:20:42 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
----------------
boomanaiden154 wrote:

It's not packaged by default for most distros. That's what I would have preferred too.

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


More information about the llvm-commits mailing list