[llvm] r287398 - [CMake] llvm-lto depends on intrinsics_gen

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 15:20:35 PST 2016


Author: cbieneman
Date: Fri Nov 18 17:20:35 2016
New Revision: 287398

URL: http://llvm.org/viewvc/llvm-project?rev=287398&view=rev
Log:
[CMake] llvm-lto depends on intrinsics_gen

llvm-lto.cpp has the following include chain:

llvm/Bitcode/BitcodeReader.h
llvm/IR/ModuleSummaryIndex.h
llvm/IR/Module.h
llvm/IR/Function.h
llvm/IR/Argument.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means llvm-lto needs to depend on intrinsics_gen.

Modified:
    llvm/trunk/tools/llvm-lto/CMakeLists.txt

Modified: llvm/trunk/tools/llvm-lto/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-lto/CMakeLists.txt?rev=287398&r1=287397&r2=287398&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-lto/CMakeLists.txt (original)
+++ llvm/trunk/tools/llvm-lto/CMakeLists.txt Fri Nov 18 17:20:35 2016
@@ -13,5 +13,8 @@ set(LLVM_LINK_COMPONENTS
 
 add_llvm_tool(llvm-lto
   llvm-lto.cpp
+
+  DEPENDS
+  intrinsics_gen
   )
 




More information about the llvm-commits mailing list