[Mlir-commits] [mlir] [MLIR] Add missing TilingInterface dep on MLIRDialectUtils (PR #84544)
Thomas Preud'homme
llvmlistbot at llvm.org
Fri Mar 8 11:30:31 PST 2024
https://github.com/RoboTux created https://github.com/llvm/llvm-project/pull/84544
This fixes a failure when doing a clean build of
lib/libMLIRDialectUtils.a only.
>From 3b3bce791161bf56c1186f88fcea9b6630d0910e Mon Sep 17 00:00:00 2001
From: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: Fri, 8 Mar 2024 16:35:58 +0000
Subject: [PATCH] [MLIR] Add missing TilingInterface dep on MLIRDialectUtils
This fixes a failure when doing a clean build of
lib/libMLIRDialectUtils.a only.
---
mlir/lib/Interfaces/CMakeLists.txt | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/mlir/lib/Interfaces/CMakeLists.txt b/mlir/lib/Interfaces/CMakeLists.txt
index e7c76e70ed6b5d..d3b7bf65ad3e73 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)
More information about the Mlir-commits
mailing list