charmpp: avoid setting MPICC for mpi backend (#23645)
This commit is contained in:
parent
fbf50fbfa8
commit
b9cdc7ed55
@ -370,6 +370,7 @@ def check_build(self):
|
||||
'test', 'TESTOPTS=++local', parallel=False)
|
||||
|
||||
def setup_dependent_build_environment(self, env, dependent_spec):
|
||||
if not self.spec.satisfies("backend=mpi"):
|
||||
env.set('MPICC', self.prefix.bin.ampicc)
|
||||
env.set('MPICXX', self.prefix.bin.ampicxx)
|
||||
env.set('MPIF77', self.prefix.bin.ampif77)
|
||||
|
Loading…
Reference in New Issue
Block a user