diff options
author | Christoph Junghans <christoph.junghans@gmail.com> | 2019-03-07 14:08:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-07 14:08:52 -0700 |
commit | c11e7454210218f4c0e4e565c5e40392f7a27f2a (patch) | |
tree | 718a6f75c2ac51e381f334bf24cfde0362dc2c56 | |
parent | 2f7589adc41f3bf0b2690a8b647f30ec464a9352 (diff) | |
download | spack-c11e7454210218f4c0e4e565c5e40392f7a27f2a.tar.gz spack-c11e7454210218f4c0e4e565c5e40392f7a27f2a.tar.bz2 spack-c11e7454210218f4c0e4e565c5e40392f7a27f2a.tar.xz spack-c11e7454210218f4c0e4e565c5e40392f7a27f2a.zip |
cloverleaf3d: overwrite flags (#10830)
-rw-r--r-- | var/spack/repos/builtin/packages/cloverleaf3d/package.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cloverleaf3d/package.py b/var/spack/repos/builtin/packages/cloverleaf3d/package.py index e2f4f437b8..e96c50a290 100644 --- a/var/spack/repos/builtin/packages/cloverleaf3d/package.py +++ b/var/spack/repos/builtin/packages/cloverleaf3d/package.py @@ -46,14 +46,24 @@ class Cloverleaf3d(MakefilePackage): if '%gcc' in self.spec: targets.append('COMPILER=GNU') + targets.append('FLAGS_GNU=') + targets.append('CFLAGS_GNU=') elif '%cce' in self.spec: targets.append('COMPILER=CRAY') + targets.append('FLAGS_CRAY=') + targets.append('CFLAGS_CRAY=') elif '%intel' in self.spec: targets.append('COMPILER=INTEL') + targets.append('FLAGS_INTEL=') + targets.append('CFLAGS_INTEL=') elif '%pgi' in self.spec: targets.append('COMPILER=PGI') + targets.append('FLAGS_PGI=') + targets.append('CFLAGS_PGI=') elif '%xl' in self.spec: targets.append('COMPILER=XLF') + targets.append('FLAGS_XLF=') + targets.append('CFLAGS_XLF=') return targets |