[Mlir-commits] [mlir] [MLIR] Add missing TilingInterface dep on MLIRDialectUtils (PR #84544)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Mar 8 11:31:04 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Thomas Preud'homme (RoboTux)

<details>
<summary>Changes</summary>

This fixes a failure when doing a clean build of
lib/libMLIRDialectUtils.a only.


---
Full diff: https://github.com/llvm/llvm-project/pull/84544.diff


1 Files Affected:

- (modified) mlir/lib/Interfaces/CMakeLists.txt (+14-1) 


``````````diff
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)
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/84544


More information about the Mlir-commits mailing list