summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2024-11-11 13:57:45 -0800
committerGitHub <noreply@github.com>2024-11-11 13:57:45 -0800
commita55073e7b09df4a6b2f53844fe470125a1ca76ba (patch)
treef1f95cb9f47aa5cf710b5812c366d504bfa779f7
parent484c9cf47c3017e96803edb16eb407a087ec2f11 (diff)
downloadspack-a55073e7b09df4a6b2f53844fe470125a1ca76ba.tar.gz
spack-a55073e7b09df4a6b2f53844fe470125a1ca76ba.tar.bz2
spack-a55073e7b09df4a6b2f53844fe470125a1ca76ba.tar.xz
spack-a55073e7b09df4a6b2f53844fe470125a1ca76ba.zip
vtk-m %oneapi@2025: cxxflags add -Wno-error=missing-template-arg-list-after-template-kw (#47477)
-rw-r--r--var/spack/repos/builtin/packages/vtk-m/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/vtk-m/package.py b/var/spack/repos/builtin/packages/vtk-m/package.py
index 6bf7c4203f..c5cef49c58 100644
--- a/var/spack/repos/builtin/packages/vtk-m/package.py
+++ b/var/spack/repos/builtin/packages/vtk-m/package.py
@@ -185,6 +185,12 @@ class VtkM(CMakePackage, CudaPackage, ROCmPackage):
when="@1.6.0:2.1 +cuda ^cuda@12.5:",
)
+ def flag_handler(self, name, flags):
+ if name == "cxxflags":
+ if self.spec.satisfies("@:2.2.0 %oneapi@2025:"):
+ flags.append("-Wno-error=missing-template-arg-list-after-template-kw")
+ return (flags, None, None)
+
def cmake_args(self):
spec = self.spec
options = []