Summary: CompileOnDemandLayer.cpp uses function in these libraries, and builds with `-DSHARED_LIB=ON` fail without this. Reviewers: lhames Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D48995 llvm-svn: 336389
32 lines
553 B
CMake
32 lines
553 B
CMake
add_llvm_library(LLVMOrcJIT
|
|
CompileOnDemandLayer.cpp
|
|
Core.cpp
|
|
ExecutionUtils.cpp
|
|
IndirectionUtils.cpp
|
|
IRCompileLayer.cpp
|
|
IRTransformLayer.cpp
|
|
Legacy.cpp
|
|
Layer.cpp
|
|
LLJIT.cpp
|
|
NullResolver.cpp
|
|
ObjectTransformLayer.cpp
|
|
OrcABISupport.cpp
|
|
OrcCBindings.cpp
|
|
OrcError.cpp
|
|
OrcMCJITReplacement.cpp
|
|
RPCUtils.cpp
|
|
RTDyldObjectLinkingLayer.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/Orc
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
)
|
|
|
|
target_link_libraries(LLVMOrcJIT
|
|
PRIVATE
|
|
LLVMBitReader
|
|
LLVMBitWriter
|
|
)
|