diff options
author | Annop Wongwathanarat <annop.wongwathanarat@gmail.com> | 2023-04-15 13:40:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 14:40:54 +0200 |
commit | 50711741944d79ffb072cb0e1dec0ede21d2cf36 (patch) | |
tree | 63f93fa90b42ff75a5cd01f9e477dc1eb02e8656 | |
parent | 2651def9faa77ff1432f8606629e2abaea05df05 (diff) | |
download | spack-50711741944d79ffb072cb0e1dec0ede21d2cf36.tar.gz spack-50711741944d79ffb072cb0e1dec0ede21d2cf36.tar.bz2 spack-50711741944d79ffb072cb0e1dec0ede21d2cf36.tar.xz spack-50711741944d79ffb072cb0e1dec0ede21d2cf36.zip |
superlu-dist: add -Wno-error=implicit-function-declaration for Arm compiler (#36831)
-rw-r--r-- | var/spack/repos/builtin/packages/superlu-dist/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/superlu-dist/package.py b/var/spack/repos/builtin/packages/superlu-dist/package.py index 929a4b6e82..074737c09a 100644 --- a/var/spack/repos/builtin/packages/superlu-dist/package.py +++ b/var/spack/repos/builtin/packages/superlu-dist/package.py @@ -103,10 +103,10 @@ class SuperluDist(CMakePackage, CudaPackage, ROCmPackage): if (spec.satisfies("%xl") or spec.satisfies("%xl_r")) and spec.satisfies("@:6.1.1"): append_define("CMAKE_C_FLAGS", "-DNoChange") - if spec.satisfies("%oneapi"): + if spec.satisfies("%oneapi") or spec.satisfies("%arm@23.04:"): # - # 2022 and later Intel OneAPI compilers throws errors compiling - # some of the non ISO C99 compliant code in this package + # 2022 and later Intel OneAPI compilers and Arm compilers version 23.04 and later + # throw errors compiling some of the non ISO C99 compliant code in this package # see https://reviews.llvm.org/D122983 # append_define("CMAKE_C_FLAGS", "-Wno-error=implicit-function-declaration") |