• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package(
2    default_visibility = ["//visibility:public"],
3    licenses = ["notice"],  # Apache 2.0
4)
5
6cc_library(
7    name = "mlir",
8    srcs = ["mlir.cc"],
9    hdrs = ["mlir.h"],
10    deps = [
11        "//tensorflow/c:tf_status",
12        "//tensorflow/c:tf_status_helper",
13        "//tensorflow/compiler/mlir/tensorflow:convert_graphdef",
14        "//tensorflow/compiler/mlir/tensorflow:error_util",
15        "//tensorflow/compiler/mlir/tensorflow:import_utils",
16        "@llvm-project//llvm:support",
17        "@llvm-project//mlir:IR",
18        "@llvm-project//mlir:Parser",
19        "@llvm-project//mlir:Pass",
20    ],
21)
22
23filegroup(
24    name = "pywrap_mlir_hdrs",
25    srcs = [
26        "mlir.h",
27    ],
28    visibility = [
29        "//tensorflow/python:__pkg__",
30    ],
31)
32