Tensorflow is finicky to get working and setup, and the official binaries have spotty version coverage.
This repo is intended to be a good stable source of both binaries and build scripts which can be used to build binaries with less pain.
To build from source, install Bazel (https://bazel.build/) for your platform and any additional dependencies listed in the target build script.
Then, from this directory, simply run the script (e.g. ./build-macos-cpu.sh) and wait a while. Output will be placed in the dist directory labelled with your platform and build type.
For Python, install the wheel with pip.
For C++:
- On macOS/Linux, place
libtensorflow.soandlibtensorflow_cc.soin/usr/local/lib, and use-I dist/.../includeand-l tensorflow_ccwhen compiling C++ programs. - On Windows, TBA