[llvm] r262428 - [CMake] Add convenience target llvm-test-depends to build test dependencies.
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 1 16:27:14 PST 2016
Author: cbieneman
Date: Tue Mar 1 18:27:14 2016
New Revision: 262428
URL: http://llvm.org/viewvc/llvm-project?rev=262428&view=rev
Log:
[CMake] Add convenience target llvm-test-depends to build test dependencies.
This is useful when paired with the distribution targets to build prerequisites for running tests.
Modified:
llvm/trunk/test/CMakeLists.txt
Modified: llvm/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CMakeLists.txt?rev=262428&r1=262427&r2=262428&view=diff
==============================================================================
--- llvm/trunk/test/CMakeLists.txt (original)
+++ llvm/trunk/test/CMakeLists.txt Tue Mar 1 18:27:14 2016
@@ -113,6 +113,8 @@ if(LLVM_BUILD_EXAMPLES)
)
endif()
+add_custom_target(llvm-test-depends DEPENDS ${LLVM_TEST_DEPENDS})
+
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
More information about the llvm-commits
mailing list