git: 97f28c02d3dd - main - benchmarks/hpl: introduce OpenBLAS64

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Fri, 24 Jan 2025 19:02:02 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=97f28c02d3dd5d8f591429d74d2c14aa10e4b838

commit 97f28c02d3dd5d8f591429d74d2c14aa10e4b838
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2025-01-24 17:56:15 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2025-01-24 19:01:26 +0000

    benchmarks/hpl: introduce OpenBLAS64
    
    PR:             279605
    Approved by:    maintainer’s time-out
---
 benchmarks/hpl/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/benchmarks/hpl/Makefile b/benchmarks/hpl/Makefile
index 39e4cf697004..c56cad3f2158 100644
--- a/benchmarks/hpl/Makefile
+++ b/benchmarks/hpl/Makefile
@@ -18,22 +18,25 @@ ALL_TARGET=	build
 
 OPTIONS_DEFINE=		DOCS
 OPTIONS_RADIO=		BLAS MPI
-OPTIONS_RADIO_BLAS=	ATLAS BLIS FLEXIBLAS NETLIB OPENBLAS
+OPTIONS_RADIO_BLAS=	ATLAS BLIS FLEXIBLAS NETLIB OPENBLAS OPENBLAS64
 OPTIONS_RADIO_MPI=	MPICH OPENMPI
 OPTIONS_DEFAULT=	NETLIB MPICH
 BLIS_DESC=		BLAS implementation from FLAME
 FLEXIBLAS_DESC=		BLAS and LAPACK wrapper library
+OPENBLAS64_DESC=	OpenBLAS with 8 byte integers support
 
 ATLAS_USES=		blaslapack:atlas
 BLIS_USES=		blaslapack:blis
 FLEXIBLAS_USES=		blaslapack:flexiblas
 NETLIB_USES=		blaslapack:netlib
 OPENBLAS_USES=		blaslapack:openblas
+OPENBLAS64_USES=	blaslapack:openblas64
 
 MPICH_USES=		mpi:mpich
 OPENMPI_USES=		mpi:openmpi
 
-CFLAGS+=	-fomit-frame-pointer -funroll-loops
+CFLAGS+=		-fomit-frame-pointer -funroll-loops
+OPENBLAS64_CFLAGS=	-DF77_INTEGER=long
 
 pre-configure:
 	${REINPLACE_CMD} -e 's|^TOPdir[ ]*=.*$$|TOPdir = ${WRKSRC}| ; \