|
|
|
@ -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 ...
|
|
|
|
|