From b5de0166ebd0b03a25c610ea08a0c7d5a14e665e Mon Sep 17 00:00:00 2001 From: minqiyang Date: Thu, 6 Sep 2018 13:47:29 +0800 Subject: [PATCH] Pass the INFERENCE CI when WITH_INFERENCE is OFF --- paddle/scripts/paddle_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 84f9d6671a8..2f12411659f 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -554,7 +554,7 @@ function gen_capi_package() { function gen_fluid_inference_lib() { mkdir -p ${PADDLE_ROOT}/build cd ${PADDLE_ROOT}/build - if [ ${WITH_C_API:-OFF} == "OFF" ] ; then + if [[ ${WITH_C_API:-OFF} == "OFF" && ${WITH_INFERENCE:-ON} == "ON" ]] ; then cat <