[Mlir-commits] [mlir] [mlir] add arith dialect dep to fix buildbot failure (PR #92585)

Jeremy Kun llvmlistbot at llvm.org
Fri May 17 10:47:58 PDT 2024


https://github.com/j2kun created https://github.com/llvm/llvm-project/pull/92585

https://lab.llvm.org/buildbot/#/builders/268/builds/14288

`undefined reference to `mlir::detail::TypeIDResolver<mlir::arith::ConstantOp, void>::id'`

>From 1102e7896b11e6c42982a005a69293c26d5935c1 Mon Sep 17 00:00:00 2001
From: Jeremy Kun <jkun at google.com>
Date: Fri, 17 May 2024 10:44:23 -0700
Subject: [PATCH] add arith dialect dep

---
 mlir/lib/Dialect/Polynomial/IR/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mlir/lib/Dialect/Polynomial/IR/CMakeLists.txt b/mlir/lib/Dialect/Polynomial/IR/CMakeLists.txt
index 8fa49555dd59c..975315ff49158 100644
--- a/mlir/lib/Dialect/Polynomial/IR/CMakeLists.txt
+++ b/mlir/lib/Dialect/Polynomial/IR/CMakeLists.txt
@@ -18,6 +18,7 @@ add_mlir_dialect_library(MLIRPolynomialDialect
   MLIRBuiltinAttributesIncGen
 
   LINK_LIBS PUBLIC
+  MLIRArithDialect
   MLIRSupport
   MLIRDialect
   MLIRIR



More information about the Mlir-commits mailing list