Update openfast package to explicity pass MPI implementation during cmake configure. (#6590)

This commit is contained in:
Jon Rood 2017-12-08 01:09:35 -07:00 committed by Massimiliano Culpo
parent f49c186f4f
commit 69e76a0a89

View file

@ -81,6 +81,9 @@ def cmake_args(self):
if '+cxx' in spec: if '+cxx' in spec:
options.extend([ options.extend([
'-DMPI_CXX_COMPILER:PATH=%s' % spec['mpi'].mpicxx,
'-DMPI_C_COMPILER:PATH=%s' % spec['mpi'].mpicc,
'-DMPI_Fortran_COMPILER:PATH=%s' % spec['mpi'].mpifc,
'-DHDF5_ROOT:PATH=%s' % spec['hdf5'].prefix, '-DHDF5_ROOT:PATH=%s' % spec['hdf5'].prefix,
'-DYAML_ROOT:PATH=%s' % spec['yaml-cpp'].prefix, '-DYAML_ROOT:PATH=%s' % spec['yaml-cpp'].prefix,
]) ])