We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59db5ef + 4aed00e commit 73f4af4Copy full SHA for 73f4af4
paddle/scripts/paddle_build.sh
@@ -629,10 +629,10 @@ EOF
629
630
function gen_capi_package() {
631
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
+ capi_install_prefix=${INSTALL_PREFIX:-/paddle/build}/capi_output
+ rm -rf $capi_install_prefix
+ make DESTDIR="$capi_install_prefix" install
+ cd $capi_install_prefix/
636
ls | egrep -v "^Found.*item$" | xargs tar -czf ${PADDLE_ROOT}/build/paddle.tgz
637
fi
638
}
0 commit comments