Skip to content

Commit d9da681

Browse files
authored
Merge pull request #13706 from JiabinYang/fix/mac_ci_job_pip
Cherry-pick from develop
2 parents acde6e3 + 3f7f502 commit d9da681

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

paddle/scripts/paddle_build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,10 +395,11 @@ EOF
395395
ctest --output-on-failure -j $1
396396
# make install should also be test when unittest
397397
make install -j 8
398-
pip install ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl
398+
pip install --user ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl
399399
if [[ ${WITH_FLUID_ONLY:-OFF} == "OFF" ]] ; then
400400
paddle version
401401
fi
402+
pip uninstall -y paddlepaddle
402403
fi
403404
}
404405

0 commit comments

Comments
 (0)