intel-oneapi-mpi: set I_MPI_ROOT in setup_dependent_build_environment (#28890)
* setting I_MPI_ROOT is sometimes needed for find_package(MPI) in cmake to work
This commit is contained in:
parent
13013d0291
commit
1377c02e26
@ -75,6 +75,8 @@ def setup_dependent_build_environment(self, env, dependent_spec):
|
||||
env.set('MPIF90', join_path(dir, 'mpif90'))
|
||||
env.set('MPIFC', join_path(dir, 'mpifc'))
|
||||
|
||||
env.set('I_MPI_ROOT', self.component_path)
|
||||
|
||||
@property
|
||||
def headers(self):
|
||||
include_path = join_path(self.component_path, 'include')
|
||||
|
Loading…
Reference in New Issue
Block a user