[compiler-rt] r353796 - [CMake] Avoid internal dependencies in the runtimes build
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 11 20:13:58 PST 2019
Author: phosek
Date: Mon Feb 11 20:13:58 2019
New Revision: 353796
URL: http://llvm.org/viewvc/llvm-project?rev=353796&view=rev
Log:
[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.
Modified:
compiler-rt/trunk/test/CMakeLists.txt
Modified: compiler-rt/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/CMakeLists.txt?rev=353796&r1=353795&r2=353796&view=diff
==============================================================================
--- compiler-rt/trunk/test/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/CMakeLists.txt Mon Feb 11 20:13:58 2019
@@ -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
More information about the llvm-commits
mailing list