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/IRReader | |
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/IRReader')
-rw-r--r-- | llvm/lib/IRReader/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/IRReader/CMakeLists.txt b/llvm/lib/IRReader/CMakeLists.txt index 2c0e61b65fb..87ea88039ef 100644 --- a/llvm/lib/IRReader/CMakeLists.txt +++ b/llvm/lib/IRReader/CMakeLists.txt @@ -3,4 +3,7 @@ add_llvm_library(LLVMIRReader ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/IRReader + + DEPENDS + intrinsics_gen ) |