diff options
Diffstat (limited to 'tensorflow/contrib/makefile')
-rw-r--r-- | tensorflow/contrib/makefile/README.md | 4 | ||||
-rwxr-xr-x | tensorflow/contrib/makefile/compile_android_protobuf.sh | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tensorflow/contrib/makefile/README.md b/tensorflow/contrib/makefile/README.md index 9f7686d92f..ac10dfc722 100644 --- a/tensorflow/contrib/makefile/README.md +++ b/tensorflow/contrib/makefile/README.md @@ -32,7 +32,7 @@ application that will let you check your application. First, clone this TensorFlow repository. You will need to download all dependencies as well. We have provided a script -that does so, to be run (as with all commands) at the root of the repository: +that does so, to be run (as with all commands) **at the root of the repository**: ```bash tensorflow/contrib/makefile/download_dependencies.sh @@ -142,6 +142,8 @@ xcode-select --install If this is a new install, you will need to run XCode once to agree to the license before continuing. +(You will also need to have [Homebrew](http://brew.sh/) installed.) + Then install [automake](https://en.wikipedia.org/wiki/Automake)/[libtool](https://en.wikipedia.org/wiki/GNU_Libtool): ```bash diff --git a/tensorflow/contrib/makefile/compile_android_protobuf.sh b/tensorflow/contrib/makefile/compile_android_protobuf.sh index 286109b923..50d72d6093 100755 --- a/tensorflow/contrib/makefile/compile_android_protobuf.sh +++ b/tensorflow/contrib/makefile/compile_android_protobuf.sh @@ -165,7 +165,7 @@ CXXFLAGS="-frtti -fexceptions ${march_option} \ -I${NDK_ROOT}/sources/cxx-stl/gnu-libstdc++/4.9/include \ -I${NDK_ROOT}/sources/cxx-stl/gnu-libstdc++/4.9/libs/${ARCHITECTURE}/include" \ LDFLAGS="-L${NDK_ROOT}/sources/cxx-stl/gnu-libstdc++/4.9/libs/${ARCHITECTURE}" \ -LIBS="-lz -lgnustl_static" +LIBS="-llog -lz -lgnustl_static" if [ $? -ne 0 ] then |