Tioga package: Explicitly list MPI compilers for Cmake (#6741)

This commit is contained in:
Jon Rood 2018-01-02 14:14:22 -07:00 committed by scheibelp
parent 2812644ed7
commit 285538a78d

View file

@ -48,7 +48,10 @@ def cmake_args(self):
options = [ options = [
'-DBUILD_SHARED_LIBS:BOOL=%s' % ( '-DBUILD_SHARED_LIBS:BOOL=%s' % (
'ON' if '+shared' in spec else 'OFF') 'ON' if '+shared' in spec else 'OFF'),
'-DMPI_CXX_COMPILER:PATH=%s' % spec['mpi'].mpicxx,
'-DMPI_C_COMPILER:PATH=%s' % spec['mpi'].mpicc,
'-DMPI_Fortran_COMPILER:PATH=%s' % spec['mpi'].mpifc
] ]
return options return options