flux-sched: fix oneapi build (#32233)

This commit is contained in:
Robert Cohn 2022-08-18 07:34:34 -07:00 committed by GitHub
parent 9d55a0436b
commit 3d4705ffab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,6 +138,8 @@ def configure_args(self):
args.append("CXXFLAGS=-Wno-uninitialized") args.append("CXXFLAGS=-Wno-uninitialized")
if self.spec.satisfies("%clang@12:"): if self.spec.satisfies("%clang@12:"):
args.append("CXXFLAGS=-Wno-defaulted-function-deleted") 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 # flux-sched's ax_boost is sometimes weird about non-system locations
# explicitly setting the path guarantees success # explicitly setting the path guarantees success
args.append("--with-boost={0}".format(self.spec["boost"].prefix)) args.append("--with-boost={0}".format(self.spec["boost"].prefix))