Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2024 09:26:01 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: 5a764ac25deb - main - math/openblas: fix build on powerpc64*
Message-ID:  <202406230926.45N9Q1d6013411@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=5a764ac25debbcbd89b260ed368140eb2c216e75

commit 5a764ac25debbcbd89b260ed368140eb2c216e75
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-06-23 09:13:14 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-06-23 09:25:37 +0000

    math/openblas: fix build on powerpc64*
    
    gemv.c:229:31: error: 'GEMM_MULTITHREAD_THRESHOLD' undeclared (first use in this function)
      229 |   if ( 1L * m * n < 115200L * GEMM_MULTITHREAD_THRESHOLD )
---
 math/openblas/files/patch-param.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/math/openblas/files/patch-param.h b/math/openblas/files/patch-param.h
new file mode 100644
index 000000000000..0362153e41f1
--- /dev/null
+++ b/math/openblas/files/patch-param.h
@@ -0,0 +1,11 @@
+--- param.h.orig	2024-06-23 08:32:52 UTC
++++ param.h
+@@ -2553,7 +2553,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILI
+ 
+ #endif
+ 
+-#if defined(POWER9) && defined(OS_LINUX)
++#if defined(POWER9) && (defined(OS_LINUX) || defined(OS_FREEBSD))
+ 
+ #define SNUMOPT		16
+ #define DNUMOPT		8



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406230926.45N9Q1d6013411>