Hotfix for an mlir-tblgen breakage
Looks like we can no longer build MHLO and LMHLO docs, so I'm commenting out the corresponding targets for the time being.
PiperOrigin-RevId: 449356715
diff --git a/tensorflow/compiler/mlir/hlo/BUILD b/tensorflow/compiler/mlir/hlo/BUILD
index 4a0565c..4318d91 100644
--- a/tensorflow/compiler/mlir/hlo/BUILD
+++ b/tensorflow/compiler/mlir/hlo/BUILD
@@ -326,33 +326,35 @@
deps = [":lhlo_gpu_ops_td_files"],
)
-gentbl_filegroup(
- name = "hlo_ops_doc_gen",
- compatible_with = get_compatible_with_cloud(),
- tbl_outs = [
- (
- ["-gen-dialect-doc"],
- "g3doc/hlo_ops.md",
- ),
- ],
- tblgen = "@llvm-project//mlir:mlir-tblgen",
- td_file = "include/mlir-hlo/Dialect/mhlo/IR/hlo_ops.td",
- deps = [":hlo_ops_td_files"],
-)
+# TODO(b/232986749): Uncomment when the ticket is fixed.
+# gentbl_filegroup(
+# name = "hlo_ops_doc_gen",
+# compatible_with = get_compatible_with_cloud(),
+# tbl_outs = [
+# (
+# ["-gen-dialect-doc"],
+# "g3doc/hlo_ops.md",
+# ),
+# ],
+# tblgen = "@llvm-project//mlir:mlir-tblgen",
+# td_file = "include/mlir-hlo/Dialect/mhlo/IR/hlo_ops.td",
+# deps = [":hlo_ops_td_files"],
+# )
-gentbl_filegroup(
- name = "lhlo_ops_doc_gen",
- compatible_with = get_compatible_with_cloud(),
- tbl_outs = [
- (
- ["-gen-dialect-doc"],
- "g3doc/lhlo_ops.md",
- ),
- ],
- tblgen = "@llvm-project//mlir:mlir-tblgen",
- td_file = "include/mlir-hlo/Dialect/lhlo/IR/lhlo_ops.td",
- deps = [":lhlo_ops_td_files"],
-)
+# TODO(b/232986749): Uncomment when the ticket is fixed.
+# gentbl_filegroup(
+# name = "lhlo_ops_doc_gen",
+# compatible_with = get_compatible_with_cloud(),
+# tbl_outs = [
+# (
+# ["-gen-dialect-doc"],
+# "g3doc/lhlo_ops.md",
+# ),
+# ],
+# tblgen = "@llvm-project//mlir:mlir-tblgen",
+# td_file = "include/mlir-hlo/Dialect/lhlo/IR/lhlo_ops.td",
+# deps = [":lhlo_ops_td_files"],
+# )
cc_library(
name = "hlo_ops_common",