[polly] r284339 - [cmake] Add polly-isl-test dependency to lit tests.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 16 11:22:03 PDT 2016
Author: meinersbur
Date: Sun Oct 16 13:22:02 2016
New Revision: 284339
URL: http://llvm.org/viewvc/llvm-project?rev=284339&view=rev
Log:
[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.
Modified:
polly/trunk/test/CMakeLists.txt
Modified: polly/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CMakeLists.txt?rev=284339&r1=284338&r2=284339&view=diff
==============================================================================
--- polly/trunk/test/CMakeLists.txt (original)
+++ polly/trunk/test/CMakeLists.txt Sun Oct 16 13:22:02 2016
@@ -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 ()
More information about the llvm-commits
mailing list