diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index f3ecc1083a8f7c9d8efd870e1e6fbf4731f6f336..bb288384e8501caf1cb6f9cd186cc09985a5de55 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -600,7 +600,7 @@ EOF if [[ ${WITH_GPU} == "ON" ]]; then NCCL_DEPS="apt-get install -y --allow-downgrades libnccl2=2.2.13-1+cuda${CUDA_MAJOR} libnccl-dev=2.2.13-1+cuda${CUDA_MAJOR} || true" else - NCCL_DEPS="" + NCCL_DEPS="true" fi if [[ ${WITH_FLUID_ONLY:-OFF} == "OFF" ]]; then