openblas: bump to version 0.3.30
authorAlexandru Ardelean <[email protected]>
Tue, 11 Mar 2025 13:18:03 +0000 (15:18 +0200)
committerAlexandru Ardelean <[email protected]>
Wed, 13 Aug 2025 06:03:20 +0000 (09:03 +0300)
This change updates the version to 0.3.30
Added patch to fix x86 builds.

Also sent upstream:
   https://github.com/OpenMathLib/OpenBLAS/pull/5418

Signed-off-by: Alexandru Ardelean <[email protected]>
libs/openblas/Makefile
libs/openblas/patches/0001-fix-x86-defaults.patch [new file with mode: 0644]

index cc384250508a52d75ef54b988253f438aac954a2..29459a336c576dc1c4599781344e14d4b048cd4c 100644 (file)
@@ -5,12 +5,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=OpenBLAS
-PKG_VERSION:=0.3.28
+PKG_VERSION:=0.3.30
 PKG_RELEASE:=1
 
 PKG_SOURCE:=OpenBLAS-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/OpenMathLib/OpenBLAS/releases/download/v$(PKG_VERSION)/
-PKG_HASH:=f1003466ad074e9b0c8d421a204121100b0751c96fc6fcf3d1456bd12f8a00a1
+PKG_HASH:=27342cff518646afb4c2b976d809102e368957974c250a25ccc965e53063c95d
 PKG_LICENSE:=BSD-3-Clause
 PKG_CPE_ID:=cpe:/a:openblas_project:openblas
 PKG_MAINTAINER:=Alexandru Ardelean <[email protected]>
diff --git a/libs/openblas/patches/0001-fix-x86-defaults.patch b/libs/openblas/patches/0001-fix-x86-defaults.patch
new file mode 100644 (file)
index 0000000..2d85075
--- /dev/null
@@ -0,0 +1,41 @@
+--- a/param.h
++++ b/param.h
+@@ -4179,5 +4179,38 @@ Until then, just keep it different than
+ #define SHUFPS_39     shufps  $0x39,
+ #endif
++#if defined(ARCH_X86)
++#ifndef CGEMM3M_DEFAULT_R
++#define CGEMM3M_DEFAULT_R 12288
++#endif
++
++#ifndef CGEMM3M_DEFAULT_UNROLL_M
++#define CGEMM3M_DEFAULT_UNROLL_M 8
++#endif
++
++#ifndef CGEMM3M_DEFAULT_P
++#define CGEMM3M_DEFAULT_P 320
++#endif
++
++#ifndef CGEMM3M_DEFAULT_Q
++#define CGEMM3M_DEFAULT_Q 224
++#endif
++
++#ifndef ZGEMM3M_DEFAULT_R
++#define ZGEMM3M_DEFAULT_R 12288
++#endif
++
++#ifndef ZGEMM3M_DEFAULT_Q
++#define ZGEMM3M_DEFAULT_Q 224
++#endif
++
++#ifndef ZGEMM3M_DEFAULT_P
++#define ZGEMM3M_DEFAULT_P 224
++#endif
++
++#ifndef ZGEMM3M_DEFAULT_UNROLL_M
++#define ZGEMM3M_DEFAULT_UNROLL_M 4
++#endif
++#endif
+ #endif