Revert "[MLIR] Fixes for BUILD_SHARED_LIBS=on"
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Fri, 28 Feb 2020 20:15:45 +0000 (12:15 -0800)
committerStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Fri, 28 Feb 2020 20:17:39 +0000 (12:17 -0800)
This reverts commit c767dc9394b4cca26c3eb40f1270092594e539c2.

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

index c5f5def..6b9ded3 100644 (file)
@@ -35,5 +35,4 @@ target_link_libraries(toyc-ch5
     MLIRIR
     MLIRParser
     MLIRPass
-    MLIRSupport
     MLIRTransforms)
index bfd8f82..767f2e3 100644 (file)
@@ -41,7 +41,6 @@ target_link_libraries(toyc-ch6
     MLIRLLVMIR
     MLIRParser
     MLIRPass
-    MLIRSupport
     MLIRTargetLLVMIR
     MLIRTransforms
     LLVMOrcJIT
index 44e6dda..4c682b4 100644 (file)
@@ -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
   )
index 4ef9ab7..69c1c4e 100644 (file)
@@ -13,5 +13,4 @@ target_link_libraries(MLIRGPUtoVulkanTransforms
   MLIRSupport
   MLIRTransforms
   MLIRTranslation
-  LLVMSupport
   )
index ec2512b..eb2aaf6 100644 (file)
@@ -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
   )
index 622ccb9..86910d0 100644 (file)
@@ -12,7 +12,6 @@ add_mlir_dialect_library(MLIRVectorOps
   MLIRVectorTransformPatternsIncGen
 
   LINK_LIBS
-  MLIREDSC
   MLIRIR
   MLIRStandardOps
   MLIRAffineOps
index c7ab71e..028a6b3 100644 (file)
@@ -8,7 +8,6 @@ target_link_libraries(mlir-sdbm-api-test
   PRIVATE
   MLIRIR
   MLIRSDBM
-  MLIRSupport
   LLVMCore
   LLVMSupport
 )
index 98d842a..ee56acd 100644 (file)
@@ -16,7 +16,4 @@ target_link_libraries(mlir-cpu-runner PRIVATE
   MLIRSupport
   LLVMCore
   LLVMSupport
-  LLVMX86CodeGen
-  LLVMX86Desc
-  LLVMX86Info
-  )
+)