diff options
author | Michael Kruse <llvm@meinersbur.de> | 2016-10-16 18:22:02 +0000 |
---|---|---|
committer | Michael Kruse <llvm@meinersbur.de> | 2016-10-16 18:22:02 +0000 |
commit | 8dee3427f74ecae16b710ecf7d6137b51107b50e (patch) | |
tree | 49893b7f37015f83d848695d5d5fa545e4b33c3c | |
parent | f0c06900ed2ab342c74f7e2c5838d3f716608ba4 (diff) | |
download | bcm5719-llvm-8dee3427f74ecae16b710ecf7d6137b51107b50e.tar.gz bcm5719-llvm-8dee3427f74ecae16b710ecf7d6137b51107b50e.zip |
[cmake] Add polly-isl-test dependency to lit tests.
lit recursively iterates through the test subdirectories and finds the ISL
unittest. For this test to work, the polly-isl-test executable needs to be
compiled.
Add the polly-isl-test dependency to POLLY_TEST_DEPS. This makes check-polly and
check-polly-tests work from a fresh build directory.
llvm-svn: 284339
-rw-r--r-- | polly/test/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/test/CMakeLists.txt b/polly/test/CMakeLists.txt index 460c87093c5..f905b17018a 100644 --- a/polly/test/CMakeLists.txt +++ b/polly/test/CMakeLists.txt @@ -20,7 +20,7 @@ if (NOT DEFINED LLVM_MAIN_SRC_DIR) # We are building polly out of tree, adjust the settings. # FIXME: FileCheck is not available in llvm install directory at the moment. set(LLVM_LIT ${LLVM_INSTALL_ROOT}/bin/llvm-lit) - set(POLLY_TEST_DEPS LLVMPolly) + set(POLLY_TEST_DEPS LLVMPolly polly-isl-test) if (POLLY_GTEST_AVAIL) list(APPEND POLLY_TEST_DEPS PollyUnitTests) endif () |