mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
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
This commit is contained in:
parent
6025d734a8
commit
5449852030
@ -6,4 +6,7 @@ add_llvm_library(LLVMAsmParser
|
||||
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${LLVM_MAIN_INCLUDE_DIR}/llvm/Analysis
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
@ -3,4 +3,7 @@ add_llvm_library(LLVMBitWriter
|
||||
BitcodeWriter.cpp
|
||||
BitcodeWriterPass.cpp
|
||||
ValueEnumerator.cpp
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
@ -9,6 +9,9 @@ add_llvm_library(LLVMExecutionEngine
|
||||
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
||||
add_subdirectory(Interpreter)
|
||||
|
@ -1,3 +1,6 @@
|
||||
add_llvm_library(LLVMMCJIT
|
||||
MCJIT.cpp
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
@ -6,4 +6,7 @@ add_llvm_library(LLVMOrcJIT
|
||||
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/Orc
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
@ -5,4 +5,7 @@ add_llvm_library(LLVMRuntimeDyld
|
||||
RuntimeDyldCOFF.cpp
|
||||
RuntimeDyldELF.cpp
|
||||
RuntimeDyldMachO.cpp
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
@ -3,4 +3,7 @@ add_llvm_library(LLVMIRReader
|
||||
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${LLVM_MAIN_INCLUDE_DIR}/llvm/IRReader
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
@ -3,4 +3,7 @@ add_llvm_library(LLVMLinker
|
||||
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${LLVM_MAIN_INCLUDE_DIR}/llvm/Linker
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
@ -18,4 +18,7 @@ add_llvm_library(LLVMObject
|
||||
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${LLVM_MAIN_INCLUDE_DIR}/llvm/Object
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
@ -11,4 +11,7 @@ add_llvm_library(LLVMProfileData
|
||||
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${LLVM_MAIN_INCLUDE_DIR}/llvm/ProfileData
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
@ -12,4 +12,7 @@ endif()
|
||||
|
||||
add_llvm_loadable_module( LLVMHello
|
||||
Hello.cpp
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
@ -46,3 +46,5 @@ set(ADTSources
|
||||
add_llvm_unittest(ADTTests
|
||||
${ADTSources}
|
||||
)
|
||||
|
||||
add_dependencies(ADTTests intrinsics_gen)
|
||||
|
Loading…
Reference in New Issue
Block a user