[libcxx-commits] [PATCH] D98992: [libc++] Run ninja with --verbose

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Mar 19 16:29:05 PDT 2021


ldionne created this revision.
Herald added subscribers: jkorous, arichardson.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

This makes it easier to see what exact build commands are used.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98992

Files:
  libcxx/utils/ci/run-buildbot


Index: libcxx/utils/ci/run-buildbot
===================================================================
--- libcxx/utils/ci/run-buildbot
+++ libcxx/utils/ci/run-buildbot
@@ -87,29 +87,29 @@
 
 function check-cxx-cxxabi() {
     echo "+++ Running the libc++ tests"
-    ${NINJA} -C "${BUILD_DIR}" check-cxx
+    ${NINJA} -vC "${BUILD_DIR}" check-cxx
 
     echo "+++ Running the libc++abi tests"
-    ${NINJA} -C "${BUILD_DIR}" check-cxxabi
+    ${NINJA} -vC "${BUILD_DIR}" check-cxxabi
 
     echo "--- Installing libc++ and libc++abi to a fake location"
-    ${NINJA} -C "${BUILD_DIR}" install-cxx install-cxxabi
+    ${NINJA} -vC "${BUILD_DIR}" install-cxx install-cxxabi
 }
 
 # TODO: The goal is to test this against all configurations. We should also move
 #       this to the Lit test suite instead of being a separate CMake target.
 function check-abi-list() {
     echo "+++ Running the libc++ ABI list test"
-    ${NINJA} -C "${BUILD_DIR}" check-cxx-abilist || (
+    ${NINJA} -vC "${BUILD_DIR}" check-cxx-abilist || (
         echo "+++ Generating the libc++ ABI list after failed check"
-        ${NINJA} -C "${BUILD_DIR}" generate-cxx-abilist
+        ${NINJA} -vC "${BUILD_DIR}" generate-cxx-abilist
         false
     )
 }
 
 function check-cxx-benchmarks() {
     echo "--- Running the benchmarks"
-    ${NINJA} -C "${BUILD_DIR}" check-cxx-benchmarks
+    ${NINJA} -vC "${BUILD_DIR}" check-cxx-benchmarks
 }
 
 case "${BUILDER}" in
@@ -330,7 +330,7 @@
     generate-cmake -DLLVM_ENABLE_SPHINX=ON
 
     echo "+++ Generating documentation"
-    ${NINJA} -C "${BUILD_DIR}" docs-libcxx-html
+    ${NINJA} -vC "${BUILD_DIR}" docs-libcxx-html
 ;;
 unified-standalone)
     export CC=clang
@@ -376,16 +376,16 @@
           -DLIBCXXABI_LIBCXX_LIBRARY_PATH="${BUILD_DIR}/libcxx/lib"
 
     echo "+++ Building libc++abi"
-    ${NINJA} -C "${BUILD_DIR}/libcxxabi" cxxabi
+    ${NINJA} -vC "${BUILD_DIR}/libcxxabi" cxxabi
 
     echo "+++ Building libc++"
-    ${NINJA} -C "${BUILD_DIR}/libcxx" cxx
+    ${NINJA} -vC "${BUILD_DIR}/libcxx" cxx
 
     echo "+++ Running the libc++ tests"
-    ${NINJA} -C "${BUILD_DIR}/libcxx" check-cxx
+    ${NINJA} -vC "${BUILD_DIR}/libcxx" check-cxx
 
     echo "+++ Running the libc++abi tests"
-    ${NINJA} -C "${BUILD_DIR}/libcxxabi" check-cxxabi
+    ${NINJA} -vC "${BUILD_DIR}/libcxxabi" check-cxxabi
 ;;
 aarch64)
     clean


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98992.332030.patch
Type: text/x-patch
Size: 2372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210319/b1617ff3/attachment-0001.bin>


More information about the libcxx-commits mailing list