Tioga package: Explicitly list MPI compilers for Cmake (#6741)
This commit is contained in:
parent
2812644ed7
commit
285538a78d
1 changed files with 4 additions and 1 deletions
|
@ -48,7 +48,10 @@ def cmake_args(self):
|
|||
|
||||
options = [
|
||||
'-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
|
||||
|
|
Loading…
Reference in a new issue