[llgo] add USES_TERMINAL option to check-libgo
Summary:
The check-libgo target runs "make check" in the
libgo package, which can take a long time on
slower machines. To prevent buildbot failures
due to timeout, we can use Ninja's console pool
for this target.
Reviewers: pcc
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D9495
llvm-svn: 264815
GitOrigin-RevId: b94480376a90d17ae96c43e9158faec285d4e4b6
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2fcef50..c42eb4b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -247,6 +247,7 @@
add_custom_target(check-libgo
COMMAND make -C ${CMAKE_CURRENT_BINARY_DIR}/libgo -j${PROCESSOR_COUNT} check
DEPENDS libgo
+ ${cmake_3_2_USES_TERMINAL}
COMMENT "Running libgo tests")
add_custom_target(check-llgo-bootstrap