libmesh: explicitly disable metis in ~metis case (#45781)

This commit is contained in:
Richard Berger 2024-08-15 12:28:21 -06:00 committed by GitHub
parent b11bd6b745
commit 7112a49d1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -261,6 +261,8 @@ def configure_args(self):
if "+petsc" in self.spec: if "+petsc" in self.spec:
options.append("--with-metis=PETSc") options.append("--with-metis=PETSc")
options.append("--with-parmetis=PETSc") options.append("--with-parmetis=PETSc")
else:
options.append("--disable-metis")
if "+petsc" in self.spec or "+slepc" in self.spec: if "+petsc" in self.spec or "+slepc" in self.spec:
options.append("--enable-petsc=yes") options.append("--enable-petsc=yes")