summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2024-11-06 16:25:47 -0800
committerGitHub <noreply@github.com>2024-11-06 16:25:47 -0800
commit3665c5c01b71525102646d3c3b1d015a72753c4f (patch)
treed0272e160ea94f6b8fe114a8a95019d5dee30bb1
parent73219e4b02e6561bbeef379081f63efb0dc78817 (diff)
downloadspack-3665c5c01b71525102646d3c3b1d015a72753c4f.tar.gz
spack-3665c5c01b71525102646d3c3b1d015a72753c4f.tar.bz2
spack-3665c5c01b71525102646d3c3b1d015a72753c4f.tar.xz
spack-3665c5c01b71525102646d3c3b1d015a72753c4f.zip
slate %oneapi@2025: cxxflags: add -Wno-error=missing-template-arg-list-after-template-kw (#47476)
-rw-r--r--var/spack/repos/builtin/packages/slate/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/slate/package.py b/var/spack/repos/builtin/packages/slate/package.py
index 82829b2edc..879c773603 100644
--- a/var/spack/repos/builtin/packages/slate/package.py
+++ b/var/spack/repos/builtin/packages/slate/package.py
@@ -127,6 +127,12 @@ class Slate(CMakePackage, CudaPackage, ROCmPackage):
conflicts("+sycl", when="@:2022.07.00", msg="SYCL support requires SLATE version 2023.08.25")
conflicts("^hip@5.6.0:", when="@:2023.08.25", msg="Incompatible version of HIP/ROCm")
+ 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
backend_config = "-Duse_cuda=%s" % ("+cuda" in spec)