diff options
| author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-07-14 00:19:05 +0000 |
|---|---|---|
| committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-07-14 00:19:05 +0000 |
| commit | 09d6ef8b0f5968eb19dce55ad47f73bb92c6a122 (patch) | |
| tree | 06be0b1b25aa1260d9d410d887a8981cc78b4c23 /math/openblas/files/patch-interface_gemv.c | |
| parent | editors/sublime-text4: update to 4111 (diff) | |
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.
Diffstat (limited to 'math/openblas/files/patch-interface_gemv.c')
| -rw-r--r-- | math/openblas/files/patch-interface_gemv.c | 14 |
1 files changed, 14 insertions, 0 deletions
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(); |
