forked from OSchip/llvm-project
[CMake] Fix r307650: Readd missing dependency.
The commit erroneously removed the dependency of the Polly tests on things like opt and FileCheck. Add that dependency back. llvm-svn: 308512
This commit is contained in:
parent
ac01994db9
commit
17b1ecfdc5
|
@ -28,14 +28,15 @@ if(NOT LLVM_MAIN_SRC_DIR)
|
|||
if ("${POLLY_TEST_EXTRA_PATHS}" STREQUAL "${LLVM_TOOLS_BINARY_DIR}")
|
||||
set(POLLY_TEST_EXTRA_PATHS "")
|
||||
endif()
|
||||
set(POLLY_TEST_DEPS LLVMPolly)
|
||||
else ()
|
||||
set(LLVM_OPT "${LLVM_TOOLS_BINARY_DIR}/opt")
|
||||
set(LLVM_FILECHECK "${LLVM_TOOLS_BINARY_DIR}/FileCheck")
|
||||
set(LLVM_NOT "${LLVM_TOOLS_BINARY_DIR}/not")
|
||||
set(POLLY_TEST_EXTRA_PATHS "")
|
||||
set(POLLY_TEST_DEPS llvm-config opt LLVMPolly FileCheck not)
|
||||
endif()
|
||||
|
||||
set(POLLY_TEST_DEPS LLVMPolly)
|
||||
if (POLLY_BUNDLED_ISL)
|
||||
list(APPEND POLLY_TEST_DEPS polly-isl-test)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue