From ed83a1d6b68d2bd1f573a0c4cabf811e9c32aead Mon Sep 17 00:00:00 2001 From: wangkuiyi Date: Thu, 3 Nov 2016 22:15:20 -0700 Subject: [PATCH] Fix minor errors in instructions of building Paddle on Mac OS X (#347) --- doc/build/build_from_source.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/build/build_from_source.md b/doc/build/build_from_source.md index 7727c8c37..c37234d3e 100644 --- a/doc/build/build_from_source.md +++ b/doc/build/build_from_source.md @@ -219,10 +219,9 @@ easy_install pip # Install google test on Mac OS X # Download gtest 1.7.0 wget https://github.com/google/googletest/archive/release-1.7.0.tar.gz - tar -xvf googletest-release-1.7.0.tar.gz && cd googletest-release-1.7.0 + tar -xzf googletest-release-1.7.0.tar.gz && cd googletest-release-1.7.0 # Build gtest - mkdir build && cmake .. - make + mkdir build && cd build && cmake .. && make # Install gtest library sudo cp -r ../include/gtest /usr/local/include/ sudo cp lib*.a /usr/local/lib -- GitLab