From eba17e0c697feca4ddba28863d6f3f52b2515802 Mon Sep 17 00:00:00 2001 From: wujionghao Date: Thu, 7 May 2020 14:25:59 +0800 Subject: [PATCH] docker cd ../paddle in compile file --- doc/fluid/install/compile/compile_CentOS_en.md | 10 ++++++++-- doc/fluid/install/compile/compile_MacOS.md | 2 +- doc/fluid/install/compile/compile_MacOS_en.md | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/fluid/install/compile/compile_CentOS_en.md b/doc/fluid/install/compile/compile_CentOS_en.md index 56814005d..fd4394b8f 100644 --- a/doc/fluid/install/compile/compile_CentOS_en.md +++ b/doc/fluid/install/compile/compile_CentOS_en.md @@ -109,7 +109,7 @@ Please follow the steps below to install: `mkdir -p /paddle/build && cd /paddle/build` -7. Use the following command to install the dependencies: +7. Use the following command to install the dependencies: For Python2: pip install protobuf @@ -143,9 +143,15 @@ Please follow the steps below to install: > Use multicore compilation + Note: if compile fail, normally because you did config git properly, read the following blog: [stackoverflow](hhttps://stackoverflow.com/questions/35821245/github-server-certificate-verification-failed). + + Or you can just disable SSL verification, (if the project does not require a high level of security other than login/password) by typing: + + `git config --global http.sslverify false` + 10. After compiling successfully, go to the `/paddle/build/python/dist` directory and find the generated `.whl` package: `cd /paddle/build/python/dist` -11. Install the compiled `.whl` package on the current machine or target machine: +11. Install the compiled `.whl` package on the current machine or target machine: For Python2: pip install -U (whl package name) For Python3: pip3.5 install -U (whl package name) diff --git a/doc/fluid/install/compile/compile_MacOS.md b/doc/fluid/install/compile/compile_MacOS.md index 9e924abdf..4403d3e3f 100644 --- a/doc/fluid/install/compile/compile_MacOS.md +++ b/doc/fluid/install/compile/compile_MacOS.md @@ -45,7 +45,7 @@ 5. 进入Docker后进入paddle目录下: - `cd paddle` + `cd ../paddle` 6. 切换到较稳定版本下进行编译: diff --git a/doc/fluid/install/compile/compile_MacOS_en.md b/doc/fluid/install/compile/compile_MacOS_en.md index b00557ea5..238641e6c 100644 --- a/doc/fluid/install/compile/compile_MacOS_en.md +++ b/doc/fluid/install/compile/compile_MacOS_en.md @@ -49,7 +49,7 @@ Please follow the steps below to install: 5. After entering Docker, go to the paddle directory: - `cd paddle` + `cd ../paddle` 6. Switch to a more stable version to compile: -- GitLab