pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/superlu



Module Name:    pkgsrc
Committed By:   thor
Date:           Tue Dec 19 10:34:09 UTC 2023

Modified Files:
        pkgsrc/math/superlu: Makefile PLIST distinfo

Log Message:
math/superlu: update to 6.0.1, build shared lib, fix BLAS usage

This now links against the correct BLAS and installs a shared lib, as is
more customary for us. Upstream Changes:

October 17, 2020   Version 5.2.2
    Applied a number of patches, merged a number of PRs.
Septtember 29, 2021   Version 5.3.0
    Added CI with github Actions.
    Applied a number of patches.
    Cleaned up warnings.
April 5, 2023   Version 6.0.0
    Add 64-bit indexing support and METIS ordering option.
August 5, 2023   Version 6.0.1
    Minor fixes, mostly documentation and clean up warnings


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/math/superlu/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/math/superlu/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/math/superlu/distinfo

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

Modified files:

Index: pkgsrc/math/superlu/Makefile
diff -u pkgsrc/math/superlu/Makefile:1.33 pkgsrc/math/superlu/Makefile:1.34
--- pkgsrc/math/superlu/Makefile:1.33   Tue Jun 28 11:34:45 2022
+++ pkgsrc/math/superlu/Makefile        Tue Dec 19 10:34:09 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2022/06/28 11:34:45 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2023/12/19 10:34:09 thor Exp $
 
-DISTNAME=              superlu-5.2.1
-PKGREVISION=           4
+DISTNAME=              superlu-6.0.1
 CATEGORIES=            math
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=xiaoyeli/}
 GITHUB_TAG=            v${PKGVERSION_NOREV}
@@ -14,6 +13,14 @@ USE_CMAKE=           yes
 USE_LANGUAGES=         c fortran
 TEST_TARGET=           test
 
+CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON
+# Does not use C interface, also somehow has broken FindBLAS usage.
+CMAKE_ARGS+=   -DTPL_ENABLE_INTERNAL_BLASLIB=OFF
+CMAKE_ARGS+=   -DTPL_BLAS_LIBRARIES=${BLAS_LIBS:Q}
+# Keeping those here. In future, that should work and replace the
+# above. Need upstream bug report.
+#CMAKE_ARGS+=  -DBLA_PREFER_PKGCONFIG=ON
+#CMAKE_ARGS+=  -DBLA_PKGCONFIG_BLAS=${BLAS_PC}
 
 .include "../../mk/blas.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/math/superlu/PLIST
diff -u pkgsrc/math/superlu/PLIST:1.4 pkgsrc/math/superlu/PLIST:1.5
--- pkgsrc/math/superlu/PLIST:1.4       Wed Feb 26 16:29:43 2020
+++ pkgsrc/math/superlu/PLIST   Tue Dec 19 10:34:09 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2020/02/26 16:29:43 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2023/12/19 10:34:09 thor Exp $
 include/slu_Cnames.h
 include/slu_cdefs.h
 include/slu_dcomplex.h
@@ -7,6 +7,14 @@ include/slu_scomplex.h
 include/slu_sdefs.h
 include/slu_util.h
 include/slu_zdefs.h
+include/superlu_config.h
 include/superlu_enum_consts.h
 include/supermatrix.h
-lib/libsuperlu.a
+lib/cmake/superlu/superluConfig.cmake
+lib/cmake/superlu/superluConfigVersion.cmake
+lib/cmake/superlu/superluTargets-noconfig.cmake
+lib/cmake/superlu/superluTargets.cmake
+lib/libsuperlu.so
+lib/libsuperlu.so.6
+lib/libsuperlu.so.${PKGVERSION}
+lib/pkgconfig/superlu.pc

Index: pkgsrc/math/superlu/distinfo
diff -u pkgsrc/math/superlu/distinfo:1.11 pkgsrc/math/superlu/distinfo:1.12
--- pkgsrc/math/superlu/distinfo:1.11   Tue Oct 26 10:56:08 2021
+++ pkgsrc/math/superlu/distinfo        Tue Dec 19 10:34:09 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:56:08 nia Exp $
+$NetBSD: distinfo,v 1.12 2023/12/19 10:34:09 thor Exp $
 
-BLAKE2s (superlu-5.2.1.tar.gz) = 5117aa82f3ae63e6c9aaa9906044b5783be52927fba045ebe039a2299dc5bb2b
-SHA512 (superlu-5.2.1.tar.gz) = c5f9ca6055b6861dcc89e31c446c9f57a4e16333f9f24f109e8f375eded878005fa520ab39d2c1dd0ce12f289f9e251aef47da58c975bf5b1f09ca7539194e90
-Size (superlu-5.2.1.tar.gz) = 2468374 bytes
+BLAKE2s (superlu-6.0.1.tar.gz) = 1a4be5a5755a388fabc078e1ab6d48f8da4205f3877a51e064c8579077ca75bc
+SHA512 (superlu-6.0.1.tar.gz) = 6dd2baeff9ca7ed4761845b9a30c6dca4e19ca498e10ea7360013b3aece576ca996a8bf31c4479321feda6f5266235d68ea9a2e256f0ffe91f804d4cdecd3847
+Size (superlu-6.0.1.tar.gz) = 2521228 bytes



Home | Main Index | Thread Index | Old Index