未验证 提交 60ee518a 编写于 作者: R risemeup1 提交者: GitHub

Fix build ci (#49879)

* fix build ci bug

* fix build ci bug,test=test=document_fix

* fix build ci bug,test=document_fix
上级 fcc90531
......@@ -3461,7 +3461,10 @@ function trt_convert_test() {
function build_pr_and_develop() {
run_setup ${PYTHON_ABI:-""} bdist_wheel ${parallel_number}
mkdir ${PADDLE_ROOT}/build/python/dist/ && mv ${PADDLE_ROOT}/dist/*.whl ${PADDLE_ROOT}/build/python/dist/
if [ ! -d "${PADDLE_ROOT}/build/python/dist/" ]; then
mkdir ${PADDLE_ROOT}/build/python/dist/
fi
mv ${PADDLE_ROOT}/dist/*.whl ${PADDLE_ROOT}/build/python/dist/
cmake_change=`git diff --name-only upstream/$BRANCH | grep "cmake/external" || true`
cp ${PADDLE_ROOT}/python/requirements.txt /tmp
generate_api_spec "$1" "PR"
......@@ -3483,7 +3486,10 @@ function build_pr_and_develop() {
else
git checkout -b develop_base_pr upstream/$BRANCH
run_setup ${PYTHON_ABI:-""} bdist_wheel ${parallel_number}
mkdir ${PADDLE_ROOT}/build/python/dist/ && mv ${PADDLE_ROOT}/dist/*.whl ${PADDLE_ROOT}/build/python/dist/
if [ ! -d "${PADDLE_ROOT}/build/python/dist/" ]; then
mkdir ${PADDLE_ROOT}/build/python/dist/
fi
mv ${PADDLE_ROOT}/dist/*.whl ${PADDLE_ROOT}/build/python/dist/
generate_api_spec "$1" "DEV"
mkdir ${PADDLE_ROOT}/build/dev_whl && cp ${PADDLE_ROOT}/build/python/dist/*.whl ${PADDLE_ROOT}/build/dev_whl
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册