Skip to content

Commit e6c62a2

Browse files
committed
[mlir] Fix bazel build after b96bd02
1 parent f9caa12 commit e6c62a2

File tree

1 file changed

+26
-0
lines changed
  • utils/bazel/llvm-project-overlay/mlir/python

1 file changed

+26
-0
lines changed

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,30 @@ gentbl_filegroup(
753753
],
754754
)
755755

756+
gentbl_filegroup(
757+
name = "GPUTransformOpsPyGen",
758+
tbl_outs = [
759+
(
760+
[
761+
"-gen-python-op-bindings",
762+
"-bind-dialect=transform",
763+
"-dialect-extension=gpu_transform",
764+
],
765+
"mlir/dialects/_gpu_transform_ops_gen.py",
766+
),
767+
],
768+
tblgen = "//mlir:mlir-tblgen",
769+
td_file = "mlir/dialects/GPUTransformOps.td",
770+
deps = [
771+
"//mlir:CallInterfacesTdFiles",
772+
"//mlir:FunctionInterfacesTdFiles",
773+
"//mlir:OpBaseTdFiles",
774+
"//mlir:GPUTransformOpsTdFiles",
775+
"//mlir:TransformDialectTdFiles",
776+
],
777+
)
778+
779+
756780
gentbl_filegroup(
757781
name = "StructuredTransformOpsPyGen",
758782
tbl_outs = [
@@ -825,10 +849,12 @@ gentbl_filegroup(
825849
filegroup(
826850
name = "TransformOpsPyFiles",
827851
srcs = [
852+
"mlir/dialects/_gpu_transform_ops_ext.py",
828853
"mlir/dialects/_loop_transform_ops_ext.py",
829854
"mlir/dialects/_structured_transform_ops_ext.py",
830855
"mlir/dialects/_transform_ops_ext.py",
831856
"mlir/dialects/_transform_pdl_extension_ops_ext.py",
857+
":GPUTransformOpsPyGen",
832858
":LoopTransformOpsPyGen",
833859
":PDLTransformOpsPyGen",
834860
":StructuredTransformOpsPyGen",

0 commit comments

Comments
 (0)