From 09d6ef8b0f5968eb19dce55ad47f73bb92c6a122 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 14 Jul 2021 00:19:05 +0000 Subject: math/openblas: fix build on amd64 Same issue as in https://github.com/xianyi/OpenBLAS/issues/3309. While it builds on i386 and powerpc64, for some reason it fails on amd64. --- math/openblas/files/patch-interface_gemv.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 math/openblas/files/patch-interface_gemv.c (limited to 'math/openblas/files/patch-interface_gemv.c') diff --git a/math/openblas/files/patch-interface_gemv.c b/math/openblas/files/patch-interface_gemv.c new file mode 100644 index 000000000000..af1999348fe7 --- /dev/null +++ b/math/openblas/files/patch-interface_gemv.c @@ -0,0 +1,14 @@ +--- interface/gemv.c.orig 2021-07-14 00:09:14 UTC ++++ interface/gemv.c +@@ -202,11 +202,6 @@ void CNAME(enum CBLAS_ORDER order, + + if (alpha == ZERO) return; + +- if (trans == 0 && incx == 1 && incy == 1 && m*n < 2304 *GEMM_MULTITHREAD_THRESHOLD) { +- GEMV_N(m, n, 0, alpha, a, lda, x, incx, y, incy, NULL); +- return; +- } +- + IDEBUG_START; + + FUNCTION_PROFILE_START(); -- cgit v1.2.3