mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
Revert "[build] normalize components dependencies"
This reverts commit c6ef6e1690d517b3401ea06b1fe46871eb67434d. Basically, publicly linked libraries have a different semantic than components, which link libraries privately. Differential Revision: https://reviews.llvm.org/D91461
This commit is contained in:
parent
4874abfaf5
commit
be3f7186d3
@ -22,6 +22,10 @@ add_llvm_component_library(LLVMExecutionEngine
|
|||||||
Target
|
Target
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(BUILD_SHARED_LIBS)
|
||||||
|
target_link_libraries(LLVMExecutionEngine PUBLIC LLVMRuntimeDyld)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(Interpreter)
|
add_subdirectory(Interpreter)
|
||||||
add_subdirectory(JITLink)
|
add_subdirectory(JITLink)
|
||||||
add_subdirectory(MCJIT)
|
add_subdirectory(MCJIT)
|
||||||
|
@ -24,3 +24,10 @@ add_llvm_component_library(LLVMJITLink
|
|||||||
OrcTargetProcess
|
OrcTargetProcess
|
||||||
Support
|
Support
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_link_libraries(LLVMJITLink
|
||||||
|
PRIVATE
|
||||||
|
LLVMObject
|
||||||
|
LLVMOrcTargetProcess
|
||||||
|
LLVMSupport
|
||||||
|
)
|
||||||
|
@ -32,9 +32,6 @@ add_llvm_component_library(LLVMOrcJIT
|
|||||||
intrinsics_gen
|
intrinsics_gen
|
||||||
|
|
||||||
LINK_COMPONENTS
|
LINK_COMPONENTS
|
||||||
Analysis
|
|
||||||
BitReader
|
|
||||||
BitWriter
|
|
||||||
Core
|
Core
|
||||||
ExecutionEngine
|
ExecutionEngine
|
||||||
JITLink
|
JITLink
|
||||||
@ -51,3 +48,11 @@ add_llvm_component_library(LLVMOrcJIT
|
|||||||
|
|
||||||
add_subdirectory(Shared)
|
add_subdirectory(Shared)
|
||||||
add_subdirectory(TargetProcess)
|
add_subdirectory(TargetProcess)
|
||||||
|
|
||||||
|
target_link_libraries(LLVMOrcJIT
|
||||||
|
PRIVATE
|
||||||
|
LLVMAnalysis
|
||||||
|
LLVMBitReader
|
||||||
|
LLVMBitWriter
|
||||||
|
LLVMPasses
|
||||||
|
)
|
||||||
|
@ -3,7 +3,6 @@ add_llvm_component_library(LLVMFileCheck
|
|||||||
|
|
||||||
ADDITIONAL_HEADER_DIRS
|
ADDITIONAL_HEADER_DIRS
|
||||||
"${LLVM_MAIN_INCLUDE_DIR}/llvm/FileCheck"
|
"${LLVM_MAIN_INCLUDE_DIR}/llvm/FileCheck"
|
||||||
|
|
||||||
LINK_COMPONENTS
|
|
||||||
Support
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_link_libraries(LLVMFileCheck LLVMSupport)
|
||||||
|
@ -12,7 +12,7 @@ add_llvm_component_library(LLVMFrontendOpenACC
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
acc_gen
|
acc_gen
|
||||||
acc_cpp
|
acc_cpp
|
||||||
|
|
||||||
LINK_COMPONENTS
|
|
||||||
Support
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_link_libraries(LLVMFrontendOpenACC LLVMSupport)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user