diff options
author | eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> | 2024-11-08 14:12:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-08 15:12:50 -0700 |
commit | 4322cf56b15a0a088156f5702d44a04e8238b4b3 (patch) | |
tree | 8e80d87b463e136909d92b9a588e57d3d5742ce3 /var | |
parent | 907a37145f9434d36b238ef8f435f157a7fb129b (diff) | |
download | spack-4322cf56b15a0a088156f5702d44a04e8238b4b3.tar.gz spack-4322cf56b15a0a088156f5702d44a04e8238b4b3.tar.bz2 spack-4322cf56b15a0a088156f5702d44a04e8238b4b3.tar.xz spack-4322cf56b15a0a088156f5702d44a04e8238b4b3.zip |
upcxx %oneapi@2025: cxxflags add -Wno-error=missing-template-arg-list-after-template-kw (#47503)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/upcxx/package.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/upcxx/package.py b/var/spack/repos/builtin/packages/upcxx/package.py index 9197102568..4e23f42431 100644 --- a/var/spack/repos/builtin/packages/upcxx/package.py +++ b/var/spack/repos/builtin/packages/upcxx/package.py @@ -164,7 +164,11 @@ class Upcxx(Package, CudaPackage, ROCmPackage): depends_on("oneapi-level-zero@1.8.0:", when="+level_zero") # All flags should be passed to the build-env in autoconf-like vars - flag_handler = env_flags + 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 set_variables(self, env): env.set("UPCXX_INSTALL", self.prefix) |