未验证 提交 65c242ed 编写于 作者: T tianshuo78520a 提交者: GitHub

Fix CI build error (#37424)

Fix CI build error
上级 eb602398
...@@ -2459,7 +2459,7 @@ function build_pr_and_develop() { ...@@ -2459,7 +2459,7 @@ function build_pr_and_develop() {
mkdir ${PADDLE_ROOT}/build/pr_whl && cp ${PADDLE_ROOT}/build/python/dist/*.whl ${PADDLE_ROOT}/build/pr_whl mkdir ${PADDLE_ROOT}/build/pr_whl && cp ${PADDLE_ROOT}/build/python/dist/*.whl ${PADDLE_ROOT}/build/pr_whl
rm -f ${PADDLE_ROOT}/build/python/dist/*.whl && rm -f ${PADDLE_ROOT}/build/python/build/.timestamp rm -f ${PADDLE_ROOT}/build/python/dist/*.whl && rm -f ${PADDLE_ROOT}/build/python/build/.timestamp
cmake_change=`git diff --name-only upstream/$BRANCH | grep "cmake/external" || true` cmake_change=`git diff --name-only upstream/$BRANCH | grep "cmake/external" || true`
if [ ${cmake_change} ];then if [[ ${cmake_change} ]];then
rm -rf ${PADDLE_ROOT}/build/Makefile ${PADDLE_ROOT}/build/CMakeCache.txt rm -rf ${PADDLE_ROOT}/build/Makefile ${PADDLE_ROOT}/build/CMakeCache.txt
rm -rf ${PADDLE_ROOT}/build/third_party rm -rf ${PADDLE_ROOT}/build/third_party
fi fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册