pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/arpack-ng



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed May 31 21:35:31 UTC 2023

Modified Files:
        pkgsrc/math/arpack-ng: Makefile PLIST distinfo options.mk

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/arpack-ng/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/arpack-ng/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/math/arpack-ng/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/arpack-ng/options.mk

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

Modified files:

Index: pkgsrc/math/arpack-ng/Makefile
diff -u pkgsrc/math/arpack-ng/Makefile:1.7 pkgsrc/math/arpack-ng/Makefile:1.8
--- pkgsrc/math/arpack-ng/Makefile:1.7  Thu Jul  7 13:39:48 2022
+++ pkgsrc/math/arpack-ng/Makefile      Wed May 31 21:35:31 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2022/07/07 13:39:48 thor Exp $
+# $NetBSD: Makefile,v 1.8 2023/05/31 21:35:31 adam Exp $
 
-DISTNAME=      arpack-ng-3.8.0
-PKGREVISION=   2
+DISTNAME=      arpack-ng-3.9.0
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=opencollab/}
 
@@ -11,25 +10,20 @@ COMMENT=    Library of subroutines to solve
 LICENSE=       original-bsd
 
 USE_LANGUAGES= c fortran
-USE_CMAKE=     yes
-
-OBJDIR=                obj
-
-CONFIGURE_DIRS=        ${OBJDIR}
-
-CMAKE_ARG_PATH=        ..
-CMAKE_ARGS+=   -DBUILD_SHARED_LIBS:BOOL=ON
-
-.include "../../mk/blas.buildlink3.mk"
-CMAKE_ARGS+=   -DBLA_PREFER_PKGCONFIG=true -DBLA_PKGCONFIG_BLAS=${BLAS_PC}
-
-.include "options.mk"
 
+CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON
+CMAKE_ARGS+=   -DBLA_PREFER_PKGCONFIG=true
+CMAKE_ARGS+=   -DBLA_PKGCONFIG_BLAS=${BLAS_PC}
+
+TEST_ENV+=     LD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/lib
+# For Darwin
+TEST_ENV+=     DYLD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/lib
 TEST_TARGET=   test
 
-pre-configure:
-       cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
+.include "options.mk"
 
 INSTALLATION_DIRS=     lib
 
+.include "../../devel/cmake/build.mk"
+.include "../../mk/blas.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/math/arpack-ng/PLIST
diff -u pkgsrc/math/arpack-ng/PLIST:1.3 pkgsrc/math/arpack-ng/PLIST:1.4
--- pkgsrc/math/arpack-ng/PLIST:1.3     Thu Jul  7 13:39:48 2022
+++ pkgsrc/math/arpack-ng/PLIST Wed May 31 21:35:31 2023
@@ -1,10 +1,14 @@
-@comment $NetBSD: PLIST,v 1.3 2022/07/07 13:39:48 thor Exp $
-include/arpack/arpackdef.h
-include/arpack/arpackicb.h
-include/arpack/debug.h
-include/arpack/stat.h
-lib/cmake/arpack-ng/arpack-ng-config-version.cmake
-lib/cmake/arpack-ng/arpack-ng-config.cmake
+@comment $NetBSD: PLIST,v 1.4 2023/05/31 21:35:31 adam Exp $
+include/arpack-ng/arpackdef.h
+include/arpack-ng/arpackicb.h
+include/arpack-ng/debug.h
+include/arpack-ng/debugF90.h
+include/arpack-ng/stat.h
+include/arpack-ng/statF90.h
+lib/cmake/arpackng/arpackng-config-version.cmake
+lib/cmake/arpackng/arpackng-config.cmake
+lib/cmake/arpackng/arpackngTargets-release.cmake
+lib/cmake/arpackng/arpackngTargets.cmake
 lib/libarpack.so
 lib/libarpack.so.2
 lib/libarpack.so.2.1.0

Index: pkgsrc/math/arpack-ng/distinfo
diff -u pkgsrc/math/arpack-ng/distinfo:1.4 pkgsrc/math/arpack-ng/distinfo:1.5
--- pkgsrc/math/arpack-ng/distinfo:1.4  Tue Oct 26 10:55:36 2021
+++ pkgsrc/math/arpack-ng/distinfo      Wed May 31 21:35:31 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:55:36 nia Exp $
+$NetBSD: distinfo,v 1.5 2023/05/31 21:35:31 adam Exp $
 
-BLAKE2s (arpack-ng-3.8.0.tar.gz) = e5292edb8d461dbf5b470fa2297c4fed1468509658555ccb5ebd7bb0b78b7ddd
-SHA512 (arpack-ng-3.8.0.tar.gz) = 8969c74c4c0459ea2d29ea49d5260f668fd33f73886df0da78a42a94aea93c9f5fb70f5df035266db68807ab09a92c13487a7a4e6ca64922145aade8a148a2de
-Size (arpack-ng-3.8.0.tar.gz) = 1014494 bytes
+BLAKE2s (arpack-ng-3.9.0.tar.gz) = b82ffac2169125efbfd4727c5742e14cbe19a86388ba0cc8336de41ecedcbdd2
+SHA512 (arpack-ng-3.9.0.tar.gz) = fbcaa2179dd1aa5a39fc3e7d80f377ec90ddf16ef93184a88e6ecfc464ed97e5659f2cf578294ac3e0b0c0da6408c86acf5bbdce533e1e9d2a3121848340d282
+Size (arpack-ng-3.9.0.tar.gz) = 1015328 bytes

Index: pkgsrc/math/arpack-ng/options.mk
diff -u pkgsrc/math/arpack-ng/options.mk:1.2 pkgsrc/math/arpack-ng/options.mk:1.3
--- pkgsrc/math/arpack-ng/options.mk:1.2        Thu Jul  7 13:40:40 2022
+++ pkgsrc/math/arpack-ng/options.mk    Wed May 31 21:35:31 2023
@@ -1,8 +1,7 @@
-# $NetBSD: options.mk,v 1.2 2022/07/07 13:40:40 thor Exp $
+# $NetBSD: options.mk,v 1.3 2023/05/31 21:35:31 adam Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.arpack-ng
 PKG_SUPPORTED_OPTIONS= mpi
-PKG_SUGGESTED_OPTIONS=
 
 .include "../../mk/bsd.prefs.mk"
 .include "../../mk/bsd.options.mk"



Home | Main Index | Thread Index | Old Index