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.
This commit is contained in:
parent
041e21802e
commit
f73141c6af
@ -132,7 +132,7 @@ def install(self, spec, prefix):
|
||||
|
||||
@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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user