diff options
author | Carlos Bederián <carlos.bederian@unc.edu.ar> | 2022-04-06 02:08:21 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-06 07:08:21 +0200 |
commit | bd3e86ee28d38ecb9f2057373976c68147aae668 (patch) | |
tree | b5282b83177afd28844e48c6f055f1f30837d85e | |
parent | 7613b8a3bc065a392d550f01ba9c95df04049dca (diff) | |
download | spack-bd3e86ee28d38ecb9f2057373976c68147aae668.tar.gz spack-bd3e86ee28d38ecb9f2057373976c68147aae668.tar.bz2 spack-bd3e86ee28d38ecb9f2057373976c68147aae668.tar.xz spack-bd3e86ee28d38ecb9f2057373976c68147aae668.zip |
scotch: @7: no longer builds libptesmumps.so (#29842)
-rw-r--r-- | var/spack/repos/builtin/packages/scotch/package.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/scotch/package.py b/var/spack/repos/builtin/packages/scotch/package.py index 82ea5eeff2..3fbec80966 100644 --- a/var/spack/repos/builtin/packages/scotch/package.py +++ b/var/spack/repos/builtin/packages/scotch/package.py @@ -87,10 +87,12 @@ class Scotch(CMakePackage): if '+mpi' in self.spec: libraries = ['libptscotch', 'libptscotcherr'] + libraries - if '+esmumps' in self.spec: + + if '+esmumps' in self.spec: + if '~mpi' in self.spec or self.spec.version >= Version('7.0.0'): + libraries = ['libesmumps'] + libraries + else: libraries = ['libptesmumps'] + libraries - elif '~mpi+esmumps' in self.spec: - libraries = ['libesmumps'] + libraries scotchlibs = find_libraries( libraries, root=self.prefix, recursive=True, shared=shared |