mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-24 09:29:42 +00:00
`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
29 lines
565 B
CMake
29 lines
565 B
CMake
|
|
|
|
add_llvm_library(LLVMExecutionEngine
|
|
ExecutionEngine.cpp
|
|
ExecutionEngineBindings.cpp
|
|
GDBRegistrationListener.cpp
|
|
SectionMemoryManager.cpp
|
|
TargetSelect.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
)
|
|
|
|
add_subdirectory(Interpreter)
|
|
add_subdirectory(MCJIT)
|
|
add_subdirectory(Orc)
|
|
add_subdirectory(RuntimeDyld)
|
|
|
|
if( LLVM_USE_OPROFILE )
|
|
add_subdirectory(OProfileJIT)
|
|
endif( LLVM_USE_OPROFILE )
|
|
|
|
if( LLVM_USE_INTEL_JITEVENTS )
|
|
add_subdirectory(IntelJITEvents)
|
|
endif( LLVM_USE_INTEL_JITEVENTS )
|