petsc: fix an error about handling a provider of Scalapack. (#30682)

This commit is contained in:
h-murai 2022-05-17 16:33:49 +09:00 committed by GitHub
parent 021b65d76f
commit d74f2d0be5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -442,7 +442,6 @@ def configure_options(self):
# Activates library support if needed (i.e. direct dependency)
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
if '+fortran' in spec:
@ -489,7 +488,7 @@ def configure_options(self):
('libyaml', 'yaml', True, True),
'hwloc',
(jpeg_sp, 'libjpeg', True, True),
(scalapack_sp, 'scalapack', False, True),
('scalapack', 'scalapack', False, True),
'strumpack',
'mmg',
'parmmg',