Allow find_libraries to accept lists or strings (#3363)
* Allow find_libraries to accept lists or strings * Convert one more example from list to string
This commit is contained in:
@@ -74,14 +74,14 @@ def patch(self):
|
||||
def blas_libs(self):
|
||||
shared = True if '+shared' in self.spec else False
|
||||
return find_libraries(
|
||||
['libblas'], root=self.prefix, shared=shared, recurse=True
|
||||
'libblas', root=self.prefix, shared=shared, recurse=True
|
||||
)
|
||||
|
||||
@property
|
||||
def lapack_libs(self):
|
||||
shared = True if '+shared' in self.spec else False
|
||||
return find_libraries(
|
||||
['liblapack'], root=self.prefix, shared=shared, recurse=True
|
||||
'liblapack', root=self.prefix, shared=shared, recurse=True
|
||||
)
|
||||
|
||||
def install_one(self, spec, prefix, shared):
|
||||
|
Reference in New Issue
Block a user