diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 77c3ef2f1718897177acc3e2c2d448e269baf207..2525c2bb0e0b4801e22118297b77accf1441c94e 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -139,7 +139,7 @@ function cmake_gen() { -DWITH_AMD_GPU=${WITH_AMD_GPU:-OFF} -DWITH_DISTRIBUTE=${WITH_DISTRIBUTE:-OFF} -DWITH_MKL=${WITH_MKL:-ON} - -DWITH_NGRAPH=${WITH_NGRAPH:-ON} + -DWITH_NGRAPH=${WITH_NGRAPH:-OFF} -DWITH_AVX=${WITH_AVX:-OFF} -DWITH_GOLANG=${WITH_GOLANG:-OFF} -DCUDA_ARCH_NAME=${CUDA_ARCH_NAME:-All} @@ -172,7 +172,7 @@ EOF -DWITH_AMD_GPU=${WITH_AMD_GPU:-OFF} \ -DWITH_DISTRIBUTE=${WITH_DISTRIBUTE:-OFF} \ -DWITH_MKL=${WITH_MKL:-ON} \ - -DWITH_NGRAPH=${WITH_NGRAPH:-ON} \ + -DWITH_NGRAPH=${WITH_NGRAPH:-OFF} \ -DWITH_AVX=${WITH_AVX:-OFF} \ -DWITH_GOLANG=${WITH_GOLANG:-OFF} \ -DCUDA_ARCH_NAME=${CUDA_ARCH_NAME:-All} \ @@ -527,7 +527,6 @@ EOF -DWITH_DOC=ON \ -DWITH_GPU=OFF \ -DWITH_MKL=OFF \ - -DWITH_NGRAPH=OFF \ -DWITH_FLUID_ONLY=ON local LIB_TYPE=$1