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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri May 17 10:48:26 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Jeremy Kun (j2kun)

<details>
<summary>Changes</summary>

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

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

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


1 Files Affected:

- (modified) mlir/lib/Dialect/Polynomial/IR/CMakeLists.txt (+1) 


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

``````````

</details>


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


More information about the Mlir-commits mailing list