diff options
author | lukebroskop <luke.roskop@hpe.com> | 2021-05-10 16:31:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 14:31:27 -0700 |
commit | 829199a4606c26e1405728b65e6a840b04e16c5e (patch) | |
tree | 7876224a5e2afddda5f1683f00a4724251416f04 | |
parent | 2913000d92d46e6efe65d095314a19358153038b (diff) | |
download | spack-829199a4606c26e1405728b65e6a840b04e16c5e.tar.gz spack-829199a4606c26e1405728b65e6a840b04e16c5e.tar.bz2 spack-829199a4606c26e1405728b65e6a840b04e16c5e.tar.xz spack-829199a4606c26e1405728b65e6a840b04e16c5e.zip |
craype fix for omega-h (#23504)
add -Wno-final-dtor-non-final-class flag
-rw-r--r-- | var/spack/repos/builtin/packages/omega-h/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/omega-h/package.py b/var/spack/repos/builtin/packages/omega-h/package.py index e562f3836e..b5a01bfad5 100644 --- a/var/spack/repos/builtin/packages/omega-h/package.py +++ b/var/spack/repos/builtin/packages/omega-h/package.py @@ -93,4 +93,8 @@ class OmegaH(CMakePackage): flags = list(flags) if name == 'cxxflags': flags.append(self.compiler.cxx11_flag) + + if self.spec.satisfies('%cce'): + flags.append("-Wno-final-dtor-non-final-class") + return (None, None, flags) |