Skip to content

Commit 58c4fa9

Browse files
authored
Fix bazel build for #142771 (#144659)
1 parent fe42d34 commit 58c4fa9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,6 +1650,7 @@ td_library(
16501650
srcs = [
16511651
"include/mlir/Dialect/EmitC/IR/EmitC.td",
16521652
"include/mlir/Dialect/EmitC/IR/EmitCAttributes.td",
1653+
"include/mlir/Dialect/EmitC/IR/EmitCInterfaces.td",
16531654
"include/mlir/Dialect/EmitC/IR/EmitCBase.td",
16541655
"include/mlir/Dialect/EmitC/IR/EmitCTypes.td",
16551656
],
@@ -1665,6 +1666,17 @@ td_library(
16651666
],
16661667
)
16671668

1669+
gentbl_cc_library(
1670+
name = "EmitCInterfacesIncGen",
1671+
tbl_outs = {
1672+
"include/mlir/Dialect/EmitC/IR/EmitCInterfaces.h.inc": ["-gen-op-interface-decls"],
1673+
"include/mlir/Dialect/EmitC/IR/EmitCInterfaces.cpp.inc": ["-gen-op-interface-defs"],
1674+
},
1675+
tblgen = ":mlir-tblgen",
1676+
td_file = "include/mlir/Dialect/EmitC/IR/EmitCInterfaces.td",
1677+
deps = [":EmitCTdFiles"],
1678+
)
1679+
16681680
gentbl_cc_library(
16691681
name = "EmitCAttributesIncGen",
16701682
tbl_outs = {
@@ -3679,6 +3691,7 @@ cc_library(
36793691
":BytecodeOpInterface",
36803692
":CastInterfaces",
36813693
":ControlFlowInterfaces",
3694+
":EmitCInterfacesIncGen",
36823695
":EmitCAttributesIncGen",
36833696
":EmitCOpsIncGen",
36843697
":FunctionInterfaces",

0 commit comments

Comments
 (0)