paraview package: Explicitly specify MPI compilers in Cmake (#6738)
This commit is contained in:
parent
5dd5dc01c2
commit
2812644ed7
1 changed files with 4 additions and 1 deletions
|
@ -151,7 +151,10 @@ def nvariant_bool(feature):
|
|||
if '+mpi' in spec:
|
||||
cmake_args.extend([
|
||||
'-DPARAVIEW_USE_MPI:BOOL=ON',
|
||||
'-DMPIEXEC:FILEPATH=%s/bin/mpiexec' % spec['mpi'].prefix
|
||||
'-DMPIEXEC:FILEPATH=%s/bin/mpiexec' % spec['mpi'].prefix,
|
||||
'-DMPI_CXX_COMPILER:PATH=%s' % spec['mpi'].mpicxx,
|
||||
'-DMPI_C_COMPILER:PATH=%s' % spec['mpi'].mpicc,
|
||||
'-DMPI_Fortran_COMPILER:PATH=%s' % spec['mpi'].mpifc
|
||||
])
|
||||
|
||||
if 'darwin' in spec.architecture:
|
||||
|
|
Loading…
Reference in a new issue