diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2019-12-04 19:28:10 -0800 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-12-04 21:28:10 -0600 |
commit | ba156dfcd863b856684359dbfe8305ef445b1c71 (patch) | |
tree | 3dee6ae98fdd2957d2854ade0566f1d40a17835d | |
parent | e5f04f9abc90d159379c167eec3ccbe5173dc395 (diff) | |
download | spack-ba156dfcd863b856684359dbfe8305ef445b1c71.tar.gz spack-ba156dfcd863b856684359dbfe8305ef445b1c71.tar.bz2 spack-ba156dfcd863b856684359dbfe8305ef445b1c71.tar.xz spack-ba156dfcd863b856684359dbfe8305ef445b1c71.zip |
CUDA: Keep 10.1.243 As Preferred (#13983)
Keep CUDA 10.1.243 as the preferred version until the issue
of including implementation details of libcu++ is addressed.
-rw-r--r-- | var/spack/repos/builtin/packages/cuda/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cuda/package.py b/var/spack/repos/builtin/packages/cuda/package.py index 97b26bf93b..a15fae7c59 100644 --- a/var/spack/repos/builtin/packages/cuda/package.py +++ b/var/spack/repos/builtin/packages/cuda/package.py @@ -60,7 +60,8 @@ class Cuda(Package): key = "{0}-{1}".format(platform.system(), platform.machine()) pkg = packages.get(key) if pkg: - version(ver, sha256=pkg[0], url=pkg[1], expand=False) + version(ver, sha256=pkg[0], url=pkg[1], expand=False, + preferred=(ver == "10.1.243")) # see GH issue 13969 # macOS Mojave drops NVIDIA graphics card support -- official NVIDIA # drivers do not exist for Mojave. See |