From 51149d558953695f1fd9654496eddf38f0617677 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Tue, 16 Jun 2015 00:44:12 +0000 Subject: modules: Add explicit dependency on intrinsics_gen `LLVM_ENABLE_MODULES` builds sometimes fail because `Intrinsics.td` needs to regenerate `Instrinsics.h` before anyone can include anything from the LLVM_IR module. Represent the dependency explicitly to prevent that. llvm-svn: 239796 --- llvm/lib/Bitcode/Writer/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/lib/Bitcode') diff --git a/llvm/lib/Bitcode/Writer/CMakeLists.txt b/llvm/lib/Bitcode/Writer/CMakeLists.txt index f097b097c33..82dc6b24137 100644 --- a/llvm/lib/Bitcode/Writer/CMakeLists.txt +++ b/llvm/lib/Bitcode/Writer/CMakeLists.txt @@ -3,4 +3,7 @@ add_llvm_library(LLVMBitWriter BitcodeWriter.cpp BitcodeWriterPass.cpp ValueEnumerator.cpp + + DEPENDS + intrinsics_gen ) -- cgit v1.2.3