summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2017-12-13 14:43:40 +0100
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2017-12-13 14:43:40 +0100
commit836bf65250fafbb14bc0710fdc93f1fe0208c58a (patch)
treea2bc3637ba9845ea32e9cc3aa8dca27c31859f69
parent2e4c9e47a8b57106be228465b49af3a4c0131d9d (diff)
downloadspack-836bf65250fafbb14bc0710fdc93f1fe0208c58a.tar.gz
spack-836bf65250fafbb14bc0710fdc93f1fe0208c58a.tar.bz2
spack-836bf65250fafbb14bc0710fdc93f1fe0208c58a.tar.xz
spack-836bf65250fafbb14bc0710fdc93f1fe0208c58a.zip
CUDA: 9.1 (#6663)
Add the latest CUDA release, 9.1
-rw-r--r--var/spack/repos/builtin/packages/cuda/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cuda/package.py b/var/spack/repos/builtin/packages/cuda/package.py
index e54501d8fe..e67cdc34f6 100644
--- a/var/spack/repos/builtin/packages/cuda/package.py
+++ b/var/spack/repos/builtin/packages/cuda/package.py
@@ -38,6 +38,8 @@ class Cuda(Package):
homepage = "http://www.nvidia.com/object/cuda_home_new.html"
+ version('9.1.85', '67a5c3933109507df6b68f80650b4b4a', expand=False,
+ url="https://developer.nvidia.com/compute/cuda/9.1/Prod/local_installers/cuda_9.1.85_387.26_linux")
version('9.0.176', '7a00187b2ce5c5e350e68882f42dd507', expand=False,
url="https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_9.0.176_384.81_linux-run")
version('8.0.61', '33e1bd980e91af4e55f3ef835c103f9b', expand=False,
@@ -50,7 +52,7 @@ class Cuda(Package):
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(join_path(self.stage.path, 'cuda*run'))[0]
+ runfile = glob(join_path(self.stage.path, 'cuda*_linux*'))[0]
chmod = which('chmod')
chmod('+x', runfile)
runfile = which(runfile)
@@ -59,6 +61,7 @@ class Cuda(Package):
# compilers. For example, on CentOS 6, you must use GCC 4.4.7 or
# older. See:
# http://docs.nvidia.com/cuda/cuda-installation-guide-linux/#system-requirements
+ # https://gist.github.com/ax3l/9489132
# for details.
runfile(