]> granicus.if.org Git - clang/commitdiff
[CMake] Adding USES_TERMINAL to a few additional custom targets
authorChris Bieneman <beanz@apple.com>
Tue, 28 Jun 2016 20:30:52 +0000 (20:30 +0000)
committerChris Bieneman <beanz@apple.com>
Tue, 28 Jun 2016 20:30:52 +0000 (20:30 +0000)
These are all long-running commands that should be in the ninja console job pool.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274056 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/CMakeLists.txt

index 2f8056efcd5ffcefaa510a61349c39b231a61d4e..814857f49c4d20eecde3e2a28b541f778fc34d86 100644 (file)
@@ -102,7 +102,8 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
                     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 EXISTS ${COMPILER_RT_SRC_ROOT}/)
       COMMAND ${build_runtime_cmd}
       DEPENDS compiler-rt-configure
       WORKING_DIRECTORY ${BINARY_DIR}
-      VERBATIM)
+      VERBATIM USES_TERMINAL)
   endforeach()
 
   if(LLVM_INCLUDE_TESTS)