Skip to content

Commit b9404fd

Browse files
Nicolas Vasilacheftynse
authored andcommitted
bazel
1 parent 3d6029d commit b9404fd

File tree

1 file changed

+18
-5
lines changed
  • utils/bazel/llvm-project-overlay/mlir/python

1 file changed

+18
-5
lines changed

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

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,21 +1353,34 @@ gentbl_filegroup(
13531353
tbl_outs = [
13541354
(
13551355
[
1356-
"-gen-python-enum-bindings",
1356+
"-gen-python-op-bindings",
13571357
"-bind-dialect=vector",
13581358
],
1359-
"mlir/dialects/_vector_enum_gen.py",
1359+
"mlir/dialects/_vector_ops_gen.py",
13601360
),
1361+
],
1362+
tblgen = "//mlir:mlir-tblgen",
1363+
td_file = "mlir/dialects/VectorOps.td",
1364+
deps = [
1365+
"//mlir:ArithOpsTdFiles",
1366+
"//mlir:OpBaseTdFiles",
1367+
"//mlir:VectorOpsTdFiles",
1368+
],
1369+
)
1370+
1371+
gentbl_filegroup(
1372+
name = "VectorAttributesPyGen",
1373+
tbl_outs = [
13611374
(
13621375
[
1363-
"-gen-python-op-bindings",
1376+
"-gen-python-enum-bindings",
13641377
"-bind-dialect=vector",
13651378
],
1366-
"mlir/dialects/_vector_ops_gen.py",
1379+
"mlir/dialects/_vector_enum_gen.py",
13671380
),
13681381
],
13691382
tblgen = "//mlir:mlir-tblgen",
1370-
td_file = "mlir/dialects/VectorOps.td",
1383+
td_file = "mlir/dialects/VectorAttributes.td",
13711384
deps = [
13721385
"//mlir:ArithOpsTdFiles",
13731386
"//mlir:OpBaseTdFiles",

0 commit comments

Comments
 (0)