[PATCH] D14513: [CMake] Add support for building the llvm test-suite as part of an LLVM build using clang and lld
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 9 13:40:02 PST 2015
beanz created this revision.
beanz added reviewers: samsonov, jroelofs, rengolin.
beanz added a subscriber: llvm-commits.
This patch adds a new CMake module for working with ExternalProjects. This wrapper for ExternalProject supports using just-built tools and can hook up dependencies properly so that projects get cleared out.
The example usage here is for the llvm test-suite. In this example, the test-suite is setup as dependent on clang and lld if they are in-tree. If the clang or lld binaries change the test-suite is re-configured, cleaned, and rebuilt.
This cleanup and abstraction wrapping ExternalProject can be extended and applied to other runtime libraries like compiler-rt and libcxx.
http://reviews.llvm.org/D14513
Files:
CMakeLists.txt
cmake/modules/LLVMExternalProjectUtils.cmake
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14513.39747.patch
Type: text/x-patch
Size: 7083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151109/27f362e2/attachment.bin>
More information about the llvm-commits
mailing list