[Mlir-commits] [mlir] 6199219 - [mlir] Fix shared libs build
Andrzej Warzynski
llvmlistbot at llvm.org
Tue Sep 29 06:31:32 PDT 2020
Author: Andrzej Warzynski
Date: 2020-09-29T14:31:14+01:00
New Revision: 6199219bbd8224b7cf69b4a538bd6bc49f6daaf0
URL: https://github.com/llvm/llvm-project/commit/6199219bbd8224b7cf69b4a538bd6bc49f6daaf0
DIFF: https://github.com/llvm/llvm-project/commit/6199219bbd8224b7cf69b4a538bd6bc49f6daaf0.diff
LOG: [mlir] Fix shared libs build
The following change causes the shared libraries build
(BUILD_SHARED_LIBS=On) to fail:
* https://reviews.llvm.org/D88351
This patch will fix that.
Differential Revision: https://reviews.llvm.org/D88484
Added:
Modified:
mlir/lib/Target/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/lib/Target/CMakeLists.txt b/mlir/lib/Target/CMakeLists.txt
index ce67586e60dc..cdc9e2db9cd1 100644
--- a/mlir/lib/Target/CMakeLists.txt
+++ b/mlir/lib/Target/CMakeLists.txt
@@ -16,6 +16,7 @@ add_mlir_translation_library(MLIRTargetLLVMIRModuleTranslation
LINK_LIBS PUBLIC
MLIRLLVMIR
+ MLIROpenMP
MLIRLLVMIRTransforms
MLIRTranslation
)
@@ -51,7 +52,6 @@ add_mlir_translation_library(MLIRTargetLLVMIR
IRReader
LINK_LIBS PUBLIC
- MLIROpenMP
MLIRTargetLLVMIRModuleTranslation
)
More information about the Mlir-commits
mailing list