Skip to content

Commit f7cf605

Browse files
velconiatyphoonzero
authored andcommitted
update the command in build_from_source.md doc to newest version (#10835)
1 parent 565606a commit f7cf605

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/v2/build_and_install/build_from_source_cn.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ PaddlePaddle需要使用Docker环境完成编译,这样可以免去单独安
3535
# 2. 可选步骤:源码中构建用于编译PaddlePaddle的Docker镜像
3636
docker build -t paddle:dev .
3737
# 3. 执行下面的命令编译CPU-Only的二进制
38-
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
38+
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/paddle_build.sh build
3939
# 4. 或者也可以使用为上述可选步骤构建的镜像(必须先执行第2步)
4040
docker run -it -v $PWD:/paddle -e "WITH_GPU=OFF" -e "WITH_TESTING=OFF" paddle:dev
4141

doc/v2/build_and_install/build_from_source_en.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Or you can build your own image from source as the optional step below:
3434
# 2. Optional: build development docker image from source
3535
docker build -t paddle:dev .
3636
# 3. Run the following command to build a CPU-Only binaries
37-
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
37+
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/paddle_build.sh build
3838
# 4. Or, use your built Docker image to build PaddlePaddle (must run step 2)
3939
docker run -it -v $PWD:/paddle -e "WITH_GPU=OFF" -e "WITH_TESTING=OFF" paddle:dev
4040

0 commit comments

Comments
 (0)