openblas@0.3.20 %openblas: -Wno-implicit-function-declaration (#32065)
This commit is contained in:
parent
d192e6f88b
commit
b43104acab
1 changed files with 8 additions and 0 deletions
|
@ -177,6 +177,14 @@ class Openblas(MakefilePackage):
|
|||
|
||||
depends_on("perl", type="build")
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
spec = self.spec
|
||||
iflags = []
|
||||
if name == "cflags":
|
||||
if spec.satisfies("@0.3.20 %oneapi"):
|
||||
iflags.append("-Wno-error=implicit-function-declaration")
|
||||
return (iflags, None, None)
|
||||
|
||||
@classmethod
|
||||
def determine_version(cls, lib):
|
||||
ver = None
|
||||
|
|
Loading…
Reference in a new issue