diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/rempi/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/rempi/package.py b/var/spack/repos/builtin/packages/rempi/package.py index 329c4c4c2e..5ad3dcc0fb 100644 --- a/var/spack/repos/builtin/packages/rempi/package.py +++ b/var/spack/repos/builtin/packages/rempi/package.py @@ -20,3 +20,9 @@ class Rempi(AutotoolsPackage): depends_on("automake", type='build') depends_on("libtool", type='build') depends_on("libpciaccess", type='link') + + def setup_build_environment(self, env): + if self.spec.satisfies('%cce'): + env.set('MPICC', 'mpicc') + env.set('MPICXX', 'mpicxx') + env.set('MPICH_CC', 'cc') |