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 | 5449852030889d0e5cb5b350f9018efe1d147313 (patch) | |
tree | 52cdbe10e043ca9a7dcd0eb61aad6c86340b12ea /lib/Transforms/Hello | |
parent | 6025d734a827221eb1e27bda6aef99c7d47544bf (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239796 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Hello')
-rw-r--r-- | lib/Transforms/Hello/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Transforms/Hello/CMakeLists.txt b/lib/Transforms/Hello/CMakeLists.txt index 3851b35871f..e0b81907c7f 100644 --- a/lib/Transforms/Hello/CMakeLists.txt +++ b/lib/Transforms/Hello/CMakeLists.txt @@ -12,4 +12,7 @@ endif() add_llvm_loadable_module( LLVMHello Hello.cpp + + DEPENDS + intrinsics_gen ) |