scotch: @7: no longer builds libptesmumps.so (#29842)
This commit is contained in:
parent
7613b8a3bc
commit
bd3e86ee28
1 changed files with 5 additions and 3 deletions
|
@ -87,10 +87,12 @@ def libs(self):
|
||||||
|
|
||||||
if '+mpi' in self.spec:
|
if '+mpi' in self.spec:
|
||||||
libraries = ['libptscotch', 'libptscotcherr'] + libraries
|
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
|
libraries = ['libptesmumps'] + libraries
|
||||||
elif '~mpi+esmumps' in self.spec:
|
|
||||||
libraries = ['libesmumps'] + libraries
|
|
||||||
|
|
||||||
scotchlibs = find_libraries(
|
scotchlibs = find_libraries(
|
||||||
libraries, root=self.prefix, recursive=True, shared=shared
|
libraries, root=self.prefix, recursive=True, shared=shared
|
||||||
|
|
Loading…
Reference in a new issue