paraview package: Explicitly specify MPI compilers in Cmake (#6738)

This commit is contained in:
Jon Rood 2018-01-02 14:06:25 -07:00 committed by scheibelp
parent 5dd5dc01c2
commit 2812644ed7

View file

@ -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: