diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2022-12-11 19:02:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-11 19:02:07 +0100 |
commit | 2371ec7497f12eda0a6540f7495ed11e2bc5812b (patch) | |
tree | f710de370a749f9a48fa6aa3db3048467cdcdda4 /var | |
parent | aa3b6e598f8a504ee00c86cc3035482e642d2874 (diff) | |
download | spack-2371ec7497f12eda0a6540f7495ed11e2bc5812b.tar.gz spack-2371ec7497f12eda0a6540f7495ed11e2bc5812b.tar.bz2 spack-2371ec7497f12eda0a6540f7495ed11e2bc5812b.tar.xz spack-2371ec7497f12eda0a6540f7495ed11e2bc5812b.zip |
openblas: fix bound :7.3 to :7.3.0 (#34443)
This patch:
https://gcc.gnu.org/legacy-ml/gcc-patches/2018-01/msg01962.html
is actually in Amazon Linux GCC 7.3.1, which we use in CI.
So we should not hold openblas back because of it.
Old versions of OpenBLAS fail to detect the host arch of some of the
AVX512 cpus of build nodes, causing build failures.
Of course we should try to set ARCH properly in OpenBLAS to avoid that
it looks up the build arch, but that's quite some work.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/openblas/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/openblas/package.py b/var/spack/repos/builtin/packages/openblas/package.py index 099d00fb56..f403e1ef60 100644 --- a/var/spack/repos/builtin/packages/openblas/package.py +++ b/var/spack/repos/builtin/packages/openblas/package.py @@ -182,7 +182,9 @@ class Openblas(MakefilePackage): ) # See https://github.com/spack/spack/issues/19932#issuecomment-733452619 - conflicts("%gcc@7.0.0:7.3,8.0.0:8.2", when="@0.3.11:") + # Notice: fixed on Amazon Linux GCC 7.3.1 (which is an unofficial version + # as GCC only has major.minor releases. But the bound :7.3.0 doesn't hurt) + conflicts("%gcc@7:7.3.0,8:8.2", when="@0.3.11:") # See https://github.com/xianyi/OpenBLAS/issues/3074 conflicts("%gcc@:10.1", when="@0.3.13 target=ppc64le:") |