[llvm] r262428 - [CMake] Add convenience target llvm-test-depends to build test dependencies.
Sean Silva via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 1 17:35:38 PST 2016
On Tue, Mar 1, 2016 at 4:27 PM, Chris Bieneman via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> 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.
>
Yes! I've been wanting this!
>
> 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
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160301/a1b23ead/attachment-0001.html>
More information about the llvm-commits
mailing list