Skip to content

Commit

Permalink
pip install --no-cache-dir to diasble the host's cache
Browse files Browse the repository at this point in the history
  • Loading branch information
wadefelix committed Jun 16, 2021
1 parent c841152 commit 04fe8a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci_scripts/check_api_cn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ set -x

function install_paddle() {
# try to download paddle, and install
PADDLE_WHL=https://paddle-fluiddoc-ci.bj.bcebos.com/python/dist/paddlepaddle_gpu-0.0.0-cp38-cp38-linux_x86_64.whl
if [ ${BRANCH} = 'release/2.1' ] ; then
pip install https://paddle-fluiddoc-ci.bj.bcebos.com/python/dist/paddlepaddle_gpu-2.1.0-cp38-cp38-linux_x86_64.whl
else
pip install https://paddle-fluiddoc-ci.bj.bcebos.com/python/dist/paddlepaddle_gpu-0.0.0-cp38-cp38-linux_x86_64.whl
PADDLE_WHL=https://paddle-fluiddoc-ci.bj.bcebos.com/python/dist/paddlepaddle_gpu-2.1.0-cp38-cp38-linux_x86_64.whl
fi
pip install --no-cache-dir -i https://mirror.baidu.com/pypi/simple ${PADDLE_WHL}
# if failed, build paddle
if [ $? -ne 0 ];then
build_paddle
Expand Down

0 comments on commit 04fe8a5

Please sign in to comment.