From 77fed91fb2d926fb74f31432ec2eb788354038b6 Mon Sep 17 00:00:00 2001 From: Diego Caballero 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 e5416da70d500..eeb9cf1e34fc8 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