[LLVMdev] [PATCH] cmake: BugpointPasses depends on intrinsics_gen

Johannes Obermayr johannesobermayr at gmx.de
Thu Aug 29 08:03:36 PDT 2013


Fixes:
[  0%] In file included from /home/abuild/rpmbuild/BUILD/llvm/include/llvm/IR/IntrinsicInst.h:30:0,
                 from /home/abuild/rpmbuild/BUILD/llvm/include/llvm/InstVisitor.h:16,
                 from /home/abuild/rpmbuild/BUILD/llvm/tools/bugpoint-passes/TestPasses.cpp:19:
/home/abuild/rpmbuild/BUILD/llvm/include/llvm/IR/Intrinsics.h:41:34: fatal error: llvm/IR/Intrinsics.gen: No such file or directory
---
 tools/bugpoint-passes/CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tools/bugpoint-passes/CMakeLists.txt b/tools/bugpoint-passes/CMakeLists.txt
index 05f190a..4bf57ce 100644
--- a/tools/bugpoint-passes/CMakeLists.txt
+++ b/tools/bugpoint-passes/CMakeLists.txt
@@ -6,4 +6,7 @@ add_llvm_loadable_module( BugpointPasses
   TestPasses.cpp
   )
 
-add_dependencies(BugpointPasses bugpoint)
+add_dependencies(BugpointPasses
+  bugpoint
+  intrinsics_gen
+  )
-- 
1.8.1.4




More information about the llvm-dev mailing list