Skip to content

Commit 009ff61

Browse files
fix model_benchmark ci (#33093)
* fix model_benchmark ci * ADD proto_so
1 parent 14e8d19 commit 009ff61

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/test_model_benchmark.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ function check_whl {
2424

2525
mkdir -p /tmp/pr && mkdir -p /tmp/develop
2626
unzip -q build/python/dist/*.whl -d /tmp/pr
27+
rm -f build/python/dist/*.whl && rm -f build/python/build/.timestamp
2728

2829
git checkout .
2930
git checkout -b develop_base_pr upstream/$BRANCH
31+
bash -x paddle/scripts/paddle_build.sh build
32+
[ $? -ne 0 ] && echo "install paddle failed." && exit 1
3033
cd build
31-
make -j `nproc`
3234
unzip -q python/dist/*.whl -d /tmp/develop
3335

3436
sed -i '/version.py/d' /tmp/pr/*/RECORD

0 commit comments

Comments
 (0)