summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2024-11-06 16:26:04 -0800
committerGitHub <noreply@github.com>2024-11-06 16:26:04 -0800
commitdd26732897aa2a0d3f5e4897aa87cc200acece00 (patch)
treef3e9a49053b3d16512b16bccf9a8df8a6e1bca7c
parent3665c5c01b71525102646d3c3b1d015a72753c4f (diff)
downloadspack-dd26732897aa2a0d3f5e4897aa87cc200acece00.tar.gz
spack-dd26732897aa2a0d3f5e4897aa87cc200acece00.tar.bz2
spack-dd26732897aa2a0d3f5e4897aa87cc200acece00.tar.xz
spack-dd26732897aa2a0d3f5e4897aa87cc200acece00.zip
legion%oneapi@2025: cxxflags add -Wno-error=missing-template-arg-list-after-template-kw (#47478)
-rw-r--r--var/spack/repos/builtin/packages/legion/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/legion/package.py b/var/spack/repos/builtin/packages/legion/package.py
index 74f46d380a..4e1a9cccf7 100644
--- a/var/spack/repos/builtin/packages/legion/package.py
+++ b/var/spack/repos/builtin/packages/legion/package.py
@@ -310,6 +310,12 @@ class Legion(CMakePackage, ROCmPackage):
"sysomp", default=False, description="Use system OpenMP implementation instead of Realm's"
)
+ def flag_handler(self, name, flags):
+ if name == "cxxflags":
+ if self.spec.satisfies("%oneapi@2025:"):
+ flags.append("-Wno-error=missing-template-arg-list-after-template-kw")
+ return (flags, None, None)
+
def cmake_args(self):
spec = self.spec
from_variant = self.define_from_variant