[libcxx-commits] [libcxx] 3016ceb - [libc++] Allow running the bootstrapping CI build on Darwin

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 11 11:12:42 PST 2021


Author: Louis Dionne
Date: 2021-11-11T14:12:34-05:00
New Revision: 3016ceb30d12f8d9d9600d3ec66bf2a5bb3a7d32

URL: https://github.com/llvm/llvm-project/commit/3016ceb30d12f8d9d9600d3ec66bf2a5bb3a7d32
DIFF: https://github.com/llvm/llvm-project/commit/3016ceb30d12f8d9d9600d3ec66bf2a5bb3a7d32.diff

LOG: [libc++] Allow running the bootstrapping CI build on Darwin

Instead of hard-coding the target for our CI nodes, use the default
compiler triple. Also, allow building compiler-rt for the single
specified triple in case we're running on Darwin (otherwise, the
bootstrapping build complains).

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

Added: 
    

Modified: 
    libcxx/utils/ci/run-buildbot

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index f40e3a572f48d..b36f6d776715d 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -475,7 +475,8 @@ bootstrapping-build)
           -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" \
           -DLLVM_ENABLE_PROJECTS="clang" \
           -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \
-          -DLLVM_RUNTIME_TARGETS="x86_64-unknown-linux-gnu" \
+          -DLLVM_RUNTIME_TARGETS="$(c++ --print-target-triple)" \
+          -DRUNTIMES_BUILD_ALLOW_DARWIN=ON \
           -DLLVM_ENABLE_ASSERTIONS=ON \
           -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-modules.cmake" \
           -DLIBCXX_TEST_CONFIG="llvm-libc++-shared.cfg.in" \


        


More information about the libcxx-commits mailing list