openblas@0.3.20 %openblas: -Wno-implicit-function-declaration (#32065)

This commit is contained in:
eugeneswalker 2022-08-14 04:43:51 -07:00 committed by GitHub
parent d192e6f88b
commit b43104acab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,6 +177,14 @@ class Openblas(MakefilePackage):
depends_on("perl", type="build") 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 @classmethod
def determine_version(cls, lib): def determine_version(cls, lib):
ver = None ver = None