init support for arch ppc64le
This commit is contained in:
parent
b87ce66132
commit
8104e5fcf1
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: openblas
|
Name: openblas
|
||||||
Version: 0.3.25
|
Version: 0.3.25
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version
|
Summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/xianyi/OpenBLAS/
|
URL: https://github.com/xianyi/OpenBLAS/
|
||||||
@ -34,7 +34,7 @@ Obsoletes: openblas-serial64_ < %{version}-%{release} openblas-openmp64_ <
|
|||||||
Obsoletes: openblas-threads64_ < %{version}-%{release} openblas-Rblas < %{version}-%{release}
|
Obsoletes: openblas-threads64_ < %{version}-%{release} openblas-Rblas < %{version}-%{release}
|
||||||
Obsoletes: openblas-static < %{version}-%{release}
|
Obsoletes: openblas-static < %{version}-%{release}
|
||||||
|
|
||||||
ExclusiveArch: x86_64 aarch64 loongarch64 riscv64
|
ExclusiveArch: x86_64 aarch64 loongarch64 riscv64 ppc64le
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD \
|
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD \
|
||||||
@ -168,6 +168,9 @@ TARGET="TARGET=ARMV8 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1"
|
|||||||
%ifarch riscv64
|
%ifarch riscv64
|
||||||
TARGET="TARGET=RISCV64_GENERIC DYNAMIC_ARCH=0"
|
TARGET="TARGET=RISCV64_GENERIC DYNAMIC_ARCH=0"
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch ppc64le
|
||||||
|
TARGET="TARGET=POWER8 DYNAMIC_ARCH=0"
|
||||||
|
%endif
|
||||||
|
|
||||||
COMMON="%{optflags} -fPIC"
|
COMMON="%{optflags} -fPIC"
|
||||||
FCOMMON="%{optflags} -fPIC -frecursive"
|
FCOMMON="%{optflags} -fPIC -frecursive"
|
||||||
@ -227,6 +230,9 @@ suffix="_loongson3r5"
|
|||||||
%ifarch riscv64
|
%ifarch riscv64
|
||||||
suffix="_riscv64_generic"
|
suffix="_riscv64_generic"
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch ppc64le
|
||||||
|
suffix="_power8"
|
||||||
|
%endif
|
||||||
slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so`
|
slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so`
|
||||||
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a
|
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a
|
||||||
if [[ "$suffix" != "" ]]; then
|
if [[ "$suffix" != "" ]]; then
|
||||||
@ -365,6 +371,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
|
|||||||
%{_libdir}/lib%{name}*64_.so
|
%{_libdir}/lib%{name}*64_.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 16 2024 jiahua.yu <jiahua.yu@shingroup.cn> - 0.3.25-2
|
||||||
|
- init support for arch ppc64le
|
||||||
|
|
||||||
* Mon Jan 08 2024 xu_ping <707078654@qq.com> - 0.3.25-1
|
* Mon Jan 08 2024 xu_ping <707078654@qq.com> - 0.3.25-1
|
||||||
- Update to 0.3.25
|
- Update to 0.3.25
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user