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

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


https://github.com/philnik777 updated https://github.com/llvm/llvm-project/pull/128872

>From c5a993c378833db70452f05f0bf1c811ba5145bf Mon Sep 17 00:00:00 2001
From: Nikolas Klauser <nikolasklauser at berlin.de>
Date: Wed, 26 Feb 2025 13:44:00 +0100
Subject: [PATCH] [libc++] Silence CMake's install messages in the CI

---
 libcxx/utils/ci/run-buildbot | 3 +++
 1 file changed, 3 insertions(+)

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