[libcxx-commits] [libcxx] 28851ed - [libc++] Silence CMake's install messages in the CI (#128872)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Feb 27 13:56:31 PST 2025


Author: Nikolas Klauser
Date: 2025-02-27T22:56:28+01:00
New Revision: 28851edf164a337c334755ae33fd58f03cffd5a2

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

LOG: [libc++] Silence CMake's install messages in the CI (#128872)

Currently, there are a ton of `-- Installing:` and `-- Up-to-date:`
messages in the CI log, which just clutter the output. This disables
these messages to significantly shorten the CI logs, making them much
faster to load and easier to read.

Added: 
    

Modified: 
    libcxx/utils/ci/run-buildbot

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index 0ee5bf3e71f59..947932f3802a1 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -127,6 +127,8 @@ function clean() {
 
 function generate-cmake-base() {
     step "Generating CMake"
+
+    # We can remove -DCMAKE_INSTALL_MESSAGE=NEVER once https://gitlab.kitware.com/cmake/cmake/-/issues/26085 is fixed.
     ${CMAKE} \
           -S "${MONOREPO_ROOT}/runtimes" \
           -B "${BUILD_DIR}" \
@@ -136,6 +138,7 @@ function generate-cmake-base() {
           -DLIBCXX_ENABLE_WERROR=YES \
           -DLIBCXXABI_ENABLE_WERROR=YES \
           -DLIBUNWIND_ENABLE_WERROR=YES \
+          -DCMAKE_INSTALL_MESSAGE=NEVER \
           -DLLVM_LIT_ARGS="-sv --xunit-xml-output test-results.xml --timeout=1500 --time-tests" \
           "${@}"
 }


        


More information about the libcxx-commits mailing list