Bazel rules to package the TensorFlow C-library and header files into an archive.
The TensorFlow C API is typically a requirement of TensorFlow APIs in other languages such as Go and Rust.
The command:
bazel build -c opt //tensorflow/tools/lib_package:libtensorflowproduces bazel-bin/tensorflow/tools/lib_package/libtensorflow.tar.gz, which
can be distributed and installed using something like:
tar -C /usr/local -xzf libtensorflow.tar.gzScripts to generate archives using these rules for release are in tensorflow/tools/ci_build/linux and tensorflow/tools/ci_build/osx