diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index a09f3ba07af9124d3d62f2ba9aa546973a892c48..0192cd03f24057fbd93937a36ecaeea2c4b06197 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -112,6 +112,7 @@ function cmake_gen() { if [ "$SYSTEM" == "Darwin" ]; then WITH_DISTRIBUTE=${WITH_DISTRIBUTE:-ON} WITH_AVX=${WITH_AVX:-ON} + INFERENCE_DEMO_INSTALL_DIR=${INFERENCE_DEMO_INSTALL_DIR} else INFERENCE_DEMO_INSTALL_DIR=${INFERENCE_DEMO_INSTALL_DIR=-/root/.cache/inference_demo} fi