Add riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com> Signed-off-by: Richard W.M. Jones <rjones@redhat.com> Related: RHEL-83995 (cherry picked from commit fd9b87e00f07a890143aeeade4bf4ade0b69be40)
This commit is contained in:
parent
66191554ae
commit
0f18268ef3
@ -15,7 +15,7 @@
|
||||
|
||||
Name: openblas
|
||||
Version: 0.3.28
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: An optimized BLAS library based on GotoBLAS2
|
||||
|
||||
License: BSD-3-Clause
|
||||
@ -383,6 +383,9 @@ TARGET="TARGET=ARMV8 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1"
|
||||
%ifarch s390x
|
||||
TARGET="TARGET=ZARCH_GENERIC DYNAMIC_ARCH=1 DYNAMIC_OLDER=1"
|
||||
%endif
|
||||
%ifarch riscv64
|
||||
TARGET="TARGET=RISCV64_GENERIC DYNAMIC_ARCH=0"
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} == 5
|
||||
# Gfortran too old to recognize -frecursive
|
||||
@ -445,6 +448,9 @@ suffix=""
|
||||
%ifarch armv7hl
|
||||
suffix="_armv7"
|
||||
%endif
|
||||
%ifarch riscv64
|
||||
suffix="_riscv64_generic"
|
||||
%endif
|
||||
slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so`
|
||||
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a
|
||||
if [[ "$suffix" != "" ]]; then
|
||||
@ -651,6 +657,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Mar 24 2025 David Abdurachmanov <davidlt@rivosinc.com> - 0.3.28-3
|
||||
- Add riscv64
|
||||
|
||||
* Fri Jan 10 2025 Pavel Simovec <psimovec@redhat.com> - 0.3.28-2
|
||||
- Waive annocheck: --skip-optimization
|
||||
- Resolves: RHEL-33513
|
||||
|
Loading…
Reference in New Issue
Block a user