[intel-oneapi-mpi] Add compiler wrappers to dependent build stage (#22468)
This adds MPICC=/path/to/intel-oneapi/mpicc etc to he dependents build stage enabling the use of the compiler wrappers. Co-authored-by: Stephen Sachs <stesachs@amazon.com>
This commit is contained in:
parent
a7d36cab5b
commit
23b19b55b4
@ -47,6 +47,14 @@ def setup_dependent_build_environment(self, env, dependent_spec):
|
||||
env.set('MPICH_F90', spack_fc)
|
||||
env.set('MPICH_FC', spack_fc)
|
||||
|
||||
# Set compiler wrappers for dependent build stage
|
||||
dir = self._join_prefix('bin')
|
||||
env.set('MPICC', join_path(dir, 'mpicc'))
|
||||
env.set('MPICXX', join_path(dir, 'mpicxx'))
|
||||
env.set('MPIF77', join_path(dir, 'mpif77'))
|
||||
env.set('MPIF90', join_path(dir, 'mpif90'))
|
||||
env.set('MPIFC', join_path(dir, 'mpifc'))
|
||||
|
||||
@property
|
||||
def libs(self):
|
||||
libs = []
|
||||
|
Loading…
Reference in New Issue
Block a user