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.
1 parent 3420c94 commit b5de016Copy full SHA for b5de016
paddle/scripts/paddle_build.sh
@@ -554,7 +554,7 @@ function gen_capi_package() {
554
function gen_fluid_inference_lib() {
555
mkdir -p ${PADDLE_ROOT}/build
556
cd ${PADDLE_ROOT}/build
557
- if [ ${WITH_C_API:-OFF} == "OFF" ] ; then
+ if [[ ${WITH_C_API:-OFF} == "OFF" && ${WITH_INFERENCE:-ON} == "ON" ]] ; then
558
cat <<EOF
559
========================================
560
Deploying fluid inference library ...
@@ -569,7 +569,7 @@ EOF
569
}
570
571
function test_fluid_inference_lib() {
572
573
574
575
Testing fluid inference library ...
0 commit comments