File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments