summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-02-20 17:41:31 -0600
committerTodd Gamblin <tgamblin@llnl.gov>2017-02-20 15:41:31 -0800
commit0203545eb82a295e67fd1451a806551dbc56a0f4 (patch)
tree25b3791ce78f8fee31d5de4a95387a5ce802d8e8 /var
parent031cde6e25e2b48035b61c95f9b2e4c92183fb30 (diff)
downloadspack-0203545eb82a295e67fd1451a806551dbc56a0f4.tar.gz
spack-0203545eb82a295e67fd1451a806551dbc56a0f4.tar.bz2
spack-0203545eb82a295e67fd1451a806551dbc56a0f4.tar.xz
spack-0203545eb82a295e67fd1451a806551dbc56a0f4.zip
Update CUDA docstring, no longer need to download manually (#3191)
* Update CUDA docstring, no longer need to download manually
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cuda/package.py16
1 files changed, 2 insertions, 14 deletions
diff --git a/var/spack/repos/builtin/packages/cuda/package.py b/var/spack/repos/builtin/packages/cuda/package.py
index f01cf9c730..19c787f5e6 100644
--- a/var/spack/repos/builtin/packages/cuda/package.py
+++ b/var/spack/repos/builtin/packages/cuda/package.py
@@ -24,7 +24,6 @@
##############################################################################
from spack import *
from glob import glob
-import os
class Cuda(Package):
@@ -32,21 +31,10 @@ class Cuda(Package):
by NVIDIA. It enables dramatic increases in computing performance by
harnessing the power of the graphics processing unit (GPU).
- Note: NVIDIA does not provide a download URL for CUDA so you will
- need to download it yourself. Go to
- https://developer.nvidia.com/cuda-downloads and select your Operating
- System, Architecture, Distribution, and Version. For the Installer
- Type, select runfile and click Download. Spack will search your
- current directory for this file. Alternatively, add this file to a
- mirror so that Spack can find it. For instructions on how to set up a
- mirror, see http://spack.readthedocs.io/en/latest/mirrors.html.
-
Note: This package does not currently install the drivers necessary
to run CUDA. These will need to be installed manually. See:
http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux for
- details.
-
- """
+ details."""
homepage = "http://www.nvidia.com/object/cuda_home_new.html"
@@ -58,7 +46,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(os.path.join(self.stage.path, 'cuda*run'))[0]
+ runfile = glob(join_path(self.stage.path, 'cuda*run'))[0]
chmod = which('chmod')
chmod('+x', runfile)
runfile = which(runfile)