[llvm] r287422 - [CMake] llc depends on intrinsics_gen

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 18:12:03 PST 2016


Author: cbieneman
Date: Fri Nov 18 20:12:03 2016
New Revision: 287422

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

llc.cpp has the following include chain:

llvm/Analysis/TargetLibraryInfo.h
llvm/IR/Function.h
llvm/IR/Argument.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means llc needs to depend on intrinsics_gen.

Modified:
    llvm/trunk/tools/llc/CMakeLists.txt

Modified: llvm/trunk/tools/llc/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llc/CMakeLists.txt?rev=287422&r1=287421&r2=287422&view=diff
==============================================================================
--- llvm/trunk/tools/llc/CMakeLists.txt (original)
+++ llvm/trunk/tools/llc/CMakeLists.txt Fri Nov 18 20:12:03 2016
@@ -19,5 +19,8 @@ set(LLVM_NO_DEAD_STRIP 1)
 
 add_llvm_tool(llc
   llc.cpp
+
+  DEPENDS
+  intrinsics_gen
   )
 export_executable_symbols(llc)




More information about the llvm-commits mailing list