git: 09d6ef8b0f59 - main - math/openblas: fix build on amd64
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Jul 14 00:19:16 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=09d6ef8b0f5968eb19dce55ad47f73bb92c6a122
commit 09d6ef8b0f5968eb19dce55ad47f73bb92c6a122
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-07-14 00:19:05 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-07-14 00:19:05 +0000
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(+)
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();
More information about the dev-commits-ports-all
mailing list