diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/mumps/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/mumps/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mumps/package.py b/var/spack/repos/builtin/packages/mumps/package.py index cf3c4bbd1e..43f565ec99 100644 --- a/var/spack/repos/builtin/packages/mumps/package.py +++ b/var/spack/repos/builtin/packages/mumps/package.py @@ -262,3 +262,11 @@ class Mumps(Package): os.system('./dsimpletest < input_simpletest_real') if '+complex' in spec: os.system('./zsimpletest < input_simpletest_cmplx') + + @property + def libs(self): + component_libs = ['*mumps*', 'pord'] + return find_libraries(['lib' + comp for comp in component_libs], + root=self.prefix.lib, + shared=('+shared' in self.spec), + recursive=False) or None |