loki%oneapi@2023.0.0: -Wno-error=dynamic-exception-spec (#34899)
This commit is contained in:
parent
ffae0db115
commit
153b79c2ed
@ -18,6 +18,13 @@ class Loki(MakefilePackage):
|
|||||||
|
|
||||||
variant("shared", default=True, description="Build shared libraries")
|
variant("shared", default=True, description="Build shared libraries")
|
||||||
|
|
||||||
|
def flag_handler(self, name, flags):
|
||||||
|
iflags = []
|
||||||
|
if name == "cxxflags":
|
||||||
|
if self.spec.satisfies("%oneapi@2023.0.0:"):
|
||||||
|
iflags.append("-Wno-error=dynamic-exception-spec")
|
||||||
|
return (iflags, None, None)
|
||||||
|
|
||||||
def build(self, spec, prefix):
|
def build(self, spec, prefix):
|
||||||
if "+shared" in spec:
|
if "+shared" in spec:
|
||||||
make("-C", "src", "build-shared")
|
make("-C", "src", "build-shared")
|
||||||
|
Loading…
Reference in New Issue
Block a user