From owner-dev-commits-ports-all@freebsd.org Wed Jul 14 00:19:16 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A1730669197; Wed, 14 Jul 2021 00:19:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GPdR83xKDz4k8S; Wed, 14 Jul 2021 00:19:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6E1033968; Wed, 14 Jul 2021 00:19:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16E0JGbw020240; Wed, 14 Jul 2021 00:19:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16E0JGIr020239; Wed, 14 Jul 2021 00:19:16 GMT (envelope-from git) Date: Wed, 14 Jul 2021 00:19:16 GMT Message-Id: <202107140019.16E0JGIr020239@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 09d6ef8b0f59 - main - math/openblas: fix build on amd64 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 09d6ef8b0f5968eb19dce55ad47f73bb92c6a122 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2021 00:19:16 -0000 The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=09d6ef8b0f5968eb19dce55ad47f73bb92c6a122 commit 09d6ef8b0f5968eb19dce55ad47f73bb92c6a122 Author: Piotr Kubaj AuthorDate: 2021-07-14 00:19:05 +0000 Commit: Piotr Kubaj 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();