diff --git a/paddle/scripts/docker/build.sh b/paddle/scripts/docker/build.sh index be59c325b19687dd5406492849da35e5808ac0e5..8b2a2b8e8115518de463ebadfcb6a336f4bbdf65 100644 --- a/paddle/scripts/docker/build.sh +++ b/paddle/scripts/docker/build.sh @@ -31,8 +31,11 @@ if [ ${WITH_GPU} == "ON" ]; then # install cuda md5sum -c cuda_7.5.18_linux.run.md5 chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run --extract=$PWD - ./cuda-linux64-rel-7.5.18-19867135.run -noprompt + mv cuda-linux64-rel-7.5.18-*.run tmp rm *.run *.run.md5 + mv tmp cuda-linux64.run + ./cuda-linux64.run -noprompt + rm *.run echo "Downloading cudnn v5.1" set +e diff --git a/paddle/scripts/docker/cpu-demo/build.sh b/paddle/scripts/docker/cpu-demo/build.sh index be59c325b19687dd5406492849da35e5808ac0e5..8b2a2b8e8115518de463ebadfcb6a336f4bbdf65 100644 --- a/paddle/scripts/docker/cpu-demo/build.sh +++ b/paddle/scripts/docker/cpu-demo/build.sh @@ -31,8 +31,11 @@ if [ ${WITH_GPU} == "ON" ]; then # install cuda md5sum -c cuda_7.5.18_linux.run.md5 chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run --extract=$PWD - ./cuda-linux64-rel-7.5.18-19867135.run -noprompt + mv cuda-linux64-rel-7.5.18-*.run tmp rm *.run *.run.md5 + mv tmp cuda-linux64.run + ./cuda-linux64.run -noprompt + rm *.run echo "Downloading cudnn v5.1" set +e diff --git a/paddle/scripts/docker/cpu-devel/build.sh b/paddle/scripts/docker/cpu-devel/build.sh index be59c325b19687dd5406492849da35e5808ac0e5..8b2a2b8e8115518de463ebadfcb6a336f4bbdf65 100644 --- a/paddle/scripts/docker/cpu-devel/build.sh +++ b/paddle/scripts/docker/cpu-devel/build.sh @@ -31,8 +31,11 @@ if [ ${WITH_GPU} == "ON" ]; then # install cuda md5sum -c cuda_7.5.18_linux.run.md5 chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run --extract=$PWD - ./cuda-linux64-rel-7.5.18-19867135.run -noprompt + mv cuda-linux64-rel-7.5.18-*.run tmp rm *.run *.run.md5 + mv tmp cuda-linux64.run + ./cuda-linux64.run -noprompt + rm *.run echo "Downloading cudnn v5.1" set +e diff --git a/paddle/scripts/docker/cpu/build.sh b/paddle/scripts/docker/cpu/build.sh index be59c325b19687dd5406492849da35e5808ac0e5..8b2a2b8e8115518de463ebadfcb6a336f4bbdf65 100644 --- a/paddle/scripts/docker/cpu/build.sh +++ b/paddle/scripts/docker/cpu/build.sh @@ -31,8 +31,11 @@ if [ ${WITH_GPU} == "ON" ]; then # install cuda md5sum -c cuda_7.5.18_linux.run.md5 chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run --extract=$PWD - ./cuda-linux64-rel-7.5.18-19867135.run -noprompt + mv cuda-linux64-rel-7.5.18-*.run tmp rm *.run *.run.md5 + mv tmp cuda-linux64.run + ./cuda-linux64.run -noprompt + rm *.run echo "Downloading cudnn v5.1" set +e diff --git a/paddle/scripts/docker/gpu-demo/build.sh b/paddle/scripts/docker/gpu-demo/build.sh index be59c325b19687dd5406492849da35e5808ac0e5..8b2a2b8e8115518de463ebadfcb6a336f4bbdf65 100644 --- a/paddle/scripts/docker/gpu-demo/build.sh +++ b/paddle/scripts/docker/gpu-demo/build.sh @@ -31,8 +31,11 @@ if [ ${WITH_GPU} == "ON" ]; then # install cuda md5sum -c cuda_7.5.18_linux.run.md5 chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run --extract=$PWD - ./cuda-linux64-rel-7.5.18-19867135.run -noprompt + mv cuda-linux64-rel-7.5.18-*.run tmp rm *.run *.run.md5 + mv tmp cuda-linux64.run + ./cuda-linux64.run -noprompt + rm *.run echo "Downloading cudnn v5.1" set +e diff --git a/paddle/scripts/docker/gpu-devel/build.sh b/paddle/scripts/docker/gpu-devel/build.sh index be59c325b19687dd5406492849da35e5808ac0e5..8b2a2b8e8115518de463ebadfcb6a336f4bbdf65 100644 --- a/paddle/scripts/docker/gpu-devel/build.sh +++ b/paddle/scripts/docker/gpu-devel/build.sh @@ -31,8 +31,11 @@ if [ ${WITH_GPU} == "ON" ]; then # install cuda md5sum -c cuda_7.5.18_linux.run.md5 chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run --extract=$PWD - ./cuda-linux64-rel-7.5.18-19867135.run -noprompt + mv cuda-linux64-rel-7.5.18-*.run tmp rm *.run *.run.md5 + mv tmp cuda-linux64.run + ./cuda-linux64.run -noprompt + rm *.run echo "Downloading cudnn v5.1" set +e diff --git a/paddle/scripts/docker/gpu/build.sh b/paddle/scripts/docker/gpu/build.sh index be59c325b19687dd5406492849da35e5808ac0e5..8b2a2b8e8115518de463ebadfcb6a336f4bbdf65 100644 --- a/paddle/scripts/docker/gpu/build.sh +++ b/paddle/scripts/docker/gpu/build.sh @@ -31,8 +31,11 @@ if [ ${WITH_GPU} == "ON" ]; then # install cuda md5sum -c cuda_7.5.18_linux.run.md5 chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run --extract=$PWD - ./cuda-linux64-rel-7.5.18-19867135.run -noprompt + mv cuda-linux64-rel-7.5.18-*.run tmp rm *.run *.run.md5 + mv tmp cuda-linux64.run + ./cuda-linux64.run -noprompt + rm *.run echo "Downloading cudnn v5.1" set +e