Fix TRSM on Barcelona target (and possibly others)
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sat, 16 May 2026 09:14:12 +0000 (11:14 +0200)
committerSébastien Villemot <sebastien@debian.org>
Sat, 16 May 2026 09:14:12 +0000 (11:14 +0200)
Origin: upstream, https://github.com/OpenMathLib/OpenBLAS/commit/26c4eb65d1b60005d6556e432f4a8989efc5b6e6
Bug: https://github.com/OpenMathLib/OpenBLAS/issues/5787
     https://github.com/OpenMathLib/OpenBLAS/issues/5810
Reviewed-by: Sébastien Villemot <sebastien@debian.org>
Last-Update: 2026-05-16

This should fix i386 test failures such as this one:
https://buildd.debian.org/status/fetch.php?pkg=openblas&arch=i386&ver=0.3.33%2Bds-1&stamp=1777066182&raw=0
Last-Update: 2026-05-16
Gbp-Pq: Name trsm-barcelona.patch

interface/trsm.c

index ae35d0d3b7b47d6f1a369364bc12579028ce4de0..069df1aa5c1b26b7dd7d7f7fe25eb434ca87c8b8 100644 (file)
@@ -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();