diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 9e254805fc8e3f5508c42418dd4d5cb4cebb6053..8204612891e52572d3329f6d39e218e198220526 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -374,11 +374,10 @@ EOF ctest --output-on-failure # make install should also be test when unittest make install -j `nproc` - pip install --user ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl + pip install ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl if [[ ${WITH_FLUID_ONLY:-OFF} == "OFF" ]] ; then paddle version fi - pip uninstall --user -y paddlepaddle fi } @@ -396,10 +395,11 @@ EOF ctest --output-on-failure -j $1 # make install should also be test when unittest make install -j 8 - pip install ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl + pip install --user ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl if [[ ${WITH_FLUID_ONLY:-OFF} == "OFF" ]] ; then paddle version fi + pip uninstall -y paddlepaddle fi }