forked from OSchip/llvm-project
[MLIR] Fixes for BUILD_SHARED_LIBS=on
Differential Revision: https://reviews.llvm.org/D75308
This commit is contained in:
parent
1246e86716
commit
c767dc9394
|
@ -35,4 +35,5 @@ target_link_libraries(toyc-ch5
|
|||
MLIRIR
|
||||
MLIRParser
|
||||
MLIRPass
|
||||
MLIRSupport
|
||||
MLIRTransforms)
|
||||
|
|
|
@ -41,6 +41,7 @@ target_link_libraries(toyc-ch6
|
|||
MLIRLLVMIR
|
||||
MLIRParser
|
||||
MLIRPass
|
||||
MLIRSupport
|
||||
MLIRTargetLLVMIR
|
||||
MLIRTransforms
|
||||
LLVMOrcJIT
|
||||
|
|
|
@ -12,13 +12,19 @@ endif()
|
|||
|
||||
add_mlir_conversion_library(MLIRGPUtoCUDATransforms
|
||||
${SOURCES}
|
||||
|
||||
LINK_LIBS
|
||||
LLVMNVPTXCodeGen
|
||||
LLVMNVPTXDesc
|
||||
LLVMNVPTXInfo
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
MLIRGPU
|
||||
MLIRIR
|
||||
MLIRLLVMIR
|
||||
MLIRNVVMIR
|
||||
MLIRPass
|
||||
MLIRSupport
|
||||
MLIRTargetNVVMIR
|
||||
)
|
||||
|
|
|
@ -13,4 +13,5 @@ target_link_libraries(MLIRGPUtoVulkanTransforms
|
|||
MLIRSupport
|
||||
MLIRTransforms
|
||||
MLIRTranslation
|
||||
LLVMSupport
|
||||
)
|
||||
|
|
|
@ -5,9 +5,13 @@ add_mlir_dialect_library(MLIRLoopOpsTransforms
|
|||
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/LoopOps
|
||||
)
|
||||
|
||||
target_link_libraries(MLIRLoopOpsTransforms
|
||||
LINK_LIBS
|
||||
MLIRAffineOps
|
||||
MLIRIR
|
||||
MLIRPass
|
||||
MLIRLoopOps
|
||||
MLIRStandardOps
|
||||
MLIRSupport
|
||||
LLVMSupport
|
||||
)
|
||||
|
|
|
@ -12,6 +12,7 @@ add_mlir_dialect_library(MLIRVectorOps
|
|||
MLIRVectorTransformPatternsIncGen
|
||||
|
||||
LINK_LIBS
|
||||
MLIREDSC
|
||||
MLIRIR
|
||||
MLIRStandardOps
|
||||
MLIRAffineOps
|
||||
|
|
|
@ -8,6 +8,7 @@ target_link_libraries(mlir-sdbm-api-test
|
|||
PRIVATE
|
||||
MLIRIR
|
||||
MLIRSDBM
|
||||
MLIRSupport
|
||||
LLVMCore
|
||||
LLVMSupport
|
||||
)
|
||||
|
|
|
@ -16,4 +16,7 @@ target_link_libraries(mlir-cpu-runner PRIVATE
|
|||
MLIRSupport
|
||||
LLVMCore
|
||||
LLVMSupport
|
||||
)
|
||||
LLVMX86CodeGen
|
||||
LLVMX86Desc
|
||||
LLVMX86Info
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue