petsc: fix an error about handling a provider of Scalapack. (#30682)
This commit is contained in:
parent
021b65d76f
commit
d74f2d0be5
1 changed files with 1 additions and 2 deletions
|
@ -442,7 +442,6 @@ def configure_options(self):
|
||||||
|
|
||||||
# Activates library support if needed (i.e. direct dependency)
|
# Activates library support if needed (i.e. direct dependency)
|
||||||
jpeg_sp = spec['jpeg'].name if 'jpeg' in spec else 'jpeg'
|
jpeg_sp = spec['jpeg'].name if 'jpeg' in spec else 'jpeg'
|
||||||
scalapack_sp = spec['scalapack'].name if 'scalapack' in spec else 'scalapack'
|
|
||||||
|
|
||||||
# to be used in the list of libraries below
|
# to be used in the list of libraries below
|
||||||
if '+fortran' in spec:
|
if '+fortran' in spec:
|
||||||
|
@ -489,7 +488,7 @@ def configure_options(self):
|
||||||
('libyaml', 'yaml', True, True),
|
('libyaml', 'yaml', True, True),
|
||||||
'hwloc',
|
'hwloc',
|
||||||
(jpeg_sp, 'libjpeg', True, True),
|
(jpeg_sp, 'libjpeg', True, True),
|
||||||
(scalapack_sp, 'scalapack', False, True),
|
('scalapack', 'scalapack', False, True),
|
||||||
'strumpack',
|
'strumpack',
|
||||||
'mmg',
|
'mmg',
|
||||||
'parmmg',
|
'parmmg',
|
||||||
|
|
Loading…
Reference in a new issue