diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 838d5dc8691179a80571ab481544ced560799fa4..b01bbd2e14ee1e8c9c16adecf591f023bb9d5b5c 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -395,7 +395,7 @@ EOF ctest --output-on-failure -j8 # make install should also be test when unittest make install -j 8 - pip install /usr/local/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