未验证 提交 38f1ef50 编写于 作者: T tianshuo78520a 提交者: GitHub

test=document_fix (#37477)

上级 81349970
...@@ -782,7 +782,7 @@ function generate_upstream_develop_api_spec() { ...@@ -782,7 +782,7 @@ function generate_upstream_develop_api_spec() {
ENABLE_MAKE_CLEAN="ON" ENABLE_MAKE_CLEAN="ON"
rm -rf ${PADDLE_ROOT}/build/Makefile ${PADDLE_ROOT}/build/CMakeCache.txt rm -rf ${PADDLE_ROOT}/build/Makefile ${PADDLE_ROOT}/build/CMakeCache.txt
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/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.
先完成此消息的编辑!
想要评论请 注册