openblas/Handle-s390-correctly.patch
Dmitry Roshchin 436e09b8b4 Accepting request 1039250 from home:eeich:branches:science
- Update to v0.3.21:
  * general:
    - Updated the included LAPACK to Reference-LAPACK release 3.10.1
    - when no Fortran compiler is available, OpenBLAS builds will now automatically
    - function LAPACKE_lsame is now annotated with the GCC attribute "const" to aid static analyzers
    - added USE_TLS to the list of options reported by the openblas_get_config() function
    - added SYMBOLPREFIX/SYMBOLSUFFIX handling for LAPACK 3.10.0 functions added in 0.3.20
    - reverted OpenMP threadpool behaviour in the exec_blas call to its state before 0.3.11, that is
      the threadpool will no longer grow or shrink on demand as the overhead for this is too big at least with
      GNU OpenMP. The adaptive behaviour introduced in 0.3.11 can still be requested at runtime by setting
      the environment variable OMP_ADAPTIVE
    - worked around spurious STFSM/CTFSM errors reported by the LAPACK testsuite
  * x86_64:
    - fixed determination of compiler support for AVX512 and removed the 0.3.19
    - workaround for building SKYLAKEX kernels on Sandybridge hardware
    - fixed compilation for the SKYLAKEX target with gcc 6
    - fixed compilation of the SkyLakeX small matrix GEMM kernels with LLVM or ICC
    - added support for the Zhaoxin/Centaur KH40000 cpu
    - fixed a potential crash in the ZSYMV kernel used for all targets except generic
  * POWER:
    - worked around an overflow error in the POWER6 DNRM2 kernel
    - fixed compilation on PPC440
    - fixed a performance regression in the level1 BLAS on POWER10
    - fixed the POWER10 ZGEMM kernel
    - fixed singlethreaded builds for POWER10
    - fixed compilation of the POWER10 DGEMV kernel with older gcc versions
    - enabled compilation of the BFLOAT16 kernels by default
    - enabled the small matrix kernels by default for DYNAMIC_ARCH builds
    - added a workaround for a miscompilation of the CDOT and ZDOT kernels by GCC 12
- Obsolete:

OBS-URL: https://build.opensuse.org/request/show/1039250
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=146
2022-12-01 13:36:16 +00:00

40 lines
984 B
Diff

From: Egbert Eich <eich@suse.com>
Date: Wed Nov 30 20:14:53 2022 +0100
Subject: Handle s390 correctly
Patch-mainline: Not yet
Git-commit: f1761f16899756e4da71df35b82772bcbcc33460
References:
Signed-off-by: Egbert Eich <eich@suse.com>
Signed-off-by: Egbert Eich <eich@suse.de>
---
c_check | 2 +-
ctest.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/c_check b/c_check
index 01d4f4a7..7db8bb42 100755
--- a/c_check
+++ b/c_check
@@ -11,7 +11,7 @@ case "$hostarch" in
arm*) [ "$hostarch" = "arm64" ] || hostarch='arm' ;;
aarch64) hostarch=arm64 ;;
powerpc*|ppc*) hostarch=power ;;
- s390x) hostarch=zarch ;;
+ s390*) hostarch=zarch ;;
esac
makefile="$1"
diff --git a/ctest.c b/ctest.c
index df628b1d..f09571b1 100644
--- a/ctest.c
+++ b/ctest.c
@@ -121,7 +121,7 @@ ARCH_X86_64
ARCH_POWER
#endif
-#if defined(__s390x__) || defined(__zarch__)
+#if defined(__s390x__) || defined(__s390__) || defined(__zarch__)
ARCH_ZARCH
#endif