diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index c397f070e947ba787c13397dfc07e4b1e4e37e73..1a5076f1d532d2f0c8ec81c81b37bf2231b420e0 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -384,7 +384,7 @@ EOF ctest --output-on-failure -j $1 # 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