[Mlir-commits] [mlir] [mlir][cmake] Add missing MLIRTestDialect dependency (PR #125004)
Diego Caballero
llvmlistbot at llvm.org
Wed Jan 29 16:26:32 PST 2025
https://github.com/dcaballe created https://github.com/llvm/llvm-project/pull/125004
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
>From 77fed91fb2d926fb74f31432ec2eb788354038b6 Mon Sep 17 00:00:00 2001
From: Diego Caballero <dcaballero at nvidia.com>
Date: Wed, 29 Jan 2025 16:18:38 -0800
Subject: [PATCH] [mlir][cmake] Add missing MLIRTestDialect dependency
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
---
mlir/test/lib/IR/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
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
More information about the Mlir-commits
mailing list