Also set FC when building hypre+fortran (#31850)

This commit is contained in:
Peter Scheibel
2022-08-03 04:12:42 -07:00
committed by GitHub
parent a8480281d5
commit 5603b031de

View File

@@ -140,6 +140,7 @@ def configure_args(self):
os.environ["CXX"] = spec["mpi"].mpicxx
if "+fortran" in spec:
os.environ["F77"] = spec["mpi"].mpif77
os.environ["FC"] = spec["mpi"].mpifc
configure_args.append("--with-MPI")
configure_args.append("--with-MPI-lib-dirs={0}".format(spec["mpi"].prefix.lib))
configure_args.append("--with-MPI-include={0}".format(spec["mpi"].prefix.include))