diff options
author | Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> | 2021-05-11 18:31:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-12 01:31:15 +0000 |
commit | e7219db93dbb606a77f9ef291780284c05cb9764 (patch) | |
tree | cbbb4d3a68bc488ab576d4bf621d4a96595f74f4 /var | |
parent | 1ae28f66c6e53889c7f76f234a011672fefe37a4 (diff) | |
download | spack-e7219db93dbb606a77f9ef291780284c05cb9764.tar.gz spack-e7219db93dbb606a77f9ef291780284c05cb9764.tar.bz2 spack-e7219db93dbb606a77f9ef291780284c05cb9764.tar.xz spack-e7219db93dbb606a77f9ef291780284c05cb9764.zip |
Bugfix for "Revert "craype fix for rempi"" (#23580)
This reverts and fixes commit 1ae28f66c6e53889c7f76f234a011672fefe37a4.
Co-authored-by: lukebroskop <luke.roskop@hpe.com>
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') |