[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
This commit is contained in:
Andrew Wilkins 2016-03-30 00:29:33 +00:00
parent 82ee942a8c
commit b94480376a
1 changed files with 1 additions and 0 deletions

View File

@ -247,6 +247,7 @@ install(DIRECTORY ${LLGO_LIBRARY_DIR}/go
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