summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnop Wongwathanarat <annop.wongwathanarat@gmail.com>2023-04-15 13:45:35 +0100
committerGitHub <noreply@github.com>2023-04-15 14:45:35 +0200
commitcf817bdd4edf968fbdb16df689f6eb214ac7981d (patch)
tree6840d551c838b6a2c1e657c400a65d43ba7b6132
parent22984edb1b474e462b5f55f75335af6d4f10dc86 (diff)
downloadspack-cf817bdd4edf968fbdb16df689f6eb214ac7981d.tar.gz
spack-cf817bdd4edf968fbdb16df689f6eb214ac7981d.tar.bz2
spack-cf817bdd4edf968fbdb16df689f6eb214ac7981d.tar.xz
spack-cf817bdd4edf968fbdb16df689f6eb214ac7981d.zip
openblas: add -Wno-error=implicit-function-declaration for Arm compiler (#36821)
-rw-r--r--var/spack/repos/builtin/packages/openblas/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/openblas/package.py b/var/spack/repos/builtin/packages/openblas/package.py
index a105bd98f5..c06fd91203 100644
--- a/var/spack/repos/builtin/packages/openblas/package.py
+++ b/var/spack/repos/builtin/packages/openblas/package.py
@@ -212,7 +212,7 @@ class Openblas(MakefilePackage):
spec = self.spec
iflags = []
if name == "cflags":
- if spec.satisfies("@0.3.20: %oneapi"):
+ if spec.satisfies("@0.3.20: %oneapi") or spec.satisfies("@0.3.20: %arm"):
iflags.append("-Wno-error=implicit-function-declaration")
return (iflags, None, None)