[libcxx-commits] [PATCH] D150908: [libc++][ci] Use ccache in the jobs that build Clang

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 19 08:16:54 PDT 2023


Mordante accepted this revision.
Mordante added a comment.
This revision is now accepted and ready to land.

When the cache is preserved between runs we might want to do the same for libc++.

LGTM when the CI is green.



================
Comment at: libcxx/utils/ci/buildkite-pipeline-clang.yml:26
+      - "cmake -S llvm -B build -G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER="ccache" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install -DLLVM_ENABLE_PROJECTS=\"clang;compiler-rt\""
       - "ninja -C build install-clang install-clang-resource-headers"
       - "tar -cJvf install.tar.xz install/"
----------------
This gives statistics of the cache usage. I think that will at least initially be useful. Maybe we want to tweak cache parameters, for example the size.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150908/new/

https://reviews.llvm.org/D150908



More information about the libcxx-commits mailing list