From f6015d0de3fa266e6663b2fb4a9c097bd8448e0f Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Fri, 20 Aug 2021 17:03:02 +0800 Subject: [PATCH] fix model-benchmark build error (#35041) --- tools/test_ci_model_benchmark.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/test_ci_model_benchmark.sh b/tools/test_ci_model_benchmark.sh index 33d76dea2c5..657e03944a0 100644 --- a/tools/test_ci_model_benchmark.sh +++ b/tools/test_ci_model_benchmark.sh @@ -31,6 +31,7 @@ function check_whl { [ $? -ne 0 ] && echo "install paddle failed." && exit 1 cd build make -j `nproc` + [ $? -ne 0 ] && echo "build paddle failed." && exit 1 unzip -q python/dist/*.whl -d /tmp/develop sed -i '/version.py/d' /tmp/pr/*/RECORD -- GitLab