Skip to content

Commit d557f18

Browse files
authored
change the default whl's version to py3.7 (PaddlePaddle#4218)
* remove debug code * default paddle whl switched to py3.7 * only for the test pipeline typo
1 parent 08297b7 commit d557f18

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

ci_scripts/ci_start.sh

+15-5
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,21 @@ if [ -z "${PADDLE_WHL}" ] ; then
2121
fi
2222
fi
2323
if [ -z "${PADDLE_WHL}" ] ; then
24-
PADDLE_WHL=https://paddle-fluiddoc-ci.bj.bcebos.com/python/dist/paddlepaddle_gpu-0.0.0-cp38-cp38-linux_x86_64.whl
25-
if [ ${BRANCH} = 'release/2.2' ] ; then
26-
PADDLE_WHL=https://paddle-fluiddoc-ci.bj.bcebos.com/python/dist/paddlepaddle_gpu-2.2.0-cp38-cp38-linux_x86_64.whl
27-
elif [ ${BRANCH} = 'release/2.1' ] ; then
28-
PADDLE_WHL=https://paddle-fluiddoc-ci.bj.bcebos.com/python/dist/paddlepaddle_gpu-2.1.0-cp38-cp38-linux_x86_64.whl
24+
if [ "${AGILE_PIPELINE_UUID}" = 'fluid-doc1' ] ; then
25+
# as there are two pipelines now, only change the test pipeline's version to py3.7
26+
PADDLE_WHL=https://paddle-wheel.bj.bcebos.com/develop/linux/cpu-mkl/paddlepaddle-0.0.0-cp37-cp37m-linux_x86_64.whl
27+
if [ ${BRANCH} = 'release/2.2' ] ; then
28+
PADDLE_WHL=https://paddle-wheel.bj.bcebos.com/2.2.2/linux/linux-cpu-mkl-avx/paddlepaddle-2.2.2-cp37-cp37m-linux_x86_64.whl
29+
elif [ ${BRANCH} = 'release/2.1' ] ; then
30+
PADDLE_WHL=https://paddle-wheel.bj.bcebos.com/2.1.3/linux/linux-cpu-mkl-avx/paddlepaddle-2.1.3-cp37-cp37m-linux_x86_64.whl
31+
fi
32+
else
33+
PADDLE_WHL=https://paddle-fluiddoc-ci.bj.bcebos.com/python/dist/paddlepaddle_gpu-0.0.0-cp38-cp38-linux_x86_64.whl
34+
if [ ${BRANCH} = 'release/2.2' ] ; then
35+
PADDLE_WHL=https://paddle-fluiddoc-ci.bj.bcebos.com/python/dist/paddlepaddle_gpu-2.2.0-cp38-cp38-linux_x86_64.whl
36+
elif [ ${BRANCH} = 'release/2.1' ] ; then
37+
PADDLE_WHL=https://paddle-fluiddoc-ci.bj.bcebos.com/python/dist/paddlepaddle_gpu-2.1.0-cp38-cp38-linux_x86_64.whl
38+
fi
2939
fi
3040
fi
3141
fi

docs-build.sh

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#!/bin/bash
22

3-
# renwei 先打印下参数列表
4-
# echo $@
5-
63
SELFNAME=$0
74
SHORT=f:p:w:hx:
85
LONG=docs-dir:,paddle-dir:,paddle-whl:,https-proxy:

0 commit comments

Comments
 (0)