[PATCH] D137961: [bazel] Fix Bufferization dialect build

Benjamin Kramer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 14 09:58:32 PST 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc21915f5b407: [bazel] Fix Bufferization dialect build (authored by wecing, committed by bkramer).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137961/new/

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.475188.patch
Type: text/x-patch
Size: 1666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221114/4406eee5/attachment.bin>


More information about the llvm-commits mailing list