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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user