From: Dandan Zhang Date: Wed, 20 Nov 2024 10:52:32 +0000 (+0100) Subject: Fixed the undefined reference to blas_set_parameter X-Git-Tag: archive/raspbian/0.3.28+ds-4+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0c8c7bd199603aa9a708f6835ed0035c2ec60933;p=openblas.git Fixed the undefined reference to blas_set_parameter Applied-Upstream: <0.3.29>, Last-Update: 2024-11-01 Gbp-Pq: Name openblas-Fixed-undefined-reference-to-blas_set_parameter.patc --- diff --git a/driver/others/blas_server_omp.c b/driver/others/blas_server_omp.c index 06862ce..4341389 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) {