[polly] r302142 - [CMake] Remove POLLY_TEST_DIRECTORIES.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Thu May 4 05:21:26 PDT 2017
Author: meinersbur
Date: Thu May 4 07:21:25 2017
New Revision: 302142
URL: http://llvm.org/viewvc/llvm-project?rev=302142&view=rev
Log:
[CMake] Remove POLLY_TEST_DIRECTORIES.
The test subdirectory POLLY_TEST_DIRECTORIES was heavily outdated and
only used in out-of-LLVM-tree builds
(to generate polly-test-${subdir} targets).
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=302142&r1=302141&r2=302142&view=diff
==============================================================================
--- polly/trunk/test/CMakeLists.txt (original)
+++ polly/trunk/test/CMakeLists.txt Thu May 4 07:21:25 2017
@@ -1,13 +1,3 @@
-set(POLLY_TEST_DIRECTORIES
- "AffineIterator"
- "ScopInfo"
- "ScheduleOptimizer"
- "CodeGen"
- "OpenMP"
- "polybench"
- "vect")
-
-
set(POLLY_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/..")
set(POLLY_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/..")
set(LLVM_SHLIBEXT "${CMAKE_SHARED_MODULE_SUFFIX}")
@@ -60,18 +50,6 @@ if (NOT DEFINED LLVM_MAIN_SRC_DIR)
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg)
- foreach(testdir ${POLLY_TEST_DIRECTORIES})
- add_custom_target(polly-test-${testdir}
- COMMAND ${LLVM_LIT}
- --param polly_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
- --param build_config=${CMAKE_CFG_INTDIR}
- -sv ${POLLY_TEST_EXTRA_ARGS}
- ${CMAKE_CURRENT_BINARY_DIR}/${testdir}
- DEPENDS ${POLLY_TEST_DEPS}
- COMMENT "Running Polly regression tests in ${testdir}")
- set_target_properties(polly-test-${testdir} PROPERTIES FOLDER "Polly")
- endforeach()
-
add_custom_target(check-polly-tests
COMMAND ${LLVM_LIT}
--param polly_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
More information about the llvm-commits
mailing list