Make llvm-go test dependency optional.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220503 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Peter Collingbourne 2014-10-23 19:51:40 +00:00
parent e37b00e50b
commit 1ea06a0ead

View File

@ -32,7 +32,6 @@ set(LLVM_TEST_DEPENDS
llvm-dis
llvm-dwarfdump
llvm-extract
llvm-go
llvm-link
llvm-lto
llvm-mc
@ -65,6 +64,10 @@ if(TARGET LLVMgold)
set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} LLVMgold)
endif()
if(TARGET llvm-go)
set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} llvm-go)
endif()
add_lit_testsuite(check-llvm "Running the LLVM regression tests"
${CMAKE_CURRENT_BINARY_DIR}
PARAMS llvm_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg