diff --git a/mlir/lib/Conversion/LinalgToStandard/CMakeLists.txt b/mlir/lib/Conversion/LinalgToStandard/CMakeLists.txt --- a/mlir/lib/Conversion/LinalgToStandard/CMakeLists.txt +++ b/mlir/lib/Conversion/LinalgToStandard/CMakeLists.txt @@ -7,6 +7,9 @@ DEPENDS MLIRConversionPassIncGen + LINK_COMPONENTS + Core + LINK_LIBS PUBLIC MLIREDSC MLIRIR @@ -14,6 +17,4 @@ MLIRPass MLIRSCF MLIRTransforms - LLVMCore - LLVMSupport ) diff --git a/mlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt b/mlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt --- a/mlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt +++ b/mlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt @@ -12,7 +12,5 @@ MLIRIR MLIRPass MLIRStandardOps - MLIRSupport MLIRTransforms - LLVMSupport ) diff --git a/mlir/lib/ExecutionEngine/CMakeLists.txt b/mlir/lib/ExecutionEngine/CMakeLists.txt --- a/mlir/lib/ExecutionEngine/CMakeLists.txt +++ b/mlir/lib/ExecutionEngine/CMakeLists.txt @@ -55,7 +55,6 @@ Core OrcJIT JITLink - Support LINK_LIBS PUBLIC MLIRExecutionEngine diff --git a/mlir/lib/IR/CMakeLists.txt b/mlir/lib/IR/CMakeLists.txt --- a/mlir/lib/IR/CMakeLists.txt +++ b/mlir/lib/IR/CMakeLists.txt @@ -36,5 +36,4 @@ LINK_LIBS PUBLIC MLIRSupport - LLVMSupport ) diff --git a/mlir/lib/Support/CMakeLists.txt b/mlir/lib/Support/CMakeLists.txt --- a/mlir/lib/Support/CMakeLists.txt +++ b/mlir/lib/Support/CMakeLists.txt @@ -13,9 +13,6 @@ ADDITIONAL_HEADER_DIRS ${MLIR_MAIN_INCLUDE_DIR}/mlir/Support - LINK_COMPONENTS - Support - LINK_LIBS PUBLIC ${LLVM_PTHREAD_LIB}) @@ -25,9 +22,6 @@ ADDITIONAL_HEADER_DIRS ${MLIR_MAIN_INCLUDE_DIR}/mlir/Support - LINK_COMPONENTS - Support - LINK_LIBS PUBLIC MLIRPass MLIRParser