aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@arm.com>2024-03-20 15:04:10 +0000
committerGitHub <noreply@github.com>2024-03-20 15:04:10 +0000
commitcaf8b1f654122342dc846ae4d9a86d5c6f93f945 (patch)
tree72cf578281615b2bcec8bd119f577b53a8ab4789 /mlir/lib
parenta9fe23cde3ee554f4bd6118edcc2e747f3a8d8d5 (diff)
downloadllvm-caf8b1f654122342dc846ae4d9a86d5c6f93f945.zip
llvm-caf8b1f654122342dc846ae4d9a86d5c6f93f945.tar.gz
llvm-caf8b1f654122342dc846ae4d9a86d5c6f93f945.tar.bz2
[MLIR] Add missing MLIRDialectUtils dep to TilingInterface (#84544)
This fixes the following failure when doing a clean build (in particular no .ninja* lying around) of lib/libMLIRTilingInterface.a only: ``` In file included from mlir/include/mlir/Interfaces/TilingInterface.h:17, from mlir/lib/Interfaces/TilingInterface.cpp:13: mlir/include/mlir/Dialect/Utils/StructuredOpsUtils.h:27:10: fatal error: mlir/Dialect/Utils/DialectUtilsEnums.h.inc: No such file or directory ```
Diffstat (limited to 'mlir/lib')
-rw-r--r--mlir/lib/Interfaces/CMakeLists.txt15
1 files changed, 14 insertions, 1 deletions
diff --git a/mlir/lib/Interfaces/CMakeLists.txt b/mlir/lib/Interfaces/CMakeLists.txt
index e7c76e7..d3b7bf6 100644
--- a/mlir/lib/Interfaces/CMakeLists.txt
+++ b/mlir/lib/Interfaces/CMakeLists.txt
@@ -101,7 +101,20 @@ add_mlir_library(MLIRSubsetOpInterface
MLIRValueBoundsOpInterface
)
-add_mlir_interface_library(TilingInterface)
+add_mlir_library(MLIRTilingInterface
+ TilingInterface.cpp
+
+ ADDITIONAL_HEADER_DIRS
+ ${MLIR_MAIN_INCLUDE_DIR}/mlir/Interfaces
+
+ DEPENDS
+ MLIRTilingInterfaceIncGen
+ MLIRDialectUtils
+
+ LINK_LIBS PUBLIC
+ MLIRIR
+)
+
add_mlir_interface_library(VectorInterfaces)
add_mlir_interface_library(ViewLikeInterface)