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..0a68cb5f73 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'): + spack_env.set('MPICC', 'mpicc') + spack_env.set('MPICXX', 'mpicxx') + spack_env.set('MPICH_CC', 'cc') |