diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/flux-sched/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/flux-sched/package.py b/var/spack/repos/builtin/packages/flux-sched/package.py index 337abf5faf..2bac4dfb50 100644 --- a/var/spack/repos/builtin/packages/flux-sched/package.py +++ b/var/spack/repos/builtin/packages/flux-sched/package.py @@ -138,6 +138,8 @@ class FluxSched(AutotoolsPackage): args.append("CXXFLAGS=-Wno-uninitialized") if self.spec.satisfies("%clang@12:"): args.append("CXXFLAGS=-Wno-defaulted-function-deleted") + if self.spec.satisfies("%oneapi"): + args.append("CXXFLAGS=-Wno-tautological-constant-compare") # flux-sched's ax_boost is sometimes weird about non-system locations # explicitly setting the path guarantees success args.append("--with-boost={0}".format(self.spec["boost"].prefix)) |