Date: Wed, 14 Jul 2021 00:19:16 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 09d6ef8b0f59 - main - math/openblas: fix build on amd64 Message-ID: <202107140019.16E0JGIr020239@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=09d6ef8b0f5968eb19dce55ad47f73bb92c6a122 commit 09d6ef8b0f5968eb19dce55ad47f73bb92c6a122 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-07-14 00:19:05 +0000 Commit: Piotr Kubaj <pkubaj@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();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107140019.16E0JGIr020239>