[Mlir-commits] [mlir] 6bc775a - [MLIR] Interfaces need to used add_mlir_library
Stephen Neuendorffer
llvmlistbot at llvm.org
Thu Mar 19 16:44:37 PDT 2020
Author: Stephen Neuendorffer
Date: 2020-03-19T16:44:24-07:00
New Revision: 6bc775a1fc1bfc7045c491d4c37f12b77ee09ea6
URL: https://github.com/llvm/llvm-project/commit/6bc775a1fc1bfc7045c491d4c37f12b77ee09ea6
DIFF: https://github.com/llvm/llvm-project/commit/6bc775a1fc1bfc7045c491d4c37f12b77ee09ea6.diff
LOG: [MLIR] Interfaces need to used add_mlir_library
The Interface libraries were moved from Analysis, but declared in
cmake using add_llvm_library(). This breaks LLVM_BUILD_LLVM_DYLIB
builds.
Differential Revision: https://reviews.llvm.org/D76463
Added:
Modified:
mlir/lib/Interfaces/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/lib/Interfaces/CMakeLists.txt b/mlir/lib/Interfaces/CMakeLists.txt
index 853a03d3cbad..a6e053d7674e 100644
--- a/mlir/lib/Interfaces/CMakeLists.txt
+++ b/mlir/lib/Interfaces/CMakeLists.txt
@@ -7,7 +7,7 @@ set(LLVM_OPTIONAL_SOURCES
SideEffects.cpp
)
-add_llvm_library(MLIRCallInterfaces
+add_mlir_library(MLIRCallInterfaces
CallInterfaces.cpp
ADDITIONAL_HEADER_DIRS
@@ -21,7 +21,7 @@ target_link_libraries(MLIRCallInterfaces
MLIRIR
)
-add_llvm_library(MLIRControlFlowInterfaces
+add_mlir_library(MLIRControlFlowInterfaces
ControlFlowInterfaces.cpp
ADDITIONAL_HEADER_DIRS
@@ -35,7 +35,7 @@ target_link_libraries(MLIRControlFlowInterfaces
MLIRIR
)
-add_llvm_library(MLIRDerivedAttributeOpInterface
+add_mlir_library(MLIRDerivedAttributeOpInterface
DerivedAttributeOpInterface.cpp
ADDITIONAL_HEADER_DIRS
@@ -49,7 +49,7 @@ target_link_libraries(MLIRDerivedAttributeOpInterface
MLIRIR
)
-add_llvm_library(MLIRInferTypeOpInterface
+add_mlir_library(MLIRInferTypeOpInterface
InferTypeOpInterface.cpp
ADDITIONAL_HEADER_DIRS
@@ -63,7 +63,7 @@ target_link_libraries(MLIRInferTypeOpInterface
MLIRIR
)
-add_llvm_library(MLIRLoopLikeInterface
+add_mlir_library(MLIRLoopLikeInterface
LoopLikeInterface.cpp
ADDITIONAL_HEADER_DIRS
@@ -77,7 +77,7 @@ target_link_libraries(MLIRLoopLikeInterface
MLIRIR
)
-add_llvm_library(MLIRSideEffects
+add_mlir_library(MLIRSideEffects
SideEffects.cpp
ADDITIONAL_HEADER_DIRS
More information about the Mlir-commits
mailing list