]> granicus.if.org Git - clang/commit
[CMake] Propagate top-level targets for compiler-rt runtimes and test-suites
authorAlexey Samsonov <samsonov@google.com>
Fri, 21 Mar 2014 13:09:25 +0000 (13:09 +0000)
committerAlexey Samsonov <samsonov@google.com>
Fri, 21 Mar 2014 13:09:25 +0000 (13:09 +0000)
commitfb9697c3c78c36f46c2e4aba8fdf79036b6ed230
treec63c4dc1a7c200e65c94f532ea0e1785580120ca
parent59aca272388cc1b98e6e0545cad4a0d4ddf9476a
[CMake] Propagate top-level targets for compiler-rt runtimes and test-suites
from (external) compiler-rt build tree into LLVM/Clang build tree in
LLVM_BUILD_EXTERNAL_COMPILER_RT mode.

For instance, running
  make asan -j12
in LLVM/Clang build tree will now build Clang, use it to configure
compiler-rt build tree, and invoke "make asan -j12" there. ASan runtime will
be built in the proper location, where Clang driver expects to find it.

Running
  make check-asan
will build Clang, use it to configure compiler-rt build tree, build everything
there, and then run "make check-asan" in compiler-rt build tree using just-built
Clang and ASan runtime.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204463 91177308-0d34-0410-b5e6-96231b3b80d8
runtime/CMakeLists.txt