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

Change cmake/third_party files for CI (#30833)

上级 abfa8226
......@@ -714,6 +714,10 @@ function generate_upstream_develop_api_spec() {
git branch -D develop_base_pr
ENABLE_MAKE_CLEAN="ON"
rm -rf ${PADDLE_ROOT}/build/Makefile ${PADDLE_ROOT}/build/CMakeCache.txt
cmake_change=`git diff --name-only upstream/$BRANCH | grep "cmake/external" || true`
if [ ${cmake_change} ];then
rm -rf ${PADDLE_ROOT}/build/third_party
fi
}
function generate_api_spec() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册