Pass the INFERENCE CI when WITH_INFERENCE is OFF

fix-develop-build.sh
minqiyang 7 years ago
parent 3420c94994
commit b5de0166eb

@ -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 <<EOF
========================================
Deploying fluid inference library ...
@ -569,7 +569,7 @@ EOF
}
function test_fluid_inference_lib() {
if [ ${WITH_C_API:-OFF} == "OFF" ] ; then
if [[ ${WITH_C_API:-OFF} == "OFF" && ${WITH_INFERENCE:-ON} == "ON" ]] ; then
cat <<EOF
========================================
Testing fluid inference library ...

Loading…
Cancel
Save