r274056 - [CMake] Adding USES_TERMINAL to a few additional custom targets

Chris Bieneman via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 28 13:30:53 PDT 2016


Author: cbieneman
Date: Tue Jun 28 15:30:52 2016
New Revision: 274056

URL: http://llvm.org/viewvc/llvm-project?rev=274056&view=rev
Log:
[CMake] Adding USES_TERMINAL to a few additional custom targets

These are all long-running commands that should be in the ninja console job pool.

Modified:
    cfe/trunk/runtime/CMakeLists.txt

Modified: cfe/trunk/runtime/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/runtime/CMakeLists.txt?rev=274056&r1=274055&r2=274056&view=diff
==============================================================================
--- cfe/trunk/runtime/CMakeLists.txt (original)
+++ cfe/trunk/runtime/CMakeLists.txt Tue Jun 28 15:30:52 2016
@@ -102,7 +102,8 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND E
                     DEPENDS compiler-rt
                     COMMAND "${CMAKE_COMMAND}"
                              -DCMAKE_INSTALL_COMPONENT=compiler-rt
-                             -P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
+                             -P "${CMAKE_BINARY_DIR}/cmake_install.cmake"
+                    USES_TERMINAL)
 
   # Add top-level targets that build specific compiler-rt runtimes.
   set(COMPILER_RT_RUNTIMES asan builtins dfsan lsan msan profile tsan ubsan)
@@ -112,7 +113,7 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND E
       COMMAND ${build_runtime_cmd}
       DEPENDS compiler-rt-configure
       WORKING_DIRECTORY ${BINARY_DIR}
-      VERBATIM)
+      VERBATIM USES_TERMINAL)
   endforeach()
 
   if(LLVM_INCLUDE_TESTS)




More information about the cfe-commits mailing list