• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("//tensorflow:tensorflow.bzl", "tf_native_cc_binary")
2load("//tensorflow:tensorflow.bzl", "get_compatible_with_portable")
3
4package(
5    default_visibility = [
6        "//tensorflow:internal",
7        "@tf_runtime//:friends",
8    ],
9    licenses = ["notice"],
10)
11
12tf_native_cc_binary(
13    name = "xla-runtime-opt",
14    srcs = ["xla_runtime_opt.cc"],
15    compatible_with = get_compatible_with_portable(),
16    deps = [
17        "//tensorflow/compiler/xla/mlir/ir/runtime/tests:testlib",
18        "//tensorflow/compiler/xla/mlir/transforms/math:passes",
19        "//tensorflow/compiler/xla/mlir/transforms/memref:passes",
20        "//tensorflow/compiler/xla/mlir/transforms/runtime:compilation_pipeline",
21        "//tensorflow/compiler/xla/mlir/transforms/runtime:passes",
22        "@llvm-project//mlir:AllPassesAndDialects",
23        "@llvm-project//mlir:MlirOptLib",
24    ],
25)
26