]> granicus.if.org Git - llvm/commitdiff
[CMake] llvm-stress depends on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 02:25:54 +0000 (02:25 +0000)
committerChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 02:25:54 +0000 (02:25 +0000)
llvm-stress.cpp has the following include chain:

llvm/Analysis/CallGraphSCCPass.h
llvm/Analysis/CallGraph.h
llvm/IR/CallSite.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means llvm-stress needs to depend on intrinsics_gen.

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

tools/llvm-stress/CMakeLists.txt

index 8f2b30e4163bd4d0bd00b9b412cd90a935d44496..139ab9e0d8f967de4381d1cafd84401644e49411 100644 (file)
@@ -6,5 +6,8 @@ set(LLVM_LINK_COMPONENTS
 
 add_llvm_tool(llvm-stress
   llvm-stress.cpp
+
+  DEPENDS
+  intrinsics_gen
   )
 export_executable_symbols(llvm-stress)