[libcxx-commits] [libcxx] 7a372c4 - [libc++][ci] Keep the C++03 build job on Clang 12

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 9 09:23:30 PDT 2021


Author: Louis Dionne
Date: 2021-07-09T12:22:48-04:00
New Revision: 7a372c4ce11537243a651fbbd25778a67f87935c

URL: https://github.com/llvm/llvm-project/commit/7a372c4ce11537243a651fbbd25778a67f87935c
DIFF: https://github.com/llvm/llvm-project/commit/7a372c4ce11537243a651fbbd25778a67f87935c.diff

LOG: [libc++][ci] Keep the C++03 build job on Clang 12

Because of https://reviews.llvm.org/D104500, libc++ is broken with
recent Clangs in C++03 mode.

Added: 
    

Modified: 
    libcxx/utils/ci/run-buildbot

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index c2feb0776b5a..c401f2253ec6 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -180,6 +180,9 @@ check-generated-output)
     python3 libcxx/utils/graph_header_deps.py >/dev/null
 ;;
 generic-cxx03)
+    # TODO: Switch to compiling with Clang ToT once issues with https://reviews.llvm.org/D104500 are resolved.
+    export CC=clang-12
+    export CXX=clang++-12
     clean
     generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-cxx03.cmake" \
                    -DLIBCXX_TEST_CONFIG="${MONOREPO_ROOT}/libcxx/test/configs/libcxx-trunk-shared.cfg.in"


        


More information about the libcxx-commits mailing list