提交 ed83a1d6 编写于 作者: W wangkuiyi 提交者: gangliao

Fix minor errors in instructions of building Paddle on Mac OS X (#347)

上级 f6f80b93
...@@ -219,10 +219,9 @@ easy_install pip ...@@ -219,10 +219,9 @@ easy_install pip
# Install google test on Mac OS X # Install google test on Mac OS X
# Download gtest 1.7.0 # Download gtest 1.7.0
wget https://github.com/google/googletest/archive/release-1.7.0.tar.gz 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 # Build gtest
mkdir build && cmake .. mkdir build && cd build && cmake .. && make
make
# Install gtest library # Install gtest library
sudo cp -r ../include/gtest /usr/local/include/ sudo cp -r ../include/gtest /usr/local/include/
sudo cp lib*.a /usr/local/lib sudo cp lib*.a /usr/local/lib
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册