[libcxx-commits] [libcxx] 437ec15 - [libc++][ci] Install ccache in the Docker image

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 26 10:42:32 PDT 2023


Author: Louis Dionne
Date: 2023-05-26T10:42:26-07:00
New Revision: 437ec156ef697e84d9e9e4c1f190d468dcee4096

URL: https://github.com/llvm/llvm-project/commit/437ec156ef697e84d9e9e4c1f190d468dcee4096
DIFF: https://github.com/llvm/llvm-project/commit/437ec156ef697e84d9e9e4c1f190d468dcee4096.diff

LOG: [libc++][ci] Install ccache in the Docker image

This will allow using ccache in the jobs that build Clang, which
should speed up those jobs.

Differential Revision: https://reviews.llvm.org/D150907

Added: 
    

Modified: 
    libcxx/utils/ci/Dockerfile

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/Dockerfile b/libcxx/utils/ci/Dockerfile
index d5983ead8588c..acceee3e74c97 100644
--- a/libcxx/utils/ci/Dockerfile
+++ b/libcxx/utils/ci/Dockerfile
@@ -38,9 +38,9 @@ ENV DEBIAN_FRONTEND=noninteractive
 RUN apt-get update && apt-get install -y bash curl
 
 # Install various tools used by the build or the test suite
-#RUN apt-get update && apt-get install -y ninja-build python3 python3-sphinx python3-distutils python3-psutil git gdb
+#RUN apt-get update && apt-get install -y ninja-build python3 python3-sphinx python3-distutils python3-psutil git gdb ccache
 # TODO add ninja-build once 1.11 is available in Ubuntu, also remove the manual installation.
-RUN apt-get update && apt-get install -y python3 python3-sphinx python3-distutils python3-psutil git gdb
+RUN apt-get update && apt-get install -y python3 python3-sphinx python3-distutils python3-psutil git gdb ccache
 RUN apt-get update && apt-get install -y wget && \
   wget -qO /usr/local/bin/ninja.gz https://github.com/ninja-build/ninja/releases/latest/download/ninja-linux.zip && \
   gunzip /usr/local/bin/ninja.gz && \


        


More information about the libcxx-commits mailing list