summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
author健美猫 <weijianwen@gmail.com>2017-02-04 10:07:54 +0800
committerTodd Gamblin <tgamblin@llnl.gov>2017-02-03 18:07:54 -0800
commit864670c0abc959e94685e45202742656733b5006 (patch)
tree2a0065be32f17732466201a5b20da408980c1808 /var
parent24553c12bbce5fcd5e1a73581a823cdd5fe319f6 (diff)
downloadspack-864670c0abc959e94685e45202742656733b5006.tar.gz
spack-864670c0abc959e94685e45202742656733b5006.tar.bz2
spack-864670c0abc959e94685e45202742656733b5006.tar.xz
spack-864670c0abc959e94685e45202742656733b5006.zip
Retrive CUDA installers from Internet. (#3012)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cuda/package.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/cuda/package.py b/var/spack/repos/builtin/packages/cuda/package.py
index ed8518f98f..f01cf9c730 100644
--- a/var/spack/repos/builtin/packages/cuda/package.py
+++ b/var/spack/repos/builtin/packages/cuda/package.py
@@ -51,14 +51,14 @@ class Cuda(Package):
homepage = "http://www.nvidia.com/object/cuda_home_new.html"
version('8.0.44', '6dca912f9b7e2b7569b0074a41713640', expand=False,
- url="file://%s/cuda_8.0.44_linux.run" % os.getcwd())
+ url="https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda_8.0.44_linux-run")
version('7.5.18', '4b3bcecf0dfc35928a0898793cf3e4c6', expand=False,
- url="file://%s/cuda_7.5.18_linux.run" % os.getcwd())
+ url="http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda_7.5.18_linux.run")
version('6.5.14', '90b1b8f77313600cc294d9271741f4da', expand=False,
- url="file://%s/cuda_6.5.14_linux_64.run" % os.getcwd())
+ url="http://developer.download.nvidia.com/compute/cuda/6_5/rel/installers/cuda_6.5.14_linux_64.run")
def install(self, spec, prefix):
- runfile = glob(os.path.join(self.stage.path, 'cuda*.run'))[0]
+ runfile = glob(os.path.join(self.stage.path, 'cuda*run'))[0]
chmod = which('chmod')
chmod('+x', runfile)
runfile = which(runfile)