[llvm] r247592 - [CMake] Add llvm-ar subdirectory explicitly.

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 11:36:40 PDT 2015


Author: cbieneman
Date: Mon Sep 14 13:36:40 2015
New Revision: 247592

URL: http://llvm.org/viewvc/llvm-project?rev=247592&view=rev
Log:
[CMake] Add llvm-ar subdirectory explicitly.

This is required because ExternalProject_Add requires all targets specified in the DEPENDS argument must exist before calling ExternalProject_Add.

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=247592&r1=247591&r2=247592&view=diff
==============================================================================
--- llvm/trunk/tools/CMakeLists.txt (original)
+++ llvm/trunk/tools/CMakeLists.txt Mon Sep 14 13:36:40 2015
@@ -30,9 +30,10 @@ if(CYGWIN OR NOT LLVM_ENABLE_PIC)
   set(LLVM_TOOL_LLVM_LTO_BUILD Off)
 endif()
 
-# Add LTO before clang, ExternalProject requires targets specified in DEPENDS
-# to exist before the call to ExternalProject_Add
+# Add LTO and llvm-ar 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)
 
 # Projects supported via LLVM_EXTERNAL_*_SOURCE_DIR need to be explicitly
 # specified.




More information about the llvm-commits mailing list