summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorRobert Blake <blake14@llnl.gov>2020-08-12 04:13:57 -0700
committerGitHub <noreply@github.com>2020-08-12 13:13:57 +0200
commitf73141c6af58d3d82f1daf69eb64501e50d452bc (patch)
treeb2062970c6e48a1ac051e3fe7ca00c757c8abb5b /var
parent041e21802e717082308bb98bdeed3d5779ae6b31 (diff)
downloadspack-f73141c6af58d3d82f1daf69eb64501e50d452bc.tar.gz
spack-f73141c6af58d3d82f1daf69eb64501e50d452bc.tar.bz2
spack-f73141c6af58d3d82f1daf69eb64501e50d452bc.tar.xz
spack-f73141c6af58d3d82f1daf69eb64501e50d452bc.zip
Bugfix for #17999: use cudart instead of cuda. (#18000)
This is needed because libcuda is used by the driver, whereas libcudart is used by the runtime. CMake searches for cudart instead of cuda. On LLNL LC systems, libcuda is only found in compat and stubs directories, meaning that the lookup of libraries fails.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cuda/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cuda/package.py b/var/spack/repos/builtin/packages/cuda/package.py
index ff708f9a6c..adf7bf8900 100644
--- a/var/spack/repos/builtin/packages/cuda/package.py
+++ b/var/spack/repos/builtin/packages/cuda/package.py
@@ -132,7 +132,7 @@ class Cuda(Package):
@property
def libs(self):
- libs = find_libraries('libcuda', root=self.prefix, shared=True,
+ libs = find_libraries('libcudart', root=self.prefix, shared=True,
recursive=True)
filtered_libs = []