diff options
author | Andreas Baumbach <healther@users.noreply.github.com> | 2020-10-02 22:57:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 13:57:46 -0700 |
commit | 9644332a13d68957a74bb8163335a2b13dd2ab93 (patch) | |
tree | d94d9bda4e72505bda91689014d44b11dcd40a29 | |
parent | b18d597c8bfbd878cf367f54ccc05e5f4d6c3c8a (diff) | |
download | spack-9644332a13d68957a74bb8163335a2b13dd2ab93.tar.gz spack-9644332a13d68957a74bb8163335a2b13dd2ab93.tar.bz2 spack-9644332a13d68957a74bb8163335a2b13dd2ab93.tar.xz spack-9644332a13d68957a74bb8163335a2b13dd2ab93.zip |
openblas: patch to build with apple-clang@12.0.0 (#19057)
-rw-r--r-- | var/spack/repos/builtin/packages/openblas/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openblas/package.py b/var/spack/repos/builtin/packages/openblas/package.py index ad0a6c82f8..b663a3bb48 100644 --- a/var/spack/repos/builtin/packages/openblas/package.py +++ b/var/spack/repos/builtin/packages/openblas/package.py @@ -96,6 +96,14 @@ class Openblas(MakefilePackage): # Fix ICE in LLVM 9.0.0 https://github.com/xianyi/OpenBLAS/pull/2329 # Patch as in https://github.com/xianyi/OpenBLAS/pull/2597 patch('openblas_appleclang11.patch', when='@0.3.8:0.3.9 %apple-clang@11.0.3') + # There was an error in Reference-LAPACK that is triggeret by Xcode12 + # fixed upstream by https://github.com/xianyi/OpenBLAS/pull/2808 and + # should be included in post 0.3.10 versions. Application to earlier + # versions was not tested. + # See also https://github.com/xianyi/OpenBLAS/issues/2870 + patch('https://github.com/xianyi/OpenBLAS/commit/f42e84d46c52f4ee1e05af8f365cd85de8a77b95.patch', + sha256='7b1eec78d1b1f55d3a3f1249696be7da0e2e1cd3b7fadae852e97dc860f8a7fd', + when='@0.3.8:0.3.10 %apple-clang@12.0.0:') # Add conditions to f_check to determine the Fujitsu compiler patch('openblas_fujitsu.patch', when='%fj') |