From 70feb685021e10059d33d7bec79f080336c34a5c Mon Sep 17 00:00:00 2001 From: gxw Date: Tue, 7 Nov 2023 17:50:19 +0800 Subject: [PATCH] OpenBLAS-0.3.23: Enable DYNAMIC_ARCH for LoongArch64 --- openblas.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/openblas.spec b/openblas.spec index eab4a0c..9cf7955 100644 --- a/openblas.spec +++ b/openblas.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 %bcond_with system_lapack %global lapackver 3.9.1 @@ -306,6 +306,9 @@ TARGET="TARGET=CORE2 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1" %ifarch aarch64 TARGET="TARGET=ARMV8 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1" %endif +%ifarch loongarch64 +TARGET="TARGET=LOONGSONGENERIC DYNAMIC_ARCH=1" +%endif COMMON="%{optflags} -fPIC" FCOMMON="%{optflags} -fPIC -frecursive" @@ -524,6 +527,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig %endif %changelog +* Wed Nov 8 2023 XiWei Gu - 0.3.23-3 +- Enable DYNAMIC_ARCH for LoongArch64 + * Tue Oct 31 2023 XiWei Gu - 0.3.23-2 - Add opt for LoongArch64 -- Gitee