summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnop Wongwathanarat <annop.wongwathanarat@gmail.com>2023-04-15 13:43:28 +0100
committerGitHub <noreply@github.com>2023-04-15 14:43:28 +0200
commit03ba24b370d473244283db7ffd5c34590980ea9e (patch)
tree943c6614f7018b531a9ce3251595eab77e029ab1
parent6d366c39aea9813d8c89cf559012688c61ae62e9 (diff)
downloadspack-03ba24b370d473244283db7ffd5c34590980ea9e.tar.gz
spack-03ba24b370d473244283db7ffd5c34590980ea9e.tar.bz2
spack-03ba24b370d473244283db7ffd5c34590980ea9e.tar.xz
spack-03ba24b370d473244283db7ffd5c34590980ea9e.zip
scorpio: add -Wno-error=implicit-function-declaration for Arm compiler (#36827)
-rw-r--r--var/spack/repos/builtin/packages/scorpio/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/scorpio/package.py b/var/spack/repos/builtin/packages/scorpio/package.py
index d30039d35b..bfbdac0032 100644
--- a/var/spack/repos/builtin/packages/scorpio/package.py
+++ b/var/spack/repos/builtin/packages/scorpio/package.py
@@ -28,6 +28,6 @@ class Scorpio(CMakePackage):
def cmake_args(self):
opts = []
- if self.spec.satisfies("%apple-clang@12:"):
+ if self.spec.satisfies("%apple-clang@12:") or self.spec.satisfies("%arm@23.04:"):
opts.append(self.define("CMAKE_C_FLAGS", "-Wno-error=implicit-function-declaration"))
return opts