Skip to content

Commit 248400f

Browse files
committed
test=develop
1 parent 4cc3c4c commit 248400f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

paddle/scripts/paddle_build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,11 +374,10 @@ EOF
374374
ctest --output-on-failure
375375
# make install should also be test when unittest
376376
make install -j `nproc`
377-
pip install --user ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl
377+
pip install ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl
378378
if [[ ${WITH_FLUID_ONLY:-OFF} == "OFF" ]] ; then
379379
paddle version
380380
fi
381-
pip uninstall --user -y paddlepaddle
382381
fi
383382
}
384383

@@ -396,10 +395,11 @@ EOF
396395
ctest --output-on-failure -j $1
397396
# make install should also be test when unittest
398397
make install -j 8
399-
pip install ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl
398+
pip install --user ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl
400399
if [[ ${WITH_FLUID_ONLY:-OFF} == "OFF" ]] ; then
401400
paddle version
402401
fi
402+
pip uninstall -y paddlepaddle
403403
fi
404404
}
405405

0 commit comments

Comments
 (0)