summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2019-02-12 04:13:58 +0000
committerPetr Hosek <phosek@chromium.org>2019-02-12 04:13:58 +0000
commit61b513351c4406efbb87e2bad08d02279b80ab31 (patch)
tree34edc0613fa5c51da7aabb21c01145127b47926c /compiler-rt/test
parent70355ace3f075553043f6715390891633afc604e (diff)
downloadbcm5719-llvm-61b513351c4406efbb87e2bad08d02279b80ab31.tar.gz
bcm5719-llvm-61b513351c4406efbb87e2bad08d02279b80ab31.zip
[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. llvm-svn: 353796
Diffstat (limited to 'compiler-rt/test')
-rw-r--r--compiler-rt/test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/CMakeLists.txt b/compiler-rt/test/CMakeLists.txt
index 7070fb78952..c9d835feff2 100644
--- a/compiler-rt/test/CMakeLists.txt
+++ b/compiler-rt/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
OpenPOWER on IntegriCloud