From e6c62a2dcc8c12df2c94397e9f4537f45e32f230 Mon Sep 17 00:00:00 2001 From: Alexander Belyaev Date: Fri, 21 Jul 2023 11:08:44 +0200 Subject: [PATCH] [mlir] Fix bazel build after b96bd025b35761ae181da7e1796708c46e59f5d5 --- .../llvm-project-overlay/mlir/python/BUILD.bazel | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel index 182f9e4..f01b540 100644 --- a/utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel @@ -754,6 +754,30 @@ gentbl_filegroup( ) gentbl_filegroup( + name = "GPUTransformOpsPyGen", + tbl_outs = [ + ( + [ + "-gen-python-op-bindings", + "-bind-dialect=transform", + "-dialect-extension=gpu_transform", + ], + "mlir/dialects/_gpu_transform_ops_gen.py", + ), + ], + tblgen = "//mlir:mlir-tblgen", + td_file = "mlir/dialects/GPUTransformOps.td", + deps = [ + "//mlir:CallInterfacesTdFiles", + "//mlir:FunctionInterfacesTdFiles", + "//mlir:OpBaseTdFiles", + "//mlir:GPUTransformOpsTdFiles", + "//mlir:TransformDialectTdFiles", + ], +) + + +gentbl_filegroup( name = "StructuredTransformOpsPyGen", tbl_outs = [ ( @@ -825,10 +849,12 @@ gentbl_filegroup( filegroup( name = "TransformOpsPyFiles", srcs = [ + "mlir/dialects/_gpu_transform_ops_ext.py", "mlir/dialects/_loop_transform_ops_ext.py", "mlir/dialects/_structured_transform_ops_ext.py", "mlir/dialects/_transform_ops_ext.py", "mlir/dialects/_transform_pdl_extension_ops_ext.py", + ":GPUTransformOpsPyGen", ":LoopTransformOpsPyGen", ":PDLTransformOpsPyGen", ":StructuredTransformOpsPyGen", -- 2.7.4