[libcxx-commits] [libcxx] 64d7f77 - [libcxx] [ci] Enable -Werror for libcxxabi and libunwind too

Martin Storsjö via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 1 00:15:11 PDT 2022


Author: Martin Storsjö
Date: 2022-04-01T10:12:52+03:00
New Revision: 64d7f778e6d7556b1def98df70f89d162a2892fc

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

LOG: [libcxx] [ci] Enable -Werror for libcxxabi and libunwind too

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

Added: 
    

Modified: 
    libcxx/utils/ci/run-buildbot

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index c58c1fa6c84e6..fe2b823f80f70 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -84,6 +84,8 @@ function generate-cmake-base() {
           -DCMAKE_BUILD_TYPE=RelWithDebInfo \
           -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" \
           -DLIBCXX_ENABLE_WERROR=YES \
+          -DLIBCXXABI_ENABLE_WERROR=YES \
+          -DLIBUNWIND_ENABLE_WERROR=YES \
           -DLLVM_LIT_ARGS="-sv --show-unsupported --xunit-xml-output test-results.xml" \
           "${@}"
 }
@@ -286,7 +288,9 @@ generic-gcc)
     export CXX=g++-11
     clean
     generate-cmake -DLIBUNWIND_TEST_CONFIG="llvm-libunwind-shared.cfg.in" \
-                   -DLIBCXX_ENABLE_WERROR=NO
+                   -DLIBCXX_ENABLE_WERROR=NO \
+                   -DLIBCXXABI_ENABLE_WERROR=NO \
+                   -DLIBUNWIND_ENABLE_WERROR=NO
     check-runtimes
 ;;
 generic-gcc-cxx11)
@@ -295,7 +299,9 @@ generic-gcc-cxx11)
     clean
     generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-cxx11.cmake" \
                    -DLIBUNWIND_TEST_CONFIG="llvm-libunwind-shared.cfg.in" \
-                   -DLIBCXX_ENABLE_WERROR=NO
+                   -DLIBCXX_ENABLE_WERROR=NO \
+                   -DLIBCXXABI_ENABLE_WERROR=NO \
+                   -DLIBUNWIND_ENABLE_WERROR=NO
     check-runtimes
 ;;
 generic-asan)


        


More information about the libcxx-commits mailing list