summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-11-19 02:20:59 +0000
committerChris Bieneman <beanz@apple.com>2016-11-19 02:20:59 +0000
commitd9d28a74b59f182c10e3971f1d5ff9387e1d88cb (patch)
tree42b9702c1f2272e166f5207eefe6e665f3fef830
parenta3acfaa5cda39ee04454d5f8d3c4110073727d88 (diff)
downloadbcm5719-llvm-d9d28a74b59f182c10e3971f1d5ff9387e1d88cb.tar.gz
bcm5719-llvm-d9d28a74b59f182c10e3971f1d5ff9387e1d88cb.zip
[CMake] bugpoint-passes depends on intrinsics_gen
TestPasses.cpp has the following include chain: llvm/IR/InstVisitor.h llvm/IR/CallSite.h llvm/IR/Attributes.h llvm/IR/Attributes.gen This means bugpoint-passes needs to depend on intrinsics_gen. llvm-svn: 287425
-rw-r--r--llvm/tools/bugpoint-passes/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint-passes/CMakeLists.txt b/llvm/tools/bugpoint-passes/CMakeLists.txt
index de68bb5d31d..e32b0a3aa34 100644
--- a/llvm/tools/bugpoint-passes/CMakeLists.txt
+++ b/llvm/tools/bugpoint-passes/CMakeLists.txt
@@ -16,6 +16,8 @@ endif()
add_llvm_loadable_module( BugpointPasses
TestPasses.cpp
- )
-add_dependencies(BugpointPasses bugpoint)
+ DEPENDS
+ intrinsics_gen
+ bugpoint
+ )
OpenPOWER on IntegriCloud