[Mlir-commits] [mlir] [mlir][cmake] Add missing MLIRTestDialect dependency (PR #125004)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Jan 29 16:27:03 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Diego Caballero (dcaballe)

<details>
<summary>Changes</summary>

Hopefully this will fix the flaky build issue that we have in one of the bots: https://lab.llvm.org/buildbot/#/builders/50/builds/9532

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


1 Files Affected:

- (modified) mlir/test/lib/IR/CMakeLists.txt (+4) 


``````````diff
diff --git a/mlir/test/lib/IR/CMakeLists.txt b/mlir/test/lib/IR/CMakeLists.txt
index e5416da70d5008..eeb9cf1e34fc8c 100644
--- a/mlir/test/lib/IR/CMakeLists.txt
+++ b/mlir/test/lib/IR/CMakeLists.txt
@@ -27,7 +27,11 @@ add_mlir_library(MLIRTestIR
   TestVisitorsGeneric.cpp
 
   EXCLUDE_FROM_LIBMLIR
+
+  DEPENDS
+  MLIRTestDialect
   )
+
 mlir_target_link_libraries(MLIRTestIR PUBLIC
   MLIRPass
   MLIRBytecodeReader

``````````

</details>


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


More information about the Mlir-commits mailing list