vtk-m %oneapi@2025: cxxflags add -Wno-error=missing-template-arg-list-after-template-kw (#47477)

This commit is contained in:
eugeneswalker 2024-11-11 13:57:45 -08:00 committed by GitHub
parent 484c9cf47c
commit a55073e7b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = []