Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2023 20:02:59 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c45681ef5049 - main - math/openblas: update to 0.3.24
Message-ID:  <202310042002.394K2xd1056321@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

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

commit c45681ef5049357ef58d738865b821186b02578f
Author:     Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp>
AuthorDate: 2023-10-02 22:58:15 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-10-04 19:59:58 +0000

    math/openblas: update to 0.3.24
    
    Changelog: https://github.com/OpenMathLib/OpenBLAS/releases/tag/v0.3.24
    
    PR:             273219
---
 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          | 45 ++++++++++++------------------
 6 files changed, 26 insertions(+), 47 deletions(-)

diff --git a/math/openblas/Makefile b/math/openblas/Makefile
index f1fed47c9973..f85ecbb268fa 100644
--- a/math/openblas/Makefile
+++ b/math/openblas/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	openblas
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.3.20
-PORTREVISION=	1
+DISTVERSION=	0.3.24
 PORTEPOCH=	1
 CATEGORIES=	math
 MASTER_SITES=	NL/lapack/timing/:lapack_tmg
diff --git a/math/openblas/distinfo b/math/openblas/distinfo
index 65d0da9523f3..e4ffec3fd9c0 100644
--- a/math/openblas/distinfo
+++ b/math/openblas/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1648345083
+TIMESTAMP = 1694493901
 SHA256 (openblas/large.tgz) = f328d88b7fa97722f271d7d0cfea1c220e0f8e5ed5ff01d8ef1eb51d6f4243a1
 SIZE (openblas/large.tgz) = 2595
 SHA256 (openblas/timing.tgz) = 999c65f8ea8bd4eac7f1c7f3463d4946917afd20a997807300fe35d70122f3af
 SIZE (openblas/timing.tgz) = 1059485
-SHA256 (openblas/xianyi-OpenBLAS-v0.3.20_GH0.tar.gz) = 8495c9affc536253648e942908e88e097f2ec7753ede55aca52e5dead3029e3c
-SIZE (openblas/xianyi-OpenBLAS-v0.3.20_GH0.tar.gz) = 12742441
+SHA256 (openblas/xianyi-OpenBLAS-v0.3.24_GH0.tar.gz) = ceadc5065da97bd92404cac7254da66cc6eb192679cf1002098688978d4d5132
+SIZE (openblas/xianyi-OpenBLAS-v0.3.24_GH0.tar.gz) = 24263037
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
index 6636f3cdeab3..5af156564f03 100644
--- a/math/openblas/files/patch-f_check
+++ b/math/openblas/files/patch-f_check
@@ -1,28 +1,19 @@
---- 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 @@
+--- f_check.orig	2023-04-01 20:18:01 UTC
++++ f_check
+@@ -360,6 +360,16 @@ if [ -n "$link" ]; then
+     	        flag="-lomp"
+     	        ;;
+     	    esac
++
++    	    case "$hostos" in "FreeBSD")
++        	    case "$CC" in
++                    gcc*) ;;
++                    *)
++                        # clang is assumed
++                        flag="-lomp"
++                        ;;
++                esac
++    	    esac
+     	esac
  
-     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$/)
+         case "$flag" in -l*)



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