[MLIR] Fixes for BUILD_SHARED_LIBS=on

Differential Revision: https://reviews.llvm.org/D75308
This commit is contained in:
Stephen Neuendorffer 2020-02-27 14:53:12 -08:00
parent 1246e86716
commit c767dc9394
8 changed files with 21 additions and 3 deletions

View File

@ -35,4 +35,5 @@ target_link_libraries(toyc-ch5
MLIRIR
MLIRParser
MLIRPass
MLIRSupport
MLIRTransforms)

View File

@ -41,6 +41,7 @@ target_link_libraries(toyc-ch6
MLIRLLVMIR
MLIRParser
MLIRPass
MLIRSupport
MLIRTargetLLVMIR
MLIRTransforms
LLVMOrcJIT

View File

@ -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
)

View File

@ -13,4 +13,5 @@ target_link_libraries(MLIRGPUtoVulkanTransforms
MLIRSupport
MLIRTransforms
MLIRTranslation
LLVMSupport
)

View File

@ -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
)

View File

@ -12,6 +12,7 @@ add_mlir_dialect_library(MLIRVectorOps
MLIRVectorTransformPatternsIncGen
LINK_LIBS
MLIREDSC
MLIRIR
MLIRStandardOps
MLIRAffineOps

View File

@ -8,6 +8,7 @@ target_link_libraries(mlir-sdbm-api-test
PRIVATE
MLIRIR
MLIRSDBM
MLIRSupport
LLVMCore
LLVMSupport
)

View File

@ -16,4 +16,7 @@ target_link_libraries(mlir-cpu-runner PRIVATE
MLIRSupport
LLVMCore
LLVMSupport
)
LLVMX86CodeGen
LLVMX86Desc
LLVMX86Info
)