diff options
author | Pete Warden <petewarden@google.com> | 2016-09-19 05:00:28 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-09-19 06:03:23 -0700 |
commit | 60360feb1a5c22091a835a3c4d11beeed46ad206 (patch) | |
tree | 9ef1cde5f80c3a6237958de7f85c16f3398b36a7 | |
parent | 6b5b703c4bee136a230cdaa26f89e0f3fae98708 (diff) |
Updates makefile documentation for Linux
Change: 133576294
-rw-r--r-- | tensorflow/contrib/makefile/README.md | 34 |
1 files changed, 5 insertions, 29 deletions
diff --git a/tensorflow/contrib/makefile/README.md b/tensorflow/contrib/makefile/README.md index 03c3ad6d5a..fd68760be8 100644 --- a/tensorflow/contrib/makefile/README.md +++ b/tensorflow/contrib/makefile/README.md @@ -46,39 +46,15 @@ You should download the example graph from [https://storage.googleapis.com/downl _Note: This has only been tested on Ubuntu._ -Don't forget to download dependencies if you haven't already: - -```bash -tensorflow/contrib/makefile/download_dependencies.sh -``` - -You will need install a version of -[protobuf 3](https://github.com/google/protobuf) on your system. We strongly -recommend that you compile and install the version downloaded in the script -above. - -On Ubuntu, you can do this: +As a first step, you need to make sure the required packages are installed: ```bash -sudo apt-get install autoconf automake libtool curl make g++ unzip -pushd . -cd tensorflow/contrib/makefile/downloads/protobuf -./autogen.sh -./configure -make -make check -sudo make install -sudo ldconfig # refresh shared library cache -popd +sudo apt-get install autoconf automake libtool curl make g++ unzip zlib1g-dev \ +git python ``` -If you have issues (or can't use apt-get), see -[these instructions](https://github.com/google/protobuf/blob/master/src/README.md) -for specific installation of C++ support tools. - -After you have installed protobufs, you can run this from the repository root: - +You should then be able to run the `build_all_linux.sh` script to compile: ```bash -make -f tensorflow/contrib/makefile/Makefile +tensorflow/contrib/makefile/build_all_linux.sh ``` This should compile a static library in |