diff options
author | Petr Hosek <phosek@chromium.org> | 2019-02-12 04:13:58 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2019-02-12 04:13:58 +0000 |
commit | eb16835e506066cef1207ff6a5b438f2845254b4 (patch) | |
tree | 117c6073d3ea8407ae2f2ac3776d0241053e518a | |
parent | a098df1569900e6c3498ce9e9002db7374a284e6 (diff) | |
download | compiler-rt-eb16835e506066cef1207ff6a5b438f2845254b4.tar.gz |
[CMake] Avoid internal dependencies in the runtimes build
When performing runtimes build, dependencies like clang and
clang-headers aren't available. This was accidentally omitted in D57992.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@353796 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 7070fb789..c9d835fef 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -17,7 +17,7 @@ endif() # When ANDROID, we build tests with the host compiler (i.e. CMAKE_C_COMPILER), # and run tests with tools from the host toolchain. if(NOT ANDROID) - if(NOT COMPILER_RT_STANDALONE_BUILD) + if(NOT COMPILER_RT_STANDALONE_BUILD AND NOT RUNTIMES_BUILD) # Use LLVM utils and Clang from the same build tree. list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS clang clang-headers FileCheck count not llvm-config llvm-nm llvm-objdump |