[llvm-branch-commits] [CI] Use LLVM_ENABLE_RUNTIMES for runtimes builds on Linux (PR #142694)
Aiden Grossman via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jun 4 10:01:16 PDT 2025
boomanaiden154 wrote:
> What I see is that you're reusing the same initial CMake config for everything, even though in order to test Clang against libc++ and its tests, we need to reconfigure CMake to use just-built Clang, by supplying -D CMAKE_C_COMPILER="${INSTALL_DIR}/bin/clang" and -D CMAKE_CXX_COMPILER="${INSTALL_DIR}/bin/clang++". Otherwise we're simply losing this additional coverage for Clang.
We're using `LLVM_ENABLE_RUNTIMES`. It uses the just built clang to build the runtimes specified. We're just doing this in a single CMake invocation (which will spawn sub-CMake invocations) rather than in multiple CMake invocations.
https://github.com/llvm/llvm-project/pull/142694
More information about the llvm-branch-commits
mailing list