Accepting request 1045249 from home:StefanBruens:branches:science

- Fix aarch64 builds with GCC < 9 (i.e. Leap/SLE 15.x), disable
  NEOVERSEN2 target. See gh#xianyi/OpenBLAS#3874.

OBS-URL: https://build.opensuse.org/request/show/1045249
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=149
This commit is contained in:
Atri Bhattacharya 2022-12-25 05:39:09 +00:00 committed by Git OBS Bridge
parent 27dfcdcfe4
commit bfa779842f
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 25 00:19:21 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Fix aarch64 builds with GCC < 9 (i.e. Leap/SLE 15.x), disable
NEOVERSEN2 target. See gh#xianyi/OpenBLAS#3874.
-------------------------------------------------------------------
Wed Nov 30 19:24:20 UTC 2022 - Egbert Eich <eich@suse.com>

View File

@ -191,8 +191,6 @@ Patch101: Link-library-with-z-noexecstack.patch
Patch102: Handle-s390-correctly.patch
Patch103: openblas-ppc64be_up2_p8.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#BuildRequires: cmake
BuildRequires: memory-constraints
%if 0%{?cc_v:1}
@ -346,6 +344,10 @@ EOF
%endif
%ifarch aarch64
%global openblas_target %openblas_target TARGET=ARMV8
%if 0%{?suse_version} < 1550
# Only enable targets without sve when using GCC < 9
%global openblas_target %openblas_target DYNAMIC_LIST="ARMV8 CORTEXA53 CORTEXA57 CORTEXA72 CORTEXA73 CORTEXA55 FALKOR THUNDERX THUNDERX2T99 TSV110 EMAG8180 NEOVERSEN1 NEOVERSEV1 THUNDERX3T110"
%endif
%define openblas_opt BUILD_BFLOAT16=1
%endif
%ifarch s390 s390x