pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math lapack: update lapack*, cblas*, and blas* to 3.10.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fcb2e4592225
branches:  trunk
changeset: 770042:fcb2e4592225
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Nov 23 22:45:01 2021 +0000

description:
lapack: update lapack*, cblas*, and blas* to 3.10.0

This is a major release and also addressing multiple bug fixes.

diffstat:

 math/blas64/Makefile                           |   3 +--
 math/cblas/Makefile                            |   3 +--
 math/cblas/PLIST                               |   4 +---
 math/cblas64/PLIST                             |   3 +--
 math/lapack/Makefile                           |   3 +--
 math/lapack/distinfo                           |  11 ++++++-----
 math/lapack/patches/patch-CBLAS_CMakeLists.txt |  19 +++++++++++++++++++
 math/lapack/patches/patch-CMakeLists.txt       |  26 +++++++++++---------------
 math/lapack/version.mk                         |   4 ++--
 math/lapacke/Makefile                          |   3 +--
 10 files changed, 44 insertions(+), 35 deletions(-)

diffs (225 lines):

diff -r 20e4d102e7cd -r fcb2e4592225 math/blas64/Makefile
--- a/math/blas64/Makefile      Tue Nov 23 22:12:12 2021 +0000
+++ b/math/blas64/Makefile      Tue Nov 23 22:45:01 2021 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2021/06/15 04:41:51 thor Exp $
-
+# $NetBSD: Makefile,v 1.2 2021/11/23 22:45:01 wiz Exp $
 
 MAINTAINER=    thomas.orgis%uni-hamburg.de@localhost
 COMMENT=       Reference Basic Linear Algebra System with 64 bit indices
diff -r 20e4d102e7cd -r fcb2e4592225 math/cblas/Makefile
--- a/math/cblas/Makefile       Tue Nov 23 22:12:12 2021 +0000
+++ b/math/cblas/Makefile       Tue Nov 23 22:45:01 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2021/06/15 04:41:52 thor Exp $
+# $NetBSD: Makefile,v 1.4 2021/11/23 22:45:01 wiz Exp $
 
 MAINTAINER=    thomas.orgis%uni-hamburg.de@localhost
 COMMENT=       C interface to the reference BLAS library
-PKGREVISION=   1
 
 LAPACK_COMPONENT=      cblas
 LAPACK_COMPONENT_CMAKE_ARGS=   \
diff -r 20e4d102e7cd -r fcb2e4592225 math/cblas/PLIST
--- a/math/cblas/PLIST  Tue Nov 23 22:12:12 2021 +0000
+++ b/math/cblas/PLIST  Tue Nov 23 22:45:01 2021 +0000
@@ -1,12 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2021/06/15 04:41:52 thor Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/11/23 22:45:01 wiz Exp $
 include/cblas.h
 include/cblas_f77.h
 include/cblas_mangling.h
-include/cblas_test.h
 include/netlib/cblas.h
 include/netlib/cblas_f77.h
 include/netlib/cblas_mangling.h
-include/netlib/cblas_test.h
 lib/libcblas.a
 lib/libcblas.so
 lib/libcblas.so.3
diff -r 20e4d102e7cd -r fcb2e4592225 math/cblas64/PLIST
--- a/math/cblas64/PLIST        Tue Nov 23 22:12:12 2021 +0000
+++ b/math/cblas64/PLIST        Tue Nov 23 22:45:01 2021 +0000
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1 2021/06/15 04:41:52 thor Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/11/23 22:45:01 wiz Exp $
 include/netlib64/cblas.h
 include/netlib64/cblas_f77.h
 include/netlib64/cblas_mangling.h
-include/netlib64/cblas_test.h
 lib/libcblas64.a
 lib/libcblas64.so
 lib/libcblas64.so.3
diff -r 20e4d102e7cd -r fcb2e4592225 math/lapack/Makefile
--- a/math/lapack/Makefile      Tue Nov 23 22:12:12 2021 +0000
+++ b/math/lapack/Makefile      Tue Nov 23 22:45:01 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.44 2021/06/10 00:18:52 thor Exp $
+# $NetBSD: Makefile,v 1.45 2021/11/23 22:45:01 wiz Exp $
 
 MAINTAINER=    thomas.orgis%uni-hamburg.de@localhost
 COMMENT=       Linear Algebra PACKage (Netlib reference implementation)
-PKGREVISION=   1
 
 LAPACK_COMPONENT=      lapack
 LAPACK_COMPONENT_CMAKE_ARGS= \
diff -r 20e4d102e7cd -r fcb2e4592225 math/lapack/distinfo
--- a/math/lapack/distinfo      Tue Nov 23 22:12:12 2021 +0000
+++ b/math/lapack/distinfo      Tue Nov 23 22:45:01 2021 +0000
@@ -1,12 +1,13 @@
-$NetBSD: distinfo,v 1.30 2021/10/26 10:55:46 nia Exp $
+$NetBSD: distinfo,v 1.31 2021/11/23 22:45:01 wiz Exp $
 
-BLAKE2s (lapack-3.9.1.tar.gz) = fe6fd47467781dfd9da6c1e521c9f4810b79874bb4df83f0f723a286f555f214
-SHA512 (lapack-3.9.1.tar.gz) = 1c70892ce22eb1f5c0be1e0384d00dc876622e6254e853616eb7c0379c5d1ecf2f1f94d06389dbfba06b78484daf625d899306a9dc0b31a0646320c814022fdb
-Size (lapack-3.9.1.tar.gz) = 7543209 bytes
+BLAKE2s (lapack-3.10.0.tar.gz) = 57d4953533000589bcf9a478d827dbd5fd0dca18094d30e02b9bd67a21197f00
+SHA512 (lapack-3.10.0.tar.gz) = 56055000c241bab8f318ebd79249ea012c33be0c4c3eca6a78e247f35ad9e8088f46605a0ba52fd5ad3e7898be3b7bc6c50ceb3af327c4986a266b06fe768cbf
+Size (lapack-3.10.0.tar.gz) = 7630775 bytes
 SHA1 (patch-BLAS_SRC_CMakeLists.txt) = 8773f93b1f907ed02d41677a3819f5bb655a331a
+SHA1 (patch-CBLAS_CMakeLists.txt) = e98060150ce7eec343e2465bcad2789be84016f9
 SHA1 (patch-CBLAS_cblas.pc.in) = cc97fbab08024220739929b5ad95c266965da06d
 SHA1 (patch-CBLAS_src_CMakeLists.txt) = 64abbfb4458943483fba8897df0c8bf62c3f949e
-SHA1 (patch-CMakeLists.txt) = 3c8e9125f164625198fb7197982746f43bf4aab5
+SHA1 (patch-CMakeLists.txt) = de1d623f2571752a8ac70fa9d65734ba39770fc5
 SHA1 (patch-LAPACKE_CMakeLists.txt) = 13e4662585088aa53f61f7079d103fdfcf985c4e
 SHA1 (patch-LAPACKE_lapacke.pc.in) = 6bbd72205120501cd60daf0b22b00ef7979fb329
 SHA1 (patch-SRC_CMakeLists.txt) = c0e22574e0c7ff6535c95a6f1f85903bbc1751b0
diff -r 20e4d102e7cd -r fcb2e4592225 math/lapack/patches/patch-CBLAS_CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/lapack/patches/patch-CBLAS_CMakeLists.txt    Tue Nov 23 22:45:01 2021 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-CBLAS_CMakeLists.txt,v 1.1 2021/11/23 22:45:01 wiz Exp $
+
+Without this, math/cblas fails configuring with:
+CMake Error: INSTALL(EXPORT) given unknown export "cblas-targets"                                                                                     
+
+--- CBLAS/CMakeLists.txt.orig  2021-06-28 16:39:12.000000000 +0000
++++ CBLAS/CMakeLists.txt
+@@ -66,7 +66,7 @@ install(FILES
+   COMPONENT Development
+   )
+ 
+-install(EXPORT ${CBLASLIB}-targets
+-  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${CBLASLIB}-${LAPACK_VERSION}
+-  COMPONENT Development
+-  )
++#install(EXPORT ${CBLASLIB}-targets
++#  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${CBLASLIB}-${LAPACK_VERSION}
++#  COMPONENT Development
++#  )
diff -r 20e4d102e7cd -r fcb2e4592225 math/lapack/patches/patch-CMakeLists.txt
--- a/math/lapack/patches/patch-CMakeLists.txt  Tue Nov 23 22:12:12 2021 +0000
+++ b/math/lapack/patches/patch-CMakeLists.txt  Tue Nov 23 22:45:01 2021 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-CMakeLists.txt,v 1.4 2021/05/17 11:31:29 thor Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.5 2021/11/23 22:45:01 wiz Exp $
 
 Avoid installation of LAPACK CMake and pkg-config files when not installing
 LAPACK, also allowing explicitly to switch off LAPACK build for BLAS-only
 packaging.
 
---- CMakeLists.txt.orig        2021-03-25 18:25:15.000000000 +0000
+--- CMakeLists.txt.orig        2021-06-28 16:39:12.000000000 +0000
 +++ CMakeLists.txt
-@@ -160,6 +160,9 @@ endif()
+@@ -157,6 +157,9 @@ endif()
  
  
  # --------------------------------------------------
@@ -16,7 +16,7 @@
  set(LAPACK_INSTALL_EXPORT_NAME ${LAPACKLIB}-targets)
  
  macro(lapack_install_library lib)
-@@ -171,6 +174,18 @@ macro(lapack_install_library lib)
+@@ -168,6 +171,18 @@ macro(lapack_install_library lib)
    )
  endmacro()
  
@@ -35,7 +35,7 @@
  set(PKG_CONFIG_DIR ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
  
  # --------------------------------------------------
-@@ -301,6 +316,10 @@ endif()
+@@ -298,6 +313,10 @@ endif()
  
  option(USE_OPTIMIZED_LAPACK "Whether or not to use an optimized LAPACK library instead of included netlib LAPACK" OFF)
  
@@ -46,7 +46,7 @@
  # --------------------------------------------------
  # LAPACK
  # User did not provide a LAPACK Library but specified to search for one
-@@ -342,6 +361,8 @@ else()
+@@ -339,6 +358,8 @@ else()
      CACHE STRING "Linker flags for shared libs" FORCE)
  endif()
  
@@ -55,7 +55,7 @@
  if(BUILD_TESTING)
    add_subdirectory(TESTING)
  endif()
-@@ -450,14 +471,18 @@ if(NOT BLAS_FOUND)
+@@ -464,10 +485,14 @@ if(NOT BLAS_FOUND)
    set(ALL_TARGETS ${ALL_TARGETS} ${BLASLIB})
  endif()
  
@@ -66,15 +66,11 @@
 +endif()
  endif()
  
- if(BUILD_TESTING OR LAPACKE_WITH_TMG)
-   set(ALL_TARGETS ${ALL_TARGETS} ${TMGLIB})
- endif()
- 
 +if(LAPACK)
  # Export lapack targets, not including lapacke, from the
  # install tree, if any.
  set(_lapack_config_install_guard_target "")
-@@ -471,6 +496,7 @@ if(ALL_TARGETS)
+@@ -481,6 +506,7 @@ if(ALL_TARGETS)
    # lapack-config.cmake to load targets from the install tree.
    list(GET ALL_TARGETS 0 _lapack_config_install_guard_target)
  endif()
@@ -82,8 +78,8 @@
  
  # Include cblas in targets exported from the build tree.
  if(CBLAS)
-@@ -482,6 +508,8 @@ if(LAPACKE)
-   set(ALL_TARGETS ${ALL_TARGETS} ${LAPACKELIB})
+@@ -496,6 +522,8 @@ if(NOT LAPACK_WITH_TMGLIB_FOUND AND LAPA
+   set(ALL_TARGETS ${ALL_TARGETS} ${TMGLIB})
  endif()
  
 +if(BUILD_LAPACK)
@@ -91,7 +87,7 @@
  # Export lapack and lapacke targets from the build tree, if any.
  set(_lapack_config_build_guard_target "")
  if(ALL_TARGETS)
-@@ -519,6 +547,9 @@ install(FILES
+@@ -533,6 +561,9 @@ install(FILES
    DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${LAPACKLIB}-${LAPACK_VERSION}
    COMPONENT Development
    )
diff -r 20e4d102e7cd -r fcb2e4592225 math/lapack/version.mk
--- a/math/lapack/version.mk    Tue Nov 23 22:12:12 2021 +0000
+++ b/math/lapack/version.mk    Tue Nov 23 22:45:01 2021 +0000
@@ -1,3 +1,3 @@
-# $NetBSD: version.mk,v 1.2 2021/05/12 14:32:51 thor Exp $
+# $NetBSD: version.mk,v 1.3 2021/11/23 22:45:01 wiz Exp $
 
-NETLIB_BLAS_VERSION=   3.9.1
+NETLIB_BLAS_VERSION=   3.10.0
diff -r 20e4d102e7cd -r fcb2e4592225 math/lapacke/Makefile
--- a/math/lapacke/Makefile     Tue Nov 23 22:12:12 2021 +0000
+++ b/math/lapacke/Makefile     Tue Nov 23 22:45:01 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2021/06/15 04:41:52 thor Exp $
+# $NetBSD: Makefile,v 1.4 2021/11/23 22:45:01 wiz Exp $
 
 MAINTAINER=    thomas.orgis%uni-hamburg.de@localhost
 COMMENT=       C interface to the reference LAPACK library
-PKGREVISION=   2
 
 LAPACK_COMPONENT=      lapacke
 LAPACK_COMPONENT_CMAKE_ARGS=   \



Home | Main Index | Thread Index | Old Index