summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-06-16 00:44:12 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-06-16 00:44:12 +0000
commit51149d558953695f1fd9654496eddf38f0617677 (patch)
tree5da778b91a4bccc68e8e5e8083999bf5a4efa6c4 /llvm/lib/Bitcode
parentdfc29fba6035a66b4143f185ffc0ecbfeaca33e2 (diff)
downloadbcm5719-llvm-51149d558953695f1fd9654496eddf38f0617677.tar.gz
bcm5719-llvm-51149d558953695f1fd9654496eddf38f0617677.zip
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
Diffstat (limited to 'llvm/lib/Bitcode')
-rw-r--r--llvm/lib/Bitcode/Writer/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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
)
OpenPOWER on IntegriCloud