TAU: Respect ~fortran for +mpi (#40617)
This commit is contained in:
parent
0019faaa17
commit
c9e5173bbd
1 changed files with 3 additions and 2 deletions
|
@ -261,8 +261,9 @@ def install(self, spec, prefix):
|
|||
if "+mpi" in spec:
|
||||
env["CC"] = spec["mpi"].mpicc
|
||||
env["CXX"] = spec["mpi"].mpicxx
|
||||
env["F77"] = spec["mpi"].mpif77
|
||||
env["FC"] = spec["mpi"].mpifc
|
||||
if "+fortran" in spec:
|
||||
env["F77"] = spec["mpi"].mpif77
|
||||
env["FC"] = spec["mpi"].mpifc
|
||||
options.append("-mpiinc=%s" % spec["mpi"].prefix.include)
|
||||
options.append("-mpilib=%s" % spec["mpi"].prefix.lib)
|
||||
|
||||
|
|
Loading…
Reference in a new issue