From 25262ed076f8fc0648928c79e2c9f532df920b93 Mon Sep 17 00:00:00 2001 From: Wu Yi Date: Mon, 8 Oct 2018 20:04:29 +0800 Subject: [PATCH] fix cuda9 docker build test=develop (#13701) * fix cuda9 docker build test=develop * update test=develop * update test --- paddle/scripts/paddle_build.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index d9214d0b8ce..b434c9f08e9 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -598,7 +598,7 @@ EOF 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} &&" + 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="" fi @@ -614,9 +614,8 @@ EOF cat >> ${PADDLE_ROOT}/build/Dockerfile <