From 009ff61b0f46020dd0908ceb4534c9a126b260d3 Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Wed, 26 May 2021 11:18:31 +0800 Subject: [PATCH] fix model_benchmark ci (#33093) * fix model_benchmark ci * ADD proto_so --- tools/test_model_benchmark.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/test_model_benchmark.sh b/tools/test_model_benchmark.sh index 8f8026b0adc..98066d7beea 100644 --- a/tools/test_model_benchmark.sh +++ b/tools/test_model_benchmark.sh @@ -24,11 +24,13 @@ function check_whl { mkdir -p /tmp/pr && mkdir -p /tmp/develop unzip -q build/python/dist/*.whl -d /tmp/pr + rm -f build/python/dist/*.whl && rm -f build/python/build/.timestamp git checkout . git checkout -b develop_base_pr upstream/$BRANCH + bash -x paddle/scripts/paddle_build.sh build + [ $? -ne 0 ] && echo "install paddle failed." && exit 1 cd build - make -j `nproc` unzip -q python/dist/*.whl -d /tmp/develop sed -i '/version.py/d' /tmp/pr/*/RECORD -- GitLab