Skip to content

Commit

Permalink
Revert "upcxx %oneapi@2025: cxxflags add -Wno-error=missing-template-…
Browse files Browse the repository at this point in the history
…arg-list-after-template-kw (spack#47503)" (spack#47512)

This reverts commit 4322cf5.
  • Loading branch information
eugeneswalker authored Nov 9, 2024
1 parent b97015b commit e99bf48
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions var/spack/repos/builtin/packages/upcxx/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,7 @@ 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
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)
flag_handler = env_flags

def set_variables(self, env):
env.set("UPCXX_INSTALL", self.prefix)
Expand Down

0 comments on commit e99bf48

Please sign in to comment.