Init support for ppc64le
Signed-off-by: hefq343 <fengqing.he@shingroup.cn>
This commit is contained in:
parent
20e7230ca7
commit
15fdb33725
@ -2,7 +2,7 @@
|
||||
|
||||
Name: openblas
|
||||
Version: 0.3.18
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/xianyi/OpenBLAS/
|
||||
@ -48,7 +48,7 @@ Obsoletes: openblas-serial64_ < %{version}-%{release} openblas-openmp64_ <
|
||||
Obsoletes: openblas-threads64_ < %{version}-%{release} openblas-Rblas < %{version}-%{release}
|
||||
%endif
|
||||
|
||||
ExclusiveArch: x86_64 aarch64 riscv64
|
||||
ExclusiveArch: x86_64 aarch64 riscv64 ppc64le
|
||||
|
||||
%description
|
||||
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD \
|
||||
@ -185,6 +185,9 @@ TARGET="TARGET=ARMV8 DYNAMIC_ARCH=0"
|
||||
%ifarch riscv64
|
||||
TARGET="TARGET=RISCV64_GENERIC DYNAMIC_ARCH=0"
|
||||
%endif
|
||||
%ifarch ppc64le
|
||||
TARGET="TARGET=POWER8 DYNAMIC_ARCH=0"
|
||||
%endif
|
||||
|
||||
COMMON="%{optflags} -fPIC"
|
||||
FCOMMON="%{optflags} -fPIC -frecursive"
|
||||
@ -291,6 +294,9 @@ suffix="_armv8"
|
||||
%ifarch riscv64
|
||||
suffix="_riscv64_generic"
|
||||
%endif
|
||||
%ifarch ppc64le
|
||||
suffix="_power8"
|
||||
%endif
|
||||
slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so`
|
||||
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a
|
||||
if [[ "$suffix" != "" ]]; then
|
||||
@ -434,6 +440,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Jun 20 2024 hefq343 <fengqing.he@shingroup.cn>- 0.3.18-6
|
||||
- add support for ppc64le
|
||||
|
||||
* Fri Jun 30 2023 xiaoqianlv <xiaoqian@nj.iscas.ac.cn>- 0.3.18-5
|
||||
- add support for riscv
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user