arpack-ng: updated to 3.9.0 arpack-ng - 3.9.0 [ Vikas Sharma ] * Improve README. [ Fabien P辿an ] * CI: Enable job `windows_latest_cmake` to run all tests * CMake: Fix BLAS and LAPACK static library order needed to consume the library on Windows with static linkage * Fix using ARPACK on Windows with MSVC compiler from C++17 onwards [ Zhentao Wang ] * [BUG FIX] parpack.h and parpack.hpp: type of rwork should be real instead of complex. * Allow ritz_option {"LR", "SR", "LI", "SI"} for complex eigenvalue problems in ICB. [ Jose E. Roman ] * Avoid using isnan() in tests, since is GNU-specific [ Tom Payerle ] * Change the continuation line format for stat.h, debug.h [ John Doe ] * Avoid calling [c|z]dotc for better portability on macOS [ Dima Pasechnik ] * [BUG FIX] autotools: replace obsolete AC_TRY_COMPILE macros. * Support for NAG's nagfor Fortran compiler [ Franck Houssen ] * Create one .cmake file per arpack-ng flavor (32-bits, 64-bits, ILP64). * Test autotools pkg-config (*.pc files) with/without LIBSUFFIX/ITF64SUFFIX. * Test CMake find_package (*.cmake files) with/without LIBSUFFIX/ITF64SUFFIX. * [BUG FIX] autotools: ICB must be checked first (MPI changes compilers). * [BUG FIX] BLAS/LAPACK: allow suffixes in case BLAS/LAPACK can not provide ICB. * [BUG FIX] Compile C programs with ICB. * arpackmm: command line bug fix. * arpackmm: restart bug fix. * pyarpack: fix compilation warning, test on macos and latest boost-python (1.79). * arpackSolver: fix error messages. * [BUG FIX] Make sure iseed is always initialized to values allowed by lapack ?larnv. * [BUG FIX] According to lapack doc of ?larnv, iseed(4) must be odd. * [BUG FIX] Use MPI ICB types (mpi_f08) instead of integer(kind=i_int). * parpack: no ILP64 support. [ Haoyang Liu ] * CMake: minimum required version changed to 3.0 * CMake: add C99 standard checking * CI: Support for centos7 added. * CI: Add `scripts/travis_centos.sh` for centos builds [ Robert Sch端tz ] * use CMAKE_INSTALL_FULL_<dir> in arpack.pc [ Markus M端tzel ] * CMake: Handle libraries without "lib" prefix. * CMake: Don't override BLAS/LAPACK/MPI flags. Directly use results from the Find* modules instead. [ Juan Jos辿 Garc鱈a-Ripoll ] * Adapt the C/C++ interface to accept also MSVC's non-standard complex types. * Propagate dependencies to CMake targets that use arpack-ng: - Create CMake-generated targets and configuration files that keep track of arpack's dependencies (libraries, directories) and expose them to users. - Install those files under ${prefix}/lib/cmake/arpackng* so that arpack can be found using 'find_package(arpackng)' from CMake files. - Add code to the arpackng-config.cmake to find required dependencies when this module is loaded by find_package(arpackng).diff -r1.7 -r1.8 pkgsrc/math/arpack-ng/Makefile
(adam)
@@ -1,35 +1,29 @@ | @@ -1,35 +1,29 @@ | |||
1 | # $NetBSD: Makefile,v 1.7 2022/07/07 13:39:48 thor Exp $ | 1 | # $NetBSD: Makefile,v 1.8 2023/05/31 21:35:31 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= arpack-ng-3.8.0 | 3 | DISTNAME= arpack-ng-3.9.0 | |
4 | PKGREVISION= 2 | |||
5 | CATEGORIES= math | 4 | CATEGORIES= math | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=opencollab/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=opencollab/} | |
7 | 6 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/opencollab/arpack-ng | 8 | HOMEPAGE= https://github.com/opencollab/arpack-ng | |
10 | COMMENT= Library of subroutines to solve eigenvalue problems | 9 | COMMENT= Library of subroutines to solve eigenvalue problems | |
11 | LICENSE= original-bsd | 10 | LICENSE= original-bsd | |
12 | 11 | |||
13 | USE_LANGUAGES= c fortran | 12 | USE_LANGUAGES= c fortran | |
14 | USE_CMAKE= yes | |||
15 | ||||
16 | OBJDIR= obj | |||
17 | ||||
18 | CONFIGURE_DIRS= ${OBJDIR} | |||
19 | ||||
20 | CMAKE_ARG_PATH= .. | |||
21 | CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON | |||
22 | ||||
23 | .include "../../mk/blas.buildlink3.mk" | |||
24 | CMAKE_ARGS+= -DBLA_PREFER_PKGCONFIG=true -DBLA_PKGCONFIG_BLAS=${BLAS_PC} | |||
25 | ||||
26 | .include "options.mk" | |||
27 | 13 | |||
14 | CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON | |||
15 | CMAKE_ARGS+= -DBLA_PREFER_PKGCONFIG=true | |||
16 | CMAKE_ARGS+= -DBLA_PKGCONFIG_BLAS=${BLAS_PC} | |||
17 | ||||
18 | TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/lib | |||
19 | # For Darwin | |||
20 | TEST_ENV+= DYLD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/lib | |||
28 | TEST_TARGET= test | 21 | TEST_TARGET= test | |
29 | 22 | |||
30 | pre-configure: | 23 | .include "options.mk" | |
31 | cd ${WRKSRC} && ${MKDIR} ${OBJDIR} | |||
32 | 24 | |||
33 | INSTALLATION_DIRS= lib | 25 | INSTALLATION_DIRS= lib | |
34 | 26 | |||
27 | .include "../../devel/cmake/build.mk" | |||
28 | .include "../../mk/blas.buildlink3.mk" | |||
35 | .include "../../mk/bsd.pkg.mk" | 29 | .include "../../mk/bsd.pkg.mk" |
@@ -1,15 +1,19 @@ | @@ -1,15 +1,19 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2022/07/07 13:39:48 thor Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2023/05/31 21:35:31 adam Exp $ | |
2 | include/arpack/arpackdef.h | 2 | include/arpack-ng/arpackdef.h | |
3 | include/arpack/arpackicb.h | 3 | include/arpack-ng/arpackicb.h | |
4 | include/arpack/debug.h | 4 | include/arpack-ng/debug.h | |
5 | include/arpack/stat.h | 5 | include/arpack-ng/debugF90.h | |
6 | lib/cmake/arpack-ng/arpack-ng-config-version.cmake | 6 | include/arpack-ng/stat.h | |
7 | lib/cmake/arpack-ng/arpack-ng-config.cmake | 7 | include/arpack-ng/statF90.h | |
8 | lib/cmake/arpackng/arpackng-config-version.cmake | |||
9 | lib/cmake/arpackng/arpackng-config.cmake | |||
10 | lib/cmake/arpackng/arpackngTargets-release.cmake | |||
11 | lib/cmake/arpackng/arpackngTargets.cmake | |||
8 | lib/libarpack.so | 12 | lib/libarpack.so | |
9 | lib/libarpack.so.2 | 13 | lib/libarpack.so.2 | |
10 | lib/libarpack.so.2.1.0 | 14 | lib/libarpack.so.2.1.0 | |
11 | ${PLIST.mpi}lib/libparpack.so | 15 | ${PLIST.mpi}lib/libparpack.so | |
12 | ${PLIST.mpi}lib/libparpack.so.2 | 16 | ${PLIST.mpi}lib/libparpack.so.2 | |
13 | ${PLIST.mpi}lib/libparpack.so.2.1.0 | 17 | ${PLIST.mpi}lib/libparpack.so.2.1.0 | |
14 | lib/pkgconfig/arpack.pc | 18 | lib/pkgconfig/arpack.pc | |
15 | ${PLIST.mpi}lib/pkgconfig/parpack.pc | 19 | ${PLIST.mpi}lib/pkgconfig/parpack.pc |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2021/10/26 10:55:36 nia Exp $ | 1 | $NetBSD: distinfo,v 1.5 2023/05/31 21:35:31 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (arpack-ng-3.8.0.tar.gz) = e5292edb8d461dbf5b470fa2297c4fed1468509658555ccb5ebd7bb0b78b7ddd | 3 | BLAKE2s (arpack-ng-3.9.0.tar.gz) = b82ffac2169125efbfd4727c5742e14cbe19a86388ba0cc8336de41ecedcbdd2 | |
4 | SHA512 (arpack-ng-3.8.0.tar.gz) = 8969c74c4c0459ea2d29ea49d5260f668fd33f73886df0da78a42a94aea93c9f5fb70f5df035266db68807ab09a92c13487a7a4e6ca64922145aade8a148a2de | 4 | SHA512 (arpack-ng-3.9.0.tar.gz) = fbcaa2179dd1aa5a39fc3e7d80f377ec90ddf16ef93184a88e6ecfc464ed97e5659f2cf578294ac3e0b0c0da6408c86acf5bbdce533e1e9d2a3121848340d282 | |
5 | Size (arpack-ng-3.8.0.tar.gz) = 1014494 bytes | 5 | Size (arpack-ng-3.9.0.tar.gz) = 1015328 bytes |
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: options.mk,v 1.2 2022/07/07 13:40:40 thor Exp $ | 1 | # $NetBSD: options.mk,v 1.3 2023/05/31 21:35:31 adam Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.arpack-ng | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.arpack-ng | |
4 | PKG_SUPPORTED_OPTIONS= mpi | 4 | PKG_SUPPORTED_OPTIONS= mpi | |
5 | PKG_SUGGESTED_OPTIONS= | |||
6 | 5 | |||
7 | .include "../../mk/bsd.prefs.mk" | 6 | .include "../../mk/bsd.prefs.mk" | |
8 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
9 | 8 | |||
10 | PLIST_VARS+= mpi | 9 | PLIST_VARS+= mpi | |
11 | .if !empty(PKG_OPTIONS:Mmpi) | 10 | .if !empty(PKG_OPTIONS:Mmpi) | |
12 | PLIST.mpi= yes | 11 | PLIST.mpi= yes | |
13 | CMAKE_ARGS+= -DMPI=on | 12 | CMAKE_ARGS+= -DMPI=on | |
14 | .include "../../mk/mpi.buildlink3.mk" | 13 | .include "../../mk/mpi.buildlink3.mk" | |
15 | .else | 14 | .else | |
16 | CMAKE_ARGS+= -DMPI=off | 15 | CMAKE_ARGS+= -DMPI=off | |
17 | .endif | 16 | .endif |