diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-06-16 00:44:12 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-06-16 00:44:12 +0000 |
commit | 51149d558953695f1fd9654496eddf38f0617677 (patch) | |
tree | 5da778b91a4bccc68e8e5e8083999bf5a4efa6c4 /llvm/lib/Bitcode | |
parent | dfc29fba6035a66b4143f185ffc0ecbfeaca33e2 (diff) | |
download | bcm5719-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.txt | 3 |
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 ) |