[llvm] r249202 - [CMake] We need to explicitly add llvm-config before clang so that LLVM_BUILD_EXTERNAL_COMPILER_RT can depend on llvm-config.
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 2 15:28:49 PDT 2015
Author: cbieneman
Date: Fri Oct 2 17:28:48 2015
New Revision: 249202
URL: http://llvm.org/viewvc/llvm-project?rev=249202&view=rev
Log:
[CMake] We need to explicitly add llvm-config before clang so that LLVM_BUILD_EXTERNAL_COMPILER_RT can depend on llvm-config.
This patch is a required stepping stone to fix PR14109.
Modified:
llvm/trunk/tools/CMakeLists.txt
Modified: llvm/trunk/tools/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/CMakeLists.txt?rev=249202&r1=249201&r2=249202&view=diff
==============================================================================
--- llvm/trunk/tools/CMakeLists.txt (original)
+++ llvm/trunk/tools/CMakeLists.txt Fri Oct 2 17:28:48 2015
@@ -30,10 +30,11 @@ if(CYGWIN OR NOT LLVM_ENABLE_PIC)
set(LLVM_TOOL_LLVM_LTO_BUILD Off)
endif()
-# Add LTO and llvm-ar before clang, ExternalProject requires targets specified
-# in DEPENDS to exist before the call to ExternalProject_Add.
+# Add LTO, llvm-ar, and llvm-config before clang, ExternalProject requires
+# targets specified in DEPENDS to exist before the call to ExternalProject_Add.
add_llvm_tool_subdirectory(lto)
add_llvm_tool_subdirectory(llvm-ar)
+add_llvm_tool_subdirectory(llvm-config)
# Projects supported via LLVM_EXTERNAL_*_SOURCE_DIR need to be explicitly
# specified.
More information about the llvm-commits
mailing list