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 warningsdiff -r1.33 -r1.34 pkgsrc/math/superlu/Makefile
(thor)
@@ -1,19 +1,26 @@ | @@ -1,19 +1,26 @@ | |||
1 | # $NetBSD: Makefile,v 1.33 2022/06/28 11:34:45 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.34 2023/12/19 10:34:09 thor Exp $ | |
2 | 2 | |||
3 | DISTNAME= superlu-5.2.1 | 3 | DISTNAME= superlu-6.0.1 | |
4 | PKGREVISION= 4 | |||
5 | CATEGORIES= math | 4 | CATEGORIES= math | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=xiaoyeli/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=xiaoyeli/} | |
7 | GITHUB_TAG= v${PKGVERSION_NOREV} | 6 | GITHUB_TAG= v${PKGVERSION_NOREV} | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://portal.nersc.gov/project/sparse/superlu/ | 9 | HOMEPAGE= https://portal.nersc.gov/project/sparse/superlu/ | |
11 | COMMENT= Library for solving large, sparse, nonsymmetric systems of linear equations | 10 | COMMENT= Library for solving large, sparse, nonsymmetric systems of linear equations | |
12 | 11 | |||
13 | USE_CMAKE= yes | 12 | USE_CMAKE= yes | |
14 | USE_LANGUAGES= c fortran | 13 | USE_LANGUAGES= c fortran | |
15 | TEST_TARGET= test | 14 | TEST_TARGET= test | |
16 | 15 | |||
16 | CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON | |||
17 | # Does not use C interface, also somehow has broken FindBLAS usage. | |||
18 | CMAKE_ARGS+= -DTPL_ENABLE_INTERNAL_BLASLIB=OFF | |||
19 | CMAKE_ARGS+= -DTPL_BLAS_LIBRARIES=${BLAS_LIBS:Q} | |||
20 | # Keeping those here. In future, that should work and replace the | |||
21 | # above. Need upstream bug report. | |||
22 | #CMAKE_ARGS+= -DBLA_PREFER_PKGCONFIG=ON | |||
23 | #CMAKE_ARGS+= -DBLA_PKGCONFIG_BLAS=${BLAS_PC} | |||
17 | 24 | |||
18 | .include "../../mk/blas.buildlink3.mk" | 25 | .include "../../mk/blas.buildlink3.mk" | |
19 | .include "../../mk/bsd.pkg.mk" | 26 | .include "../../mk/bsd.pkg.mk" |
@@ -1,12 +1,20 @@ | @@ -1,12 +1,20 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2020/02/26 16:29:43 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2023/12/19 10:34:09 thor Exp $ | |
2 | include/slu_Cnames.h | 2 | include/slu_Cnames.h | |
3 | include/slu_cdefs.h | 3 | include/slu_cdefs.h | |
4 | include/slu_dcomplex.h | 4 | include/slu_dcomplex.h | |
5 | include/slu_ddefs.h | 5 | include/slu_ddefs.h | |
6 | include/slu_scomplex.h | 6 | include/slu_scomplex.h | |
7 | include/slu_sdefs.h | 7 | include/slu_sdefs.h | |
8 | include/slu_util.h | 8 | include/slu_util.h | |
9 | include/slu_zdefs.h | 9 | include/slu_zdefs.h | |
10 | include/superlu_config.h | |||
10 | include/superlu_enum_consts.h | 11 | include/superlu_enum_consts.h | |
11 | include/supermatrix.h | 12 | include/supermatrix.h | |
12 | lib/libsuperlu.a | 13 | lib/cmake/superlu/superluConfig.cmake | |
14 | lib/cmake/superlu/superluConfigVersion.cmake | |||
15 | lib/cmake/superlu/superluTargets-noconfig.cmake | |||
16 | lib/cmake/superlu/superluTargets.cmake | |||
17 | lib/libsuperlu.so | |||
18 | lib/libsuperlu.so.6 | |||
19 | lib/libsuperlu.so.${PKGVERSION} | |||
20 | lib/pkgconfig/superlu.pc |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.11 2021/10/26 10:56:08 nia Exp $ | 1 | $NetBSD: distinfo,v 1.12 2023/12/19 10:34:09 thor Exp $ | |
2 | 2 | |||
3 | BLAKE2s (superlu-5.2.1.tar.gz) = 5117aa82f3ae63e6c9aaa9906044b5783be52927fba045ebe039a2299dc5bb2b | 3 | BLAKE2s (superlu-6.0.1.tar.gz) = 1a4be5a5755a388fabc078e1ab6d48f8da4205f3877a51e064c8579077ca75bc | |
4 | SHA512 (superlu-5.2.1.tar.gz) = c5f9ca6055b6861dcc89e31c446c9f57a4e16333f9f24f109e8f375eded878005fa520ab39d2c1dd0ce12f289f9e251aef47da58c975bf5b1f09ca7539194e90 | 4 | SHA512 (superlu-6.0.1.tar.gz) = 6dd2baeff9ca7ed4761845b9a30c6dca4e19ca498e10ea7360013b3aece576ca996a8bf31c4479321feda6f5266235d68ea9a2e256f0ffe91f804d4cdecd3847 | |
5 | Size (superlu-5.2.1.tar.gz) = 2468374 bytes | 5 | Size (superlu-6.0.1.tar.gz) = 2521228 bytes |