parent
32f8ee6d58
commit
9a1254063a
@ -583,10 +583,12 @@ def cmake_args(self):
|
|||||||
[
|
[
|
||||||
"-DMPI_CXX_COMPILER:PATH=%s" % spec["mpi"].mpicxx,
|
"-DMPI_CXX_COMPILER:PATH=%s" % spec["mpi"].mpicxx,
|
||||||
"-DMPI_C_COMPILER:PATH=%s" % spec["mpi"].mpicc,
|
"-DMPI_C_COMPILER:PATH=%s" % spec["mpi"].mpicc,
|
||||||
"-DMPI_Fortran_COMPILER:PATH=%s" % spec["mpi"].mpifc,
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if "+fortran" in spec:
|
||||||
|
args.extend(["-DMPI_Fortran_COMPILER:PATH=%s" % spec["mpi"].mpifc])
|
||||||
|
|
||||||
# work-around for https://github.com/HDFGroup/hdf5/issues/1320
|
# work-around for https://github.com/HDFGroup/hdf5/issues/1320
|
||||||
if spec.satisfies("@1.10.8,1.13.0"):
|
if spec.satisfies("@1.10.8,1.13.0"):
|
||||||
args.append(self.define("HDF5_INSTALL_CMAKE_DIR", "share/cmake/hdf5"))
|
args.append(self.define("HDF5_INSTALL_CMAKE_DIR", "share/cmake/hdf5"))
|
||||||
|
Loading…
Reference in New Issue
Block a user