[libcxx-commits] [libcxx] cdb9d24 - [libcxx][ci] enables assertions for runtimes-build

Christopher Di Bella via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 9 08:39:20 PDT 2021


Author: Christopher Di Bella
Date: 2021-06-09T15:38:26Z
New Revision: cdb9d242debaf689395bf38d19ca90327cd3b9fa

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

LOG: [libcxx][ci] enables assertions for runtimes-build

This will catch nasty Clang bugs like
https://bugs.llvm.org/show_bug.cgi?id=50592 before we merge stuff into
libc++ main.

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

Added: 
    

Modified: 
    libcxx/utils/ci/run-buildbot

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index a1858c1731c70..9395ec6f680b9 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -449,7 +449,8 @@ runtimes-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="x86_64-unknown-linux-gnu" \
+          -DLLVM_ENABLE_ASSERTIONS=ON
 
     echo "+++ Running the libc++ and libc++abi tests"
     ${NINJA} -C "${BUILD_DIR}" check-runtimes


        


More information about the libcxx-commits mailing list