[PATCH] D137961: [bazel] Fix Bufferization dialect build
Chenguang Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 14 09:46:44 PST 2022
wecing created this revision.
Herald added subscribers: Moerafaat, zero9178, bzcheeseman, sdasgup3, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini.
Herald added a project: All.
wecing requested review of this revision.
Herald added subscribers: llvm-commits, stephenneuendorffer, nicolasvasilache.
Herald added a project: LLVM.
D137833 <https://reviews.llvm.org/D137833> added a new .td file and updated existing files to use it.
It broke bazel build.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137961
Files:
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Index: utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -9815,6 +9815,7 @@
srcs = [
"include/mlir/Dialect/Bufferization/IR/BufferizationBase.td",
"include/mlir/Dialect/Bufferization/IR/BufferizationOps.td",
+ "include/mlir/Dialect/Bufferization/IR/BufferizationEnums.td",
],
includes = ["include"],
deps = [
@@ -9850,6 +9851,24 @@
deps = [":BufferizationOpsTdFiles"],
)
+gentbl_cc_library(
+ name = "BufferizationEnumsIncGen",
+ strip_include_prefix = "include",
+ tbl_outs = [
+ (
+ ["-gen-enum-decls"],
+ "include/mlir/Dialect/Bufferization/IR/BufferizationEnums.h.inc",
+ ),
+ (
+ ["-gen-enum-defs"],
+ "include/mlir/Dialect/Bufferization/IR/BufferizationEnums.cpp.inc",
+ ),
+ ],
+ tblgen = ":mlir-tblgen",
+ td_file = "include/mlir/Dialect/Bufferization/IR/BufferizationEnums.td",
+ deps = [":BufferizationOpsTdFiles"],
+)
+
td_library(
name = "BufferizationTransformOpsTdFiles",
srcs = [
@@ -9859,6 +9878,7 @@
deps = [
":PDLDialectTdFiles",
":TransformDialectTdFiles",
+ ":BufferizationOpsTdFiles",
],
)
@@ -9946,6 +9966,7 @@
":BufferizableOpInterfaceIncGen",
":BufferizationBaseIncGen",
":BufferizationOpsIncGen",
+ ":BufferizationEnumsIncGen",
":ControlFlowInterfaces",
":CopyOpInterface",
":DestinationStyleOpInterface",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137961.475182.patch
Type: text/x-patch
Size: 1666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221114/2e55bdb1/attachment.bin>
More information about the llvm-commits
mailing list