gptune: fix build by setting compilers to mpi wrappers (#28235)
This commit is contained in:
parent
868eaeb70e
commit
04b9d87fca
@ -65,6 +65,9 @@ def cmake_args(self):
|
||||
libs.joined(";"),
|
||||
'-DCMAKE_Fortran_FLAGS=' + ''.join(fc_flags),
|
||||
'-DBUILD_SHARED_LIBS=ON',
|
||||
'-DCMAKE_CXX_COMPILER=%s' % spec['mpi'].mpicxx,
|
||||
'-DCMAKE_C_COMPILER=%s' % spec['mpi'].mpicc,
|
||||
'-DCMAKE_Fortran_COMPILER=%s' % spec['mpi'].mpifc,
|
||||
]
|
||||
|
||||
return args
|
||||
|
Loading…
Reference in New Issue
Block a user