[Mlir-commits] [mlir] 29c6721 - Revert "[MLIR] Fixes for BUILD_SHARED_LIBS=on"
Stephen Neuendorffer
llvmlistbot at llvm.org
Fri Feb 28 12:17:48 PST 2020
Author: Stephen Neuendorffer
Date: 2020-02-28T12:17:39-08:00
New Revision: 29c6721be24de197275679747033b95ce69d6a21
URL: https://github.com/llvm/llvm-project/commit/29c6721be24de197275679747033b95ce69d6a21
DIFF: https://github.com/llvm/llvm-project/commit/29c6721be24de197275679747033b95ce69d6a21.diff
LOG: Revert "[MLIR] Fixes for BUILD_SHARED_LIBS=on"
This reverts commit c767dc9394b4cca26c3eb40f1270092594e539c2.
Added:
Modified:
mlir/examples/toy/Ch5/CMakeLists.txt
mlir/examples/toy/Ch6/CMakeLists.txt
mlir/lib/Conversion/GPUToCUDA/CMakeLists.txt
mlir/lib/Conversion/GPUToVulkan/CMakeLists.txt
mlir/lib/Dialect/LoopOps/Transforms/CMakeLists.txt
mlir/lib/Dialect/VectorOps/CMakeLists.txt
mlir/test/SDBM/CMakeLists.txt
mlir/tools/mlir-cpu-runner/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/examples/toy/Ch5/CMakeLists.txt b/mlir/examples/toy/Ch5/CMakeLists.txt
index c5f5def5bf00..6b9ded359f66 100644
--- a/mlir/examples/toy/Ch5/CMakeLists.txt
+++ b/mlir/examples/toy/Ch5/CMakeLists.txt
@@ -35,5 +35,4 @@ target_link_libraries(toyc-ch5
MLIRIR
MLIRParser
MLIRPass
- MLIRSupport
MLIRTransforms)
diff --git a/mlir/examples/toy/Ch6/CMakeLists.txt b/mlir/examples/toy/Ch6/CMakeLists.txt
index bfd8f8294fbb..767f2e31750b 100644
--- a/mlir/examples/toy/Ch6/CMakeLists.txt
+++ b/mlir/examples/toy/Ch6/CMakeLists.txt
@@ -41,7 +41,6 @@ target_link_libraries(toyc-ch6
MLIRLLVMIR
MLIRParser
MLIRPass
- MLIRSupport
MLIRTargetLLVMIR
MLIRTransforms
LLVMOrcJIT
diff --git a/mlir/lib/Conversion/GPUToCUDA/CMakeLists.txt b/mlir/lib/Conversion/GPUToCUDA/CMakeLists.txt
index 44e6dda2d5a3..4c682b471015 100644
--- a/mlir/lib/Conversion/GPUToCUDA/CMakeLists.txt
+++ b/mlir/lib/Conversion/GPUToCUDA/CMakeLists.txt
@@ -12,19 +12,13 @@ endif()
add_mlir_conversion_library(MLIRGPUtoCUDATransforms
${SOURCES}
-
LINK_LIBS
LLVMNVPTXCodeGen
LLVMNVPTXDesc
LLVMNVPTXInfo
- LLVMCore
- LLVMMC
- LLVMSupport
MLIRGPU
- MLIRIR
MLIRLLVMIR
MLIRNVVMIR
MLIRPass
- MLIRSupport
MLIRTargetNVVMIR
)
diff --git a/mlir/lib/Conversion/GPUToVulkan/CMakeLists.txt b/mlir/lib/Conversion/GPUToVulkan/CMakeLists.txt
index 4ef9ab789106..69c1c4e8b06d 100644
--- a/mlir/lib/Conversion/GPUToVulkan/CMakeLists.txt
+++ b/mlir/lib/Conversion/GPUToVulkan/CMakeLists.txt
@@ -13,5 +13,4 @@ target_link_libraries(MLIRGPUtoVulkanTransforms
MLIRSupport
MLIRTransforms
MLIRTranslation
- LLVMSupport
)
diff --git a/mlir/lib/Dialect/LoopOps/Transforms/CMakeLists.txt b/mlir/lib/Dialect/LoopOps/Transforms/CMakeLists.txt
index ec2512b712ec..eb2aaf6930f2 100644
--- a/mlir/lib/Dialect/LoopOps/Transforms/CMakeLists.txt
+++ b/mlir/lib/Dialect/LoopOps/Transforms/CMakeLists.txt
@@ -5,13 +5,9 @@ add_mlir_dialect_library(MLIRLoopOpsTransforms
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/LoopOps
+ )
- LINK_LIBS
- MLIRAffineOps
- MLIRIR
+target_link_libraries(MLIRLoopOpsTransforms
MLIRPass
MLIRLoopOps
- MLIRStandardOps
- MLIRSupport
- LLVMSupport
)
diff --git a/mlir/lib/Dialect/VectorOps/CMakeLists.txt b/mlir/lib/Dialect/VectorOps/CMakeLists.txt
index 622ccb9e5791..86910d0c3a6c 100644
--- a/mlir/lib/Dialect/VectorOps/CMakeLists.txt
+++ b/mlir/lib/Dialect/VectorOps/CMakeLists.txt
@@ -12,7 +12,6 @@ add_mlir_dialect_library(MLIRVectorOps
MLIRVectorTransformPatternsIncGen
LINK_LIBS
- MLIREDSC
MLIRIR
MLIRStandardOps
MLIRAffineOps
diff --git a/mlir/test/SDBM/CMakeLists.txt b/mlir/test/SDBM/CMakeLists.txt
index c7ab71e89eec..028a6b33536e 100644
--- a/mlir/test/SDBM/CMakeLists.txt
+++ b/mlir/test/SDBM/CMakeLists.txt
@@ -8,7 +8,6 @@ target_link_libraries(mlir-sdbm-api-test
PRIVATE
MLIRIR
MLIRSDBM
- MLIRSupport
LLVMCore
LLVMSupport
)
diff --git a/mlir/tools/mlir-cpu-runner/CMakeLists.txt b/mlir/tools/mlir-cpu-runner/CMakeLists.txt
index 98d842a7faa1..ee56acd78316 100644
--- a/mlir/tools/mlir-cpu-runner/CMakeLists.txt
+++ b/mlir/tools/mlir-cpu-runner/CMakeLists.txt
@@ -16,7 +16,4 @@ target_link_libraries(mlir-cpu-runner PRIVATE
MLIRSupport
LLVMCore
LLVMSupport
- LLVMX86CodeGen
- LLVMX86Desc
- LLVMX86Info
- )
+)
More information about the Mlir-commits
mailing list