@@ -21,7 +21,7 @@ Then run:
21
21
git clone https://github.com/PaddlePaddle/Paddle.git
22
22
cd Paddle
23
23
# run the following command to build a CPU-Only binaries if you are using docker
24
- docker run -it -v $PWD :/paddle -e " WITH_GPU=OFF" -e " WITH_TESTING=OFF" paddlepaddle/paddle_manylinux_devel:cuda8.0_cudnn5 bash -x paddle/scripts/docker/build.sh
24
+ docker run -it -v $PWD :/paddle -e " WITH_GPU=OFF" -e " WITH_TESTING=OFF" paddlepaddle/paddle_manylinux_devel:cuda8.0_cudnn5 bash -x /paddle/ paddle/scripts/docker/build.sh
25
25
# else run these commands
26
26
mkdir build
27
27
cd build
@@ -34,7 +34,7 @@ machine or copy it to the target machine.
34
34
35
35
.. code-block :: bash
36
36
37
- pip install python/dist/* .whl
37
+ pip install build/ python/dist/* .whl
38
38
39
39
40
40
.. _run_test :
@@ -49,7 +49,7 @@ Set :code:`WITH_GPU=ON` Can also run tests on GPU.
49
49
50
50
.. code-block :: bash
51
51
52
- docker run -it -v $PWD :/paddle -e " WITH_GPU=OFF" -e " WITH_TESTING=ON" -e " RUN_TEST=ON" paddlepaddle/paddle_manylinux_devel:cuda8.0_cudnn5 bash -x paddle/scripts/docker/build.sh
52
+ docker run -it -v $PWD :/paddle -e " WITH_GPU=OFF" -e " WITH_TESTING=ON" -e " RUN_TEST=ON" paddlepaddle/paddle_manylinux_devel:cuda8.0_cudnn5 bash -x paddle/paddle/ scripts/docker/build.sh
53
53
54
54
If you don't use Docker, just run ctest will start the tests:
55
55
@@ -117,7 +117,7 @@ You can add :code:`-D` argument to pass such options, like:
117
117
"WITH_PYTHON", "Build with integrated Python interpreter", "ON"
118
118
"WITH_STYLE_CHECK", "Check code style when building", "ON"
119
119
"WITH_TESTING", "Build unit tests", "ON"
120
- "WITH_DOC", "Build documentaions ", "OFF"
120
+ "WITH_DOC", "Build documentations ", "OFF"
121
121
"WITH_SWIG_PY", "Build Python SWIG interface for V2 API", "Auto"
122
122
"WITH_GOLANG", "Build fault-tolerant parameter server written in go", "ON"
123
123
"WITH_MKL", "Use MKL as BLAS library, else use OpenBLAS", "ON"
0 commit comments