pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Feb 17 10:13:20 UTC 2024

Modified Files:
        pkgsrc/math/openblas: Makefile Makefile.common distinfo version.mk
        pkgsrc/math/openblas/patches: patch-Makefile
        pkgsrc/math/openblas64: Makefile
        pkgsrc/math/openblas64_openmp: Makefile
        pkgsrc/math/openblas64_pthread: Makefile
        pkgsrc/math/openblas_openmp: Makefile buildlink3.mk
        pkgsrc/math/openblas_pthread: Makefile

Log Message:
openblas: updated to 0.3.26

OpenBLAS 0.3.26

general:

improved the version of openblas.pc that is created by the CMAKE build
fixed a CMAKE-specific build problems on older versions of MacOS
worked around linking problems on old versions of MacOS
corrected installation location of the lapacke_mangling header in CMAKE builds
added type declarations for complex variables to the MSVC-specific parts of the LAPACK header
significantly sped up ?GESV for small problem sizes by introducing a lower bound for multithreading
imported additions and corrections from the Reference-LAPACK project:
added new LAPACK functions for truncated QR with pivoting
handle miscalculation of minimum work array size in corner cases
fixed use of uninitialized variables in ?GEDMD and improved inline documentation
fixed use of uninitialized variables (and consequential failures) in ?BBCSD
added tests for the recently introduced Dynamic Mode Decomposition functions
fixed several memory leaks in the LAPACK testsuite
fixed counting of testsuite results by the Python script

x86-64:

fixed computation of CASUM on SkylakeX and newer targets in the special
case that AVX512 is not supported by the compiler or operating environment
fixed potential undefined behaviour in the CASUM/ZASUM kernels for AVX512 targets
worked around a problem in the pre-AVX kernel for GEMV
sped up the thread management code on MS Windows

arm64:

fixed building of the LAPACK testsuite with Xcode 15 on Apple M1 and newer
sped up the thread management code on MS Windows
sped up SGEMM and DGEMM on Neoverse V1
sped up ?DOT on SVE-capable targets
reduced the number of targets in DYNAMIC_ARCH builds by eliminating functionally equivalent ones
included support for Apple M1 and newer targets in DYNAMIC_ARCH builds

power:

improved the SGEMM kernel for POWER10
fixed compilation with (very) old versions of gcc
fixed detection of old 32bit PPC targets in CMAKE-based builds
added autodetection of the POWERPC 7400 subtype
fixed CMAKE-based compilation for PPCG4 and PPC970 targets

loongarch64:

added and improved optimized kernels for almost all BLAS functions


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/math/openblas/Makefile \
    pkgsrc/math/openblas/Makefile.common
cvs rdiff -u -r1.10 -r1.11 pkgsrc/math/openblas/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/math/openblas/version.mk
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/openblas/patches/patch-Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/openblas64/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/openblas64_openmp/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/openblas64_pthread/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/math/openblas_openmp/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/openblas_openmp/buildlink3.mk
cvs rdiff -u -r1.6 -r1.7 pkgsrc/math/openblas_pthread/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/openblas/Makefile
diff -u pkgsrc/math/openblas/Makefile:1.8 pkgsrc/math/openblas/Makefile:1.9
--- pkgsrc/math/openblas/Makefile:1.8   Sun Oct 15 22:08:50 2023
+++ pkgsrc/math/openblas/Makefile       Sat Feb 17 10:13:19 2024
@@ -1,7 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2023/10/15 22:08:50 thor Exp $
-
-MAINTAINER=    thomas.orgis%uni-hamburg.de@localhost
-PKGREVISION=   2
+# $NetBSD: Makefile,v 1.9 2024/02/17 10:13:19 adam Exp $
 
 OPENBLAS_VARIANT=      openblas
 .include "../../math/openblas/Makefile.common"
Index: pkgsrc/math/openblas/Makefile.common
diff -u pkgsrc/math/openblas/Makefile.common:1.8 pkgsrc/math/openblas/Makefile.common:1.9
--- pkgsrc/math/openblas/Makefile.common:1.8    Sun Sep 17 08:56:18 2023
+++ pkgsrc/math/openblas/Makefile.common        Sat Feb 17 10:13:19 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.8 2023/09/17 08:56:18 adam Exp $
+# $NetBSD: Makefile.common,v 1.9 2024/02/17 10:13:19 adam Exp $
 #
 # used by math/openblas_pthread/Makefile
 # used by math/openblas_openmp/Makefile
@@ -13,32 +13,25 @@
 
 DISTNAME=      OpenBLAS-${OPENBLAS_VERSION}
 PKGNAME=       ${OPENBLAS_VARIANT}-${OPENBLAS_VERSION}
-DIST_SUBDIR=   openblas-${OPENBLAS_VERSION}
 CATEGORIES=    math
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=xianyi/} \
-               http://www.netlib.org/lapack/timing/
-DISTFILES=     ${DISTNAME}.tar.gz ${LARGE_FILE} ${TIMING_FILE}
-LARGE_FILE=    large.tgz
-TIMING_FILE=   timing.tgz
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=OpenMathLib/}
 GITHUB_PROJECT=        OpenBLAS
-GITHUB_TAG=    v${OPENBLAS_VERSION}
+GITHUB_RELEASE=        v${OPENBLAS_VERSION}
 
 DISTINFO_FILE= ${.CURDIR}/../../math/openblas/distinfo
 PATCHDIR=      ${.CURDIR}/../../math/openblas/patches
 
-HOMEPAGE=      https://github.com/xianyi/OpenBLAS
+MAINTAINER=    thomas.orgis%uni-hamburg.de@localhost
+HOMEPAGE=      https://github.com/OpenMathLib/OpenBLAS
 COMMENT=       Optimized BLAS library based on GotoBLAS2 (variant ${OPENBLAS_VARIANT})
 LICENSE=       modified-bsd
 
-# Darwin has a .so/.dylib PLIST issue
 # Untested on other platforms
 ONLY_FOR_PLATFORM=     Darwin-*-* Linux-*-* NetBSD-*-*
 
 USE_LANGUAGES= c fortran
 USE_TOOLS+=    gmake perl:build
-
 NO_CONFIGURE=  yes
-
 TEST_TARGET=   tests
 
 # Also set compilers explicitly, overriding Makefile.rule
@@ -106,10 +99,6 @@ SUBST_FILES.threads+=       ctest/Makefile
 PLIST_SRC=     ${.CURDIR}/../../math/openblas/PLIST
 PLIST_SUBST+=  OPENBLAS_VARIANT=${OPENBLAS_VARIANT}
 
-post-extract:
-       (cd ${DISTDIR}/${DIST_SUBDIR} && \
-               ${CP} ${LARGE_FILE} ${TIMING_FILE} ${WRKSRC})
-
 # This builds some benchmark programs you can call from ${WRKSRC} afterwards.
 .PHONY: benchmark
 benchmark: build

Index: pkgsrc/math/openblas/distinfo
diff -u pkgsrc/math/openblas/distinfo:1.10 pkgsrc/math/openblas/distinfo:1.11
--- pkgsrc/math/openblas/distinfo:1.10  Sun Oct 15 22:08:50 2023
+++ pkgsrc/math/openblas/distinfo       Sat Feb 17 10:13:19 2024
@@ -1,15 +1,9 @@
-$NetBSD: distinfo,v 1.10 2023/10/15 22:08:50 thor Exp $
+$NetBSD: distinfo,v 1.11 2024/02/17 10:13:19 adam Exp $
 
-BLAKE2s (openblas-0.3.24/OpenBLAS-0.3.24.tar.gz) = 38e4cee9b05aaa4d2f90682c609f3d93a802a594920240fefa808bf3323f593c
-SHA512 (openblas-0.3.24/OpenBLAS-0.3.24.tar.gz) = fe66e3a258ca1720764ed243f6d61017d6ef14bd33b76f20b19b34754096ec2be9fbeb1a78743f38ee71381746d6af9a1c16a8f3982e423afec422fcb50852d0
-Size (openblas-0.3.24/OpenBLAS-0.3.24.tar.gz) = 24263037 bytes
-BLAKE2s (openblas-0.3.24/large.tgz) = 68489cf503f8671e9228831d96cc514172b93f5c2e0f2c72038651a5a219cb2f
-SHA512 (openblas-0.3.24/large.tgz) = e24db2b8a4253ccff9ca196815901c1fefd55e882f4fe1085715ac84b8f318e1842a91072130c17fdd144344ffc80233a77500da9349acb54e504b3935825965
-Size (openblas-0.3.24/large.tgz) = 2595 bytes
-BLAKE2s (openblas-0.3.24/timing.tgz) = dc47df7bd85a88f9f7f31741ed2a4630511f9105075290c3d5df4aeeaf6f45b8
-SHA512 (openblas-0.3.24/timing.tgz) = be0abfcfffdf0e118ed7e25a8451639833cf0ad6bb04d101bbe194c16f656b6ce509b2f76acf4ad626d1fb5b126bd5498cfea262f2946c2d077751112a2906af
-Size (openblas-0.3.24/timing.tgz) = 1059485 bytes
-SHA1 (patch-Makefile) = 6b1db300b5487fca53e7c41c27b64017658e6375
+BLAKE2s (OpenBLAS-0.3.26.tar.gz) = 0fbd69665e88cffb118b86af77fd981ad5f5eb167f0ddf7deb5616efdf4b732e
+SHA512 (OpenBLAS-0.3.26.tar.gz) = 01d3a536fbfa62f276fd6b1ad0e218fb3d91f41545fc83ddc74979fa26372d8389f0baa20334badfe0adacd77bd944c50a47ac920577373fcc1d495553084373
+Size (OpenBLAS-0.3.26.tar.gz) = 24404912 bytes
+SHA1 (patch-Makefile) = 1b375bddd95af23cfe5e3ccd9476d3bf0fa78043
 SHA1 (patch-Makefile.install) = 3e15dc3674285b5b6b014e8ab17f77f60cf7ac61
 SHA1 (patch-Makefile.rule) = 45b6b4576fb521fa093252c63b899d4178a516b6
 SHA1 (patch-Makefile.system) = 6dc9fd85731ca88cb1fdb9063ba3baa31edbcfb8

Index: pkgsrc/math/openblas/version.mk
diff -u pkgsrc/math/openblas/version.mk:1.4 pkgsrc/math/openblas/version.mk:1.5
--- pkgsrc/math/openblas/version.mk:1.4 Sun Sep 17 08:56:18 2023
+++ pkgsrc/math/openblas/version.mk     Sat Feb 17 10:13:19 2024
@@ -1,3 +1,3 @@
-# $NetBSD: version.mk,v 1.4 2023/09/17 08:56:18 adam Exp $
+# $NetBSD: version.mk,v 1.5 2024/02/17 10:13:19 adam Exp $
 
-OPENBLAS_VERSION=      0.3.24
+OPENBLAS_VERSION=      0.3.26

Index: pkgsrc/math/openblas/patches/patch-Makefile
diff -u pkgsrc/math/openblas/patches/patch-Makefile:1.3 pkgsrc/math/openblas/patches/patch-Makefile:1.4
--- pkgsrc/math/openblas/patches/patch-Makefile:1.3     Sat May 29 19:57:21 2021
+++ pkgsrc/math/openblas/patches/patch-Makefile Sat Feb 17 10:13:19 2024
@@ -1,10 +1,10 @@
-$NetBSD: patch-Makefile,v 1.3 2021/05/29 19:57:21 thor Exp $
+$NetBSD: patch-Makefile,v 1.4 2024/02/17 10:13:19 adam Exp $
 
 Remove special library names.
 
---- Makefile.orig      2021-05-02 21:50:22.000000000 +0000
+--- Makefile.orig      2024-01-02 21:25:05.000000000 +0000
 +++ Makefile
-@@ -120,18 +120,28 @@ shared :
+@@ -134,18 +134,28 @@ shared : libs netlib $(RELA)
  ifneq ($(NO_SHARED), 1)
  ifeq ($(OSNAME), $(filter $(OSNAME),Linux SunOS Android Haiku FreeBSD DragonFly))
        @$(MAKE) -C exports so
@@ -33,10 +33,10 @@ Remove special library names.
  ifeq ($(OSNAME), WINNT)
        @$(MAKE) -C exports dll
  endif
-@@ -195,13 +205,17 @@ endif
- ifdef USE_THREAD
-       @echo USE_THREAD=$(USE_THREAD) >>  Makefile.conf_last
+@@ -229,13 +239,17 @@ ifeq ($(INTERFACE64),1)
  endif
+       @echo THELIBNAME=$(LIBNAME) >>  Makefile.conf_last
+       @echo THELIBSONAME=$(LIBSONAME) >>  Makefile.conf_last
 +ifneq ($(LIBNAME), $(LIBPREFIX).$(LIBSUFFIX))
        @-ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
 +endif
@@ -51,7 +51,7 @@ Remove special library names.
        for d in $(SUBDIRS) ; \
        do if test -d $$d; then \
          $(MAKE) -C $$d prof || exit 1 ; \
-@@ -212,7 +226,9 @@ ifeq ($(DYNAMIC_ARCH), 1)
+@@ -246,7 +260,9 @@ ifeq ($(DYNAMIC_ARCH), 1)
  endif
  
  blas :
@@ -61,7 +61,7 @@ Remove special library names.
        for d in $(BLASDIRS) ; \
        do if test -d $$d; then \
          $(MAKE) -C $$d libs || exit 1 ; \
-@@ -220,7 +236,9 @@ blas :
+@@ -254,7 +270,9 @@ blas :
        done
  
  hpl :
@@ -71,7 +71,7 @@ Remove special library names.
        for d in $(BLASDIRS) ../laswp exports ; \
        do if test -d $$d; then \
          $(MAKE) -C $$d $(@F) || exit 1 ; \
-@@ -234,7 +252,9 @@ ifeq ($(DYNAMIC_ARCH), 1)
+@@ -268,7 +286,9 @@ ifeq ($(DYNAMIC_ARCH), 1)
  endif
  
  hpl_p :

Index: pkgsrc/math/openblas64/Makefile
diff -u pkgsrc/math/openblas64/Makefile:1.3 pkgsrc/math/openblas64/Makefile:1.4
--- pkgsrc/math/openblas64/Makefile:1.3 Sun Oct 15 22:08:50 2023
+++ pkgsrc/math/openblas64/Makefile     Sat Feb 17 10:13:19 2024
@@ -1,7 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/10/15 22:08:50 thor Exp $
-
-MAINTAINER=    thomas.orgis%uni-hamburg.de@localhost
-PKGREVISION=   2
+# $NetBSD: Makefile,v 1.4 2024/02/17 10:13:19 adam Exp $
 
 OPENBLAS_VARIANT= openblas64
 .include "../../math/openblas/Makefile.common"

Index: pkgsrc/math/openblas64_openmp/Makefile
diff -u pkgsrc/math/openblas64_openmp/Makefile:1.3 pkgsrc/math/openblas64_openmp/Makefile:1.4
--- pkgsrc/math/openblas64_openmp/Makefile:1.3  Sun Oct 15 22:08:51 2023
+++ pkgsrc/math/openblas64_openmp/Makefile      Sat Feb 17 10:13:19 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2023/10/15 22:08:51 thor Exp $
-
-MAINTAINER=    thomas.orgis%uni-hamburg.de@localhost
-PKGREVISION=   2
+# $NetBSD: Makefile,v 1.4 2024/02/17 10:13:19 adam Exp $
 
 OPENBLAS_VARIANT= openblas64_openmp
 .include "../../math/openblas/Makefile.common"
+.if !empty(PKGSRC_COMPILER:M*clang*)
+.include "../../parallel/openmp/buildlink3.mk"
+.endif
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/math/openblas64_pthread/Makefile
diff -u pkgsrc/math/openblas64_pthread/Makefile:1.3 pkgsrc/math/openblas64_pthread/Makefile:1.4
--- pkgsrc/math/openblas64_pthread/Makefile:1.3 Sun Oct 15 22:08:51 2023
+++ pkgsrc/math/openblas64_pthread/Makefile     Sat Feb 17 10:13:20 2024
@@ -1,7 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/10/15 22:08:51 thor Exp $
-
-MAINTAINER=    thomas.orgis%uni-hamburg.de@localhost
-PKGREVISION=   2
+# $NetBSD: Makefile,v 1.4 2024/02/17 10:13:20 adam Exp $
 
 OPENBLAS_VARIANT= openblas64_pthread
 .include "../../math/openblas/Makefile.common"

Index: pkgsrc/math/openblas_openmp/Makefile
diff -u pkgsrc/math/openblas_openmp/Makefile:1.6 pkgsrc/math/openblas_openmp/Makefile:1.7
--- pkgsrc/math/openblas_openmp/Makefile:1.6    Sun Oct 15 22:08:51 2023
+++ pkgsrc/math/openblas_openmp/Makefile        Sat Feb 17 10:13:20 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2023/10/15 22:08:51 thor Exp $
-
-MAINTAINER=    thomas.orgis%uni-hamburg.de@localhost
-PKGREVISION=   2
+# $NetBSD: Makefile,v 1.7 2024/02/17 10:13:20 adam Exp $
 
 OPENBLAS_VARIANT= openblas_openmp
 .include "../../math/openblas/Makefile.common"
+.if !empty(PKGSRC_COMPILER:M*clang*)
+.include "../../parallel/openmp/buildlink3.mk"
+.endif
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/math/openblas_openmp/buildlink3.mk
diff -u pkgsrc/math/openblas_openmp/buildlink3.mk:1.3 pkgsrc/math/openblas_openmp/buildlink3.mk:1.4
--- pkgsrc/math/openblas_openmp/buildlink3.mk:1.3       Tue Jun 15 04:41:53 2021
+++ pkgsrc/math/openblas_openmp/buildlink3.mk   Sat Feb 17 10:13:20 2024
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2021/06/15 04:41:53 thor Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2024/02/17 10:13:20 adam Exp $
 
 BUILDLINK_TREE+=       openblas_openmp
 
@@ -6,7 +6,7 @@ BUILDLINK_TREE+=        openblas_openmp
 OPENBLAS_OPENMP_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.openblas_openmp+=        openblas_openmp>=0.3.5
-BUILDLINK_ABI_DEPENDS.openblas_openmp?=        openblas_openmp>=0.3.15nb1
+BUILDLINK_ABI_DEPENDS.openblas_openmp+=        openblas_openmp>=0.3.15nb1
 BUILDLINK_PKGSRCDIR.openblas_openmp?=  ../../math/openblas_openmp
 .endif # OPENBLAS_OPENMP_BUILDLINK3_MK
 

Index: pkgsrc/math/openblas_pthread/Makefile
diff -u pkgsrc/math/openblas_pthread/Makefile:1.6 pkgsrc/math/openblas_pthread/Makefile:1.7
--- pkgsrc/math/openblas_pthread/Makefile:1.6   Sun Oct 15 22:08:51 2023
+++ pkgsrc/math/openblas_pthread/Makefile       Sat Feb 17 10:13:20 2024
@@ -1,7 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2023/10/15 22:08:51 thor Exp $
-
-MAINTAINER=    thomas.orgis%uni-hamburg.de@localhost
-PKGREVISION=   2
+# $NetBSD: Makefile,v 1.7 2024/02/17 10:13:20 adam Exp $
 
 OPENBLAS_VARIANT= openblas_pthread
 .include "../../math/openblas/Makefile.common"



Home | Main Index | Thread Index | Old Index