Skip to content

Commit 73f4af4

Browse files
committed
Merge branch 'release/1.0.0' of https://github.com/PaddlePaddle/Paddle into release_trt_1.0
test=release/1.0.0
2 parents 59db5ef + 4aed00e commit 73f4af4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

paddle/scripts/paddle_build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -629,10 +629,10 @@ EOF
629629

630630
function gen_capi_package() {
631631
if [[ ${WITH_C_API} == "ON" ]]; then
632-
install_prefix="${PADDLE_ROOT}/build/capi_output"
633-
rm -rf $install_prefix
634-
make DESTDIR="$install_prefix" install
635-
cd $install_prefix/usr/local
632+
capi_install_prefix=${INSTALL_PREFIX:-/paddle/build}/capi_output
633+
rm -rf $capi_install_prefix
634+
make DESTDIR="$capi_install_prefix" install
635+
cd $capi_install_prefix/
636636
ls | egrep -v "^Found.*item$" | xargs tar -czf ${PADDLE_ROOT}/build/paddle.tgz
637637
fi
638638
}

0 commit comments

Comments
 (0)