diff --git a/srcpkgs/openblas/patches/5813.patch b/srcpkgs/openblas/patches/5813.patch new file mode 100644 index 00000000000000..547f406e723213 --- /dev/null +++ b/srcpkgs/openblas/patches/5813.patch @@ -0,0 +1,29 @@ +See: https://github.com/OpenMathLib/OpenBLAS/issues/5787#issuecomment-4462191554 + +From 26c4eb65d1b60005d6556e432f4a8989efc5b6e6 Mon Sep 17 00:00:00 2001 +From: Martin Kroeker +Date: Fri, 15 May 2026 20:10:51 +0200 +Subject: [PATCH] Restore the quick return in common code - the earlier one is + CBLAS only + +--- + interface/trsm.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/interface/trsm.c b/interface/trsm.c +index ae35d0d3b7..069df1aa5c 100644 +--- a/interface/trsm.c ++++ b/interface/trsm.c +@@ -381,8 +381,12 @@ if (strcmp(gotoblas_corename(), "armv9sme") == 0 + #endif + #endif + ++ ++ ++//end of the ifndef CBLAS ... else ... section + #endif + ++ if ((args.m == 0) || (args.n == 0)) return; + IDEBUG_START; + + FUNCTION_PROFILE_START(); diff --git a/srcpkgs/openblas/patches/arm-fix-float16.patch b/srcpkgs/openblas/patches/arm-fix-float16.patch deleted file mode 100644 index a79b12b0213fde..00000000000000 --- a/srcpkgs/openblas/patches/arm-fix-float16.patch +++ /dev/null @@ -1,13 +0,0 @@ -32-bit ARM does not provide a _Float16 type, so fall back to software. - ---- a/openblas_config_template.h -+++ b/openblas_config_template.h -@@ -39,7 +39,7 @@ - typedef uint16_t bfloat16; - #endif - --#if defined(__GNUC__) && (__GNUC__ > 12) -+#if defined(__GNUC__) && (__GNUC__ > 12) && !(defined(__arm__) && (__ARM_ARCH < 8)) - #if defined(OPENBLAS_ARCH_POWER) - typedef bfloat16 hfloat16; - #else diff --git a/srcpkgs/openblas/template b/srcpkgs/openblas/template index b333cdfaf8bead..8ddfb5225ff620 100644 --- a/srcpkgs/openblas/template +++ b/srcpkgs/openblas/template @@ -1,6 +1,6 @@ # Template file for 'openblas' pkgname=openblas -version=0.3.32 +version=0.3.33 revision=1 build_style=gnu-makefile make_build_args="HOSTCC=gcc USE_OPENMP=1" @@ -13,7 +13,7 @@ license="BSD-3-Clause" homepage="https://www.openblas.net/" changelog="https://raw.githubusercontent.com/xianyi/OpenBLAS/develop/Changelog.txt" distfiles="https://github.com/xianyi/OpenBLAS/archive/v${version}.tar.gz" -checksum=f8a1138e01fddca9e4c29f9684fd570ba39dedc9ca76055e1425d5d4b1a4a766 +checksum=6761af1d9f5d353ab4f0b7497be2643313b36c8f31caec0144bfef198e71e6ab case "$XBPS_TARGET_MACHINE" in ppc64*) ;;