`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
12 files changed:
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/Analysis
+
+ DEPENDS
+ intrinsics_gen
)
BitcodeWriter.cpp
BitcodeWriterPass.cpp
ValueEnumerator.cpp
+
+ DEPENDS
+ intrinsics_gen
)
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine
+
+ DEPENDS
+ intrinsics_gen
)
add_subdirectory(Interpreter)
add_llvm_library(LLVMMCJIT
MCJIT.cpp
+
+ DEPENDS
+ intrinsics_gen
)
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/Orc
+
+ DEPENDS
+ intrinsics_gen
)
RuntimeDyldCOFF.cpp
RuntimeDyldELF.cpp
RuntimeDyldMachO.cpp
+
+ DEPENDS
+ intrinsics_gen
)
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/IRReader
+
+ DEPENDS
+ intrinsics_gen
)
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/Linker
+
+ DEPENDS
+ intrinsics_gen
)
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/Object
+
+ DEPENDS
+ intrinsics_gen
)
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/ProfileData
+
+ DEPENDS
+ intrinsics_gen
)
add_llvm_loadable_module( LLVMHello
Hello.cpp
+
+ DEPENDS
+ intrinsics_gen
)
add_llvm_unittest(ADTTests
${ADTSources}
)
+
+add_dependencies(ADTTests intrinsics_gen)