From 248400f43aeb824e0c3a513afbea364a577ccbf3 Mon Sep 17 00:00:00 2001 From: JiabinYang Date: Sun, 30 Sep 2018 09:05:21 +0000 Subject: [PATCH] test=develop --- paddle/scripts/paddle_build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index b882f71adfd..d9214d0b8ce 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 } -- GitLab