diff --git a/openblas.spec b/openblas.spec index 48f57323f76c9961e8f3f9fa91fca8ce47e3cebb..f79678a2423b578ae9eebdc2a371d554ade475c9 100644 --- a/openblas.spec +++ b/openblas.spec @@ -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 - 0.3.18-6 +- add support for ppc64le + * Fri Jun 30 2023 xiaoqianlv - 0.3.18-5 - add support for riscv