From 3b7e20b0f9b6345d95596c0f07e80aa71c946a9b Mon Sep 17 00:00:00 2001 From: Wu Yi Date: Thu, 4 Oct 2018 09:08:09 +0800 Subject: [PATCH] fix manylinux cuda9 build (#13704) * test=release/1.0.0 * update * update --- 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 820461289..f3ecc1083 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 <