aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/lib_package
diff options
context:
space:
mode:
authorGravatar Asim Shankar <ashankar@google.com>2016-11-14 11:19:41 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-11-14 12:29:03 -0800
commit1b32b698eddc10c0d85b0b8cf838f42023394de7 (patch)
tree6d1fbc4262f137e46eea78df8585e59ee9d14373 /tensorflow/tools/lib_package
parenta1b1d6229e8bdddf2374100c0ef9edc3bd94436f (diff)
Automated rollback of change 138934248
Change: 139096643
Diffstat (limited to 'tensorflow/tools/lib_package')
-rw-r--r--tensorflow/tools/lib_package/BUILD30
-rw-r--r--tensorflow/tools/lib_package/README.md24
2 files changed, 0 insertions, 54 deletions
diff --git a/tensorflow/tools/lib_package/BUILD b/tensorflow/tools/lib_package/BUILD
deleted file mode 100644
index f9b164dfe7..0000000000
--- a/tensorflow/tools/lib_package/BUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# Packaging the TensorFlow C API into a small, standalone archive for use with
-# language bindings and installations without Python.
-#
-# TODO(ashankar): Also package the C++ API as a separate archive
-# TODO(ashankar): Create pkg_deb rules
-
-package(default_visibility = ["//visibility:private"])
-
-load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar", "pkg_deb")
-
-pkg_tar(
- name = "libtensorflow",
- extension = "tar.gz",
- deps = [
- ":cheaders",
- ":clib",
- ],
-)
-
-pkg_tar(
- name = "cheaders",
- files = ["//tensorflow/c:headers"],
- package_dir = "include/tensorflow/c",
-)
-
-pkg_tar(
- name = "clib",
- files = ["//tensorflow:libtensorflow.so"],
- package_dir = "lib",
-)
diff --git a/tensorflow/tools/lib_package/README.md b/tensorflow/tools/lib_package/README.md
deleted file mode 100644
index 16d472de99..0000000000
--- a/tensorflow/tools/lib_package/README.md
+++ /dev/null
@@ -1,24 +0,0 @@
-Bazel rules to package the TensorFlow C-library and [header
-files](https://www.tensorflow.org/code/tensorflow/c/c_api.h)
-into an archive.
-
-## TensorFlow C library
-
-The TensorFlow [C
-API](https://www.tensorflow.org/code/tensorflow/c/c_api.h)
-is typically a requirement of TensorFlow APIs in other languages such as
-[Go](https://www.tensorflow.org/code/tensorflow/go)
-and [Rust](https://github.com/tensorflow/rust).
-
-The command:
-
-```sh
-bazel build -c opt //tensorflow/tools/lib_package:libtensorflow
-```
-
-produces `bazel-bin/tensorflow/tools/lib_package/libtensorflow.tar.gz`, which
-can be distributed and installed using something like:
-
-```sh
-tar -C /usr/local -xzf libtensorflow.tar.gz
-```