]> granicus.if.org Git - llvm/commitdiff
[CMake] llc depends on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 02:12:03 +0000 (02:12 +0000)
committerChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 02:12:03 +0000 (02:12 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287422 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llc/CMakeLists.txt

index 136cf4be1c12beee95446214fb28099415555a28..5a98122a233e745f410e0027ecae3306f3c486d0 100644 (file)
@@ -19,5 +19,8 @@ set(LLVM_NO_DEAD_STRIP 1)
 
 add_llvm_tool(llc
   llc.cpp
+
+  DEPENDS
+  intrinsics_gen
   )
 export_executable_symbols(llc)