diff --git a/debian/changelog b/debian/changelog index c7866a74..67869ed5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,20 @@ -openblas (0.3.28+ds-2+rpi1) trixie-staging; urgency=medium +openblas (0.3.28+ds-3+rpi1) trixie-staging; urgency=medium [changes brought forward from 0.2.15-1+rpi1 by Peter Michael Green at Fri, 11 Mar 2016 23:39:32 +0000] * Disable arm-gcc-flags.patch which was enforcing gcc flags that are wrong for raspbian. - -- Raspbian forward porter Tue, 20 Aug 2024 23:47:01 +0000 + -- Raspbian forward porter Wed, 13 Nov 2024 10:04:22 +0000 + +openblas (0.3.28+ds-3) unstable; urgency=medium + + * Team upload. + + [ Dandan Zhang ] + * Add upstream merged patch to fix undefined reference to + blas_set_parameter (Closes: #1086535) + + -- Gianfranco Costamagna Fri, 08 Nov 2024 14:59:11 +0100 openblas (0.3.28+ds-2) unstable; urgency=medium diff --git a/debian/patches/openblas-Fixed-undefined-reference-to-blas_set_parameter.patc b/debian/patches/openblas-Fixed-undefined-reference-to-blas_set_parameter.patc new file mode 100644 index 00000000..9843051e --- /dev/null +++ b/debian/patches/openblas-Fixed-undefined-reference-to-blas_set_parameter.patc @@ -0,0 +1,19 @@ +Description: Fixed the undefined reference to blas_set_parameter +Author: Dandan Zhang +Applied-Upstream: <0.3.29>, +Last-Update: 2024-11-01 + +--- openblas-0.3.28+ds.orig/driver/others/blas_server_omp.c ++++ openblas-0.3.28+ds/driver/others/blas_server_omp.c +@@ -114,9 +114,11 @@ void goto_set_num_threads(int num_thread + + adjust_thread_buffers(); + #if defined(ARCH_MIPS64) || defined(ARCH_LOONGARCH64) ++#ifndef DYNAMIC_ARCH + //set parameters for different number of threads. + blas_set_parameter(); ++#endif + #endif + + } + void openblas_set_num_threads(int num_threads) { diff --git a/debian/patches/series b/debian/patches/series index 6c8d071b..3bff77a4 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,4 +4,5 @@ shared-blas-lapack.patch matgen-symbols-not-included.patch combssq-deprecate.patch gcc14-mips64el.patch +openblas-Fixed-undefined-reference-to-blas_set_parameter.patc auto-0.3.7+ds-1+rpi1-e5cdb5bc2fdbe4ed5849a311d639ae1e43ddffb5-1566623053 diff --git a/driver/others/blas_server_omp.c b/driver/others/blas_server_omp.c index 06862cec..4341389d 100644 --- a/driver/others/blas_server_omp.c +++ b/driver/others/blas_server_omp.c @@ -114,9 +114,11 @@ void goto_set_num_threads(int num_threads) { adjust_thread_buffers(); #if defined(ARCH_MIPS64) || defined(ARCH_LOONGARCH64) +#ifndef DYNAMIC_ARCH //set parameters for different number of threads. blas_set_parameter(); #endif +#endif } void openblas_set_num_threads(int num_threads) {