[Mlir-commits] [mlir] [MLIR] Add MLIRConversionPassIncGen to cmake deps for FrozenRewritePatternSet (PR #110054)

Lenny Truong llvmlistbot at llvm.org
Wed Sep 25 15:35:18 PDT 2024


https://github.com/leonardt created https://github.com/llvm/llvm-project/pull/110054

Fixes missing header in downstream circt python wheel build (e.g. https://github.com/llvm/circt/actions/runs/11022589675/job/30612234430).

Confirmed by
* https://github.com/llvm/circt/actions/runs/11040046220/job/30667073462
* https://github.com/llvm/circt/commit/0646e7e9276ff9bf6e7561c399fbe8c3431b509a

>From 5ea8e7d6220e626ccdbb9e384ba66d43c12247e5 Mon Sep 17 00:00:00 2001
From: Lenny Truong <lenny.truong at sifive.com>
Date: Wed, 25 Sep 2024 12:39:02 -0700
Subject: [PATCH] [MLIR] Add MLIRConversionPassIncGen as cmake dependency for
 FrozenRewritePatternSet

Fixes missing header in downstream circt python wheel build (e.g. https://github.com/llvm/circt/actions/runs/11022589675/job/30612234430)
---
 mlir/lib/Rewrite/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mlir/lib/Rewrite/CMakeLists.txt b/mlir/lib/Rewrite/CMakeLists.txt
index a6c39406aa4b3e..15b3739e4c6337 100644
--- a/mlir/lib/Rewrite/CMakeLists.txt
+++ b/mlir/lib/Rewrite/CMakeLists.txt
@@ -9,6 +9,7 @@ add_mlir_library(MLIRRewrite
 
   DEPENDS
   mlir-generic-headers
+  MLIRConversionPassIncGen
 
   LINK_LIBS PUBLIC
   MLIRIR



More information about the Mlir-commits mailing list