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

Update Model-Benchmark CI build (#36782)

* notest;test=123

* notest;test=123

* notest;test=123

* notest;test=123

* notest;test=123

* notest;test=123

* notest;test=123

* fix
上级 2b2e8b85
......@@ -2411,9 +2411,9 @@ function build_pr_and_develop() {
cmake_gen_and_build ${PYTHON_ABI:-""} ${parallel_number}
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 -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/Makefile ${PADDLE_ROOT}/build/CMakeCache.txt
rm -rf ${PADDLE_ROOT}/build/third_party
fi
git checkout .
......
......@@ -98,6 +98,7 @@ case $1 in
;;
run_all)
compile_install_paddle
init_benchmark
prepare_data
run_model_benchmark
;;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册