summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2019-12-06 23:47:03 -0800
committerGitHub <noreply@github.com>2019-12-06 23:47:03 -0800
commitd705e96a636f480217a8f64a69fa4296a427b14e (patch)
treedd427fcdf93576cdcc59abb87df5fb78a09a0c54 /var
parent9d9737f765416305dd2adbd816b447de5c5eae7c (diff)
downloadspack-d705e96a636f480217a8f64a69fa4296a427b14e.tar.gz
spack-d705e96a636f480217a8f64a69fa4296a427b14e.tar.bz2
spack-d705e96a636f480217a8f64a69fa4296a427b14e.tar.xz
spack-d705e96a636f480217a8f64a69fa4296a427b14e.zip
Spec Header Dirs: Only first include/ (#13991)
* CUDA HeaderList: Unit Test * Spec Header Dirs: Only first include/ Avoid matching recurringly nested include paths that usually refer to internally shipped libraries in packages. Example in CUDA Toolkit, shipping a libc++ fork internally with libcu++ since 10.2.89: `<prefix>/include/cuda/some/more/details/include/` or `<prefix>/include/cuda/std/detail/libcxx/include` regex: non-greedy first match of include Co-Authored-By: Massimiliano Culpo <massimiliano.culpo@gmail.com> * CUDA: Re-Enable 10.2.89 as Default
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cuda/package.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/cuda/package.py b/var/spack/repos/builtin/packages/cuda/package.py
index a15fae7c59..97b26bf93b 100644
--- a/var/spack/repos/builtin/packages/cuda/package.py
+++ b/var/spack/repos/builtin/packages/cuda/package.py
@@ -60,8 +60,7 @@ 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,
- preferred=(ver == "10.1.243")) # see GH issue 13969
+ version(ver, sha256=pkg[0], url=pkg[1], expand=False)
# macOS Mojave drops NVIDIA graphics card support -- official NVIDIA
# drivers do not exist for Mojave. See