From 60360feb1a5c22091a835a3c4d11beeed46ad206 Mon Sep 17 00:00:00 2001 From: Pete Warden Date: Mon, 19 Sep 2016 05:00:28 -0800 Subject: Updates makefile documentation for Linux Change: 133576294 --- tensorflow/contrib/makefile/README.md | 34 +++++----------------------------- 1 file 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 -- cgit v1.2.3