Skip to content

Commit 4a7b9f7

Browse files
committed
Fix pip install in mac
test=develop
1 parent 1512cf2 commit 4a7b9f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/scripts/paddle_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ EOF
395395
ctest --output-on-failure -j8
396396
# make install should also be test when unittest
397397
make install -j 8
398-
pip install /usr/local/opt/paddle/share/wheels/*.whl
398+
pip install ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl
399399
if [[ ${WITH_FLUID_ONLY:-OFF} == "OFF" ]] ; then
400400
paddle version
401401
fi

0 commit comments

Comments
 (0)