Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Bazel rules to package the TensorFlow C-library and header files into an archive.

TensorFlow C library

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:libtensorflow

produces 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.gz

Release

Scripts to generate archives using these rules for release are in tensorflow/tools/ci_build/linux and tensorflow/tools/ci_build/osx