espresso: fixed compilation for 6.1 (elpa) and added support for hdf5 (#4483)
* espresso: fixed compilation for 6.1 (elpa) and added support for hdf5 * espresso: addressed items in @davydden review * espresso: fixed behavior for espresso@:5.4.0
This commit is contained in:

committed by
Adam J. Stewart

parent
df6d8d913b
commit
9defe2c1c2
@@ -53,8 +53,11 @@ def url_for_version(self, version):
|
||||
# override default implementation which returns static lib
|
||||
@property
|
||||
def libs(self):
|
||||
|
||||
libname = 'libelpa_openmp' if '+openmp' in self.spec else 'libelpa'
|
||||
|
||||
return find_libraries(
|
||||
['libelpa'], root=self.prefix, shared=True, recurse=True
|
||||
libname, root=self.prefix, shared=True, recurse=True
|
||||
)
|
||||
|
||||
build_directory = 'spack-build'
|
||||
|
Reference in New Issue
Block a user