git: 84ca7effd38f - main - math/openblas: upgrade to 0.3.25

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Tue, 12 Dec 2023 19:04:16 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=84ca7effd38f7ff589ef044ad453b93d688542f6

commit 84ca7effd38f7ff589ef044ad453b93d688542f6
Author:     Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp>
AuthorDate: 2023-12-12 18:17:39 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-12-12 19:03:50 +0000

    math/openblas: upgrade to 0.3.25
    
    Releases notes at <https://github.com/OpenMathLib/OpenBLAS/releases>.
    
    PR:             273219
    Exp-run by:     antoine@
---
 math/openblas/Makefile                     |  3 ++-
 math/openblas/distinfo                     |  6 +++---
 math/openblas/files/patch-c_check          | 11 -----------
 math/openblas/files/patch-common__arm.h    |  4 ++--
 math/openblas/files/patch-exports_Makefile |  4 ++--
 math/openblas/files/patch-f_check          | 28 ----------------------------
 6 files changed, 9 insertions(+), 47 deletions(-)

diff --git a/math/openblas/Makefile b/math/openblas/Makefile
index 2a6c4f327ff8..2e16efdb506e 100644
--- a/math/openblas/Makefile
+++ b/math/openblas/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	openblas
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.3.20
+DISTVERSION=	0.3.25
 PORTEPOCH=	2
 CATEGORIES=	math
 MASTER_SITES=	NL/lapack/timing/:lapack_tmg
@@ -20,6 +20,7 @@ USES=		compiler:c11 cpe fortran gmake perl5 pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	OpenMathLib
 GH_PROJECT=	OpenBLAS
+GH_TAGNAME=	5e1a429
 LARGE_FILE=	large.tgz
 TIMING_FILE=	timing.tgz
 CPE_VENDOR=	openblas_project
diff --git a/math/openblas/distinfo b/math/openblas/distinfo
index 869d5a7642e4..883c98157110 100644
--- a/math/openblas/distinfo
+++ b/math/openblas/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1648345083
+TIMESTAMP = 1699873046
 SHA256 (openblas/large.tgz) = f328d88b7fa97722f271d7d0cfea1c220e0f8e5ed5ff01d8ef1eb51d6f4243a1
 SIZE (openblas/large.tgz) = 2595
 SHA256 (openblas/timing.tgz) = 999c65f8ea8bd4eac7f1c7f3463d4946917afd20a997807300fe35d70122f3af
 SIZE (openblas/timing.tgz) = 1059485
-SHA256 (openblas/OpenMathLib-OpenBLAS-v0.3.20_GH0.tar.gz) = 8495c9affc536253648e942908e88e097f2ec7753ede55aca52e5dead3029e3c
-SIZE (openblas/OpenMathLib-OpenBLAS-v0.3.20_GH0.tar.gz) = 12742441
+SHA256 (openblas/OpenMathLib-OpenBLAS-v0.3.25-5e1a429_GH0.tar.gz) = 848beec6974e550aef74784b599a1c88549f70432b575e1dc1822eef15b4bc5d
+SIZE (openblas/OpenMathLib-OpenBLAS-v0.3.25-5e1a429_GH0.tar.gz) = 24073895
diff --git a/math/openblas/files/patch-c_check b/math/openblas/files/patch-c_check
deleted file mode 100644
index 817371d8f62f..000000000000
--- a/math/openblas/files/patch-c_check
+++ /dev/null
@@ -1,11 +0,0 @@
---- c_check.orig	2019-04-29 17:22:19 UTC
-+++ c_check
-@@ -320,7 +320,7 @@ open(CONFFILE, "> $config"  ) || die "Can't create $co
- # print $data, "\n";
- 
- print MAKEFILE "OSNAME=$os\n";
--print MAKEFILE "ARCH=$architecture\n";
-+print MAKEFILE "ARCH_=$architecture\n";
- print MAKEFILE "C_COMPILER=$compiler\n";
- print MAKEFILE "BINARY32=\n" if $binformat ne bin32;
- print MAKEFILE "BINARY64=\n" if $binformat ne bin64;
diff --git a/math/openblas/files/patch-common__arm.h b/math/openblas/files/patch-common__arm.h
index 7c6e402278e2..1ffd13a2c63b 100644
--- a/math/openblas/files/patch-common__arm.h
+++ b/math/openblas/files/patch-common__arm.h
@@ -1,6 +1,6 @@
---- common_arm.h.orig	2018-08-30 22:07:48 UTC
+--- common_arm.h.orig	2023-04-01 20:18:01 UTC
 +++ common_arm.h
-@@ -93,6 +93,17 @@ static inline int blas_quickdivide(blasint x, blasint 
+@@ -95,6 +95,17 @@ static inline int blas_quickdivide(blasint x, blasint 
  
  #endif
  
diff --git a/math/openblas/files/patch-exports_Makefile b/math/openblas/files/patch-exports_Makefile
index 26dccbab2baf..7e7692de9ce0 100644
--- a/math/openblas/files/patch-exports_Makefile
+++ b/math/openblas/files/patch-exports_Makefile
@@ -1,6 +1,6 @@
---- exports/Makefile.orig	2019-08-11 21:23:27 UTC
+--- exports/Makefile.orig	2023-04-01 20:18:01 UTC
 +++ exports/Makefile
-@@ -184,7 +184,7 @@ else
+@@ -222,7 +222,7 @@ else
  endif
  	$(CC) $(CFLAGS) $(LDFLAGS)  -shared -o ../$(LIBSONAME) \
  	-Wl,--whole-archive $< -Wl,--no-whole-archive \
diff --git a/math/openblas/files/patch-f_check b/math/openblas/files/patch-f_check
deleted file mode 100644
index 6636f3cdeab3..000000000000
--- a/math/openblas/files/patch-f_check
+++ /dev/null
@@ -1,28 +0,0 @@
---- f_check.orig	2021-05-03 06:50:22.000000000 +0900
-+++ f_check	2021-05-06 23:42:10.192934000 +0900
-@@ -326,7 +326,7 @@
- 
-     foreach $flags (@flags) {
- 	if (
--	    ($flags =~ /^\-L/)
-+	    ($flags =~ /^\-L\S/)
- 	    && ($flags !~ /^-LIST:/)
- 	    && ($flags !~ /^-LANG:/)
- 	    ) {
-@@ -358,7 +358,7 @@
- 	}
- 
- 	if (
--	    ($flags =~ /^\-l/)
-+	    ($flags =~ /^\-l\S/)
- 	    && ($flags !~ /ibrary/)
- 	    && ($flags !~ /gfortranbegin/)
- 	    && ($flags !~ /frtbegin/)
-@@ -369,6 +369,7 @@
- 	    && ($flags !~ /kernel32/)
- 	    && ($flags !~ /advapi32/)
- 	    && ($flags !~ /shell32/)
-+	    && ($flags !~ /gomp/)
- 	    && ($flags !~ /omp/ || ($vendor !~ /PGI/ && $vendor !~ /FUJITSU/ && $flags =~ /omp/))
- 	    && ($flags !~ /[0-9]+/ || ($vendor == FUJITSU && $flags =~ /^-lfj90/))
- 		&& ($flags !~ /^\-l$/)