petsc: fix compilers listed in pkgconfig/petsc.pc (#48201)

* petsc: fix compilers listed in pkgconfig/petsc.pc

* Also fix reconfigure*.py
This commit is contained in:
Satish Balay 2024-12-27 22:09:00 -06:00 committed by GitHub
parent f57d7fb952
commit 05de2b1ba1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -302,7 +302,8 @@ class Petsc(Package, CudaPackage, ROCmPackage):
# older versions of petsc did not support mumps when +int64
conflicts("+mumps", when="@:3.12+int64")
filter_compiler_wrappers("petscvariables", relative_root="lib/petsc/conf")
filter_compiler_wrappers("petscvariables", "reconfigure*.py", relative_root="lib/petsc/conf")
filter_compiler_wrappers("petsc.pc", "PETSc.pc", relative_root="lib/pkgconfig")
@run_before("configure")
def check_fortran_compiler(self):