diff --git a/math/suitesparse-config/pkg-plist b/math/suitesparse-config/pkg-plist index 354316d32334..f5852a04ba21 100644 --- a/math/suitesparse-config/pkg-plist +++ b/math/suitesparse-config/pkg-plist @@ -1,19 +1,19 @@ include/suitesparse/SuiteSparse_config.h lib/cmake/SuiteSparse/SuiteSparseBLAS.cmake lib/cmake/SuiteSparse/SuiteSparseBLAS32.cmake lib/cmake/SuiteSparse/SuiteSparseBLAS64.cmake lib/cmake/SuiteSparse/SuiteSparseLAPACK.cmake lib/cmake/SuiteSparse/SuiteSparsePolicy.cmake lib/cmake/SuiteSparse/SuiteSparseReport.cmake lib/cmake/SuiteSparse/SuiteSparse__thread.cmake lib/cmake/SuiteSparse_config/SuiteSparse_configConfig.cmake lib/cmake/SuiteSparse_config/SuiteSparse_configConfigVersion.cmake lib/cmake/SuiteSparse_config/SuiteSparse_configTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/SuiteSparse_config/SuiteSparse_configTargets.cmake lib/libsuitesparseconfig.a lib/libsuitesparseconfig.so lib/libsuitesparseconfig.so.7 -lib/libsuitesparseconfig.so.7.2.1 +lib/libsuitesparseconfig.so.%%VER%% libdata/pkgconfig/SuiteSparse_config.pc %%PORTDOCS%%%%DOCSDIR%%/SuiteSparse_README.md %%PORTDOCS%%%%DOCSDIR%%/config_README.txt diff --git a/math/suitesparse/Makefile b/math/suitesparse/Makefile index 802fcf26fef7..3db65cdacb37 100644 --- a/math/suitesparse/Makefile +++ b/math/suitesparse/Makefile @@ -1,31 +1,31 @@ PORTNAME= suitesparse -PORTVERSION= 7.2.1 +PORTVERSION= 7.2.2 CATEGORIES= math MAINTAINER= fortran@FreeBSD.org COMMENT= Set of packages for sparse matrix calculation WWW= https://faculty.cse.tamu.edu/davis/suitesparse.html RUN_DEPENDS= suitesparse-config>0:math/suitesparse-config \ suitesparse-amd>0:math/suitesparse-amd \ suitesparse-btf>0:math/suitesparse-btf \ suitesparse-camd>0:math/suitesparse-camd \ suitesparse-ccolamd>0:math/suitesparse-ccolamd \ suitesparse-colamd>0:math/suitesparse-colamd \ suitesparse-cholmod>0:math/suitesparse-cholmod \ suitesparse-cxsparse>0:math/suitesparse-cxsparse \ suitesparse-graphblas>0:math/suitesparse-graphblas \ suitesparse-klu>0:math/suitesparse-klu \ suitesparse-ldl>0:math/suitesparse-ldl \ suitesparse-mongoose>0:math/suitesparse-mongoose \ suitesparse-rbio>0:math/suitesparse-rbio \ suitesparse-spex>0:math/suitesparse-spex \ suitesparse-spqr>0:math/suitesparse-spqr \ suitesparse-umfpack>0:math/suitesparse-umfpack .if !defined(PACKAGE_BUILDING) RUN_DEPENDS+= suitesparse-csparse>0:math/suitesparse-csparse .endif USES= metaport .include diff --git a/math/suitesparse/bsd.suitesparse.mk b/math/suitesparse/bsd.suitesparse.mk index 6a2b0364712e..925e8ef86d0e 100644 --- a/math/suitesparse/bsd.suitesparse.mk +++ b/math/suitesparse/bsd.suitesparse.mk @@ -1,117 +1,119 @@ # Created by: Maho Nakata # # Common elements used by the SuiteSparse modules PKGNAMEPREFIX= suitesparse- SSPNAME= suitesparse -SSPVERSION= 7.2.1 +SSPVERSION= 7.2.2 DISTVERSIONPREFIX= v MAINTAINER= fortran@FreeBSD.org #USE_GITHUB= yes # Does not work with different versions for modules GH_ACCOUNT= DrTimothyAldenDavis GH_PROJECT= SuiteSparse GH_TAGNAME= ${SSPVERSION} MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/archive/refs/tags/ DISTNAME= ${DISTVERSIONPREFIX}${SSPVERSION} DIST_SUBDIR= ${SSPNAME} WRKSRC= ${WRKDIR}/${GH_PROJECT}-${SSPVERSION} .if ${MPORTNAME} != config CONFIGURE_WRKSRC=${WRKSRC}/${MPORTNAME} .else CONFIGURE_WRKSRC=${WRKSRC}/SuiteSparse_config .endif BUILD_WRKSRC= ${CONFIGURE_WRKSRC} CMAKE_SOURCE_PATH= ${CONFIGURE_WRKSRC} .if ${MPORTNAME} != config && \ ${MPORTNAME} != CSparse && \ ${MPORTNAME} != ssget LIB_DEPENDS+= libsuitesparseconfig.so:math/suitesparse-config .endif .if ${MPORTNAME} != config && \ ${MPORTNAME} != BTF && \ ${MPORTNAME} != ssget OPTIONS_DEFINE+=DEMOS .endif USES+= cmake:insource pathfix DOCSDIR= ${PREFIX}/share/doc/${SSPNAME} MAKE_ENV= JOBS="${MAKE_JOBS_NUMBER}" \ CMAKE_OPTIONS='${CMAKE_ARGS}' \ INSTALL="${STAGEDIR}${PREFIX}" \ INSTALL_DOC="${STAGEDIR}${DOCSDIR}" \ INSTALL_INCLUDE="${STAGEDIR}${PREFIX}/include/${SSPNAME}" CMAKE_ARGS+= -DCMAKE_INSTALL_INCLUDEDIR:PATH="include/${SSPNAME}" LDFLAGS+= -L${WRKSRC}/lib # prevent linking with shared libs from the preinstalled older versions INSTALL_TARGET= install # skip USES=cmake INSTALL_WRKSRC= ${BUILD_WRKSRC} +PLIST_SUB+= VER=${PORTVERSION} + # FIXME: wont work if .CURDIR contains spaces DISTINFO_FILE= ${.CURDIR}/../../math/suitesparse/distinfo OPTIONS_DEFINE+= DOCS OPTIMIZED_CFLAGS OPTIONS_DEFAULT+= OPTIMIZED_CFLAGS .if ${MPORTNAME} == config || \ ${MPORTNAME} == CHOLMOD || \ ${MPORTNAME} == SPQR || \ ${MPORTNAME} == UMFPACK OPTIONS_RADIO+= BLAS OPTIONS_RADIO_BLAS+= ATLAS GOTOBLAS NETLIB OPENBLAS OPTIONS_DEFAULT+= OPENBLAS ATLAS_USES= blaslapack:atlas GOTOBLAS_DESC= Goto blas implementation GOTOBLAS_USES= blaslapack:gotoblas NETLIB_USES= blaslapack:netlib OPENBLAS_USES= blaslapack:openblas .endif OPTIONS_DEFINE+= OPENMP OPTIONS_EXCLUDE_aarch64= OPENMP OPTIONS_EXCLUDE_armv7= OPENMP OPTIONS_EXCLUDE_powerpc= OPENMP OPTIONS_DEFAULT+= OPENMP OPENMP_MAKE_ENV_OFF= CFOPENMP= . if !exists(/usr/include/omp.h) # XXX ports/199603: LLVM openmp in base doesn't support armv6, armv7 yet OPENMP_VARS= OPENMP=gcc- . endif OPENMP_CMAKE_BOOL= OPENMP OPENMP_CMAKE_BOOL_OFF= NOPENMP DEMOS_DESC= Build the demonstrations DEMOS_CMAKE_BOOL= DEMO .if !defined(WITH_DEBUG) OPTIMIZED_CFLAGS_CFLAGS= -O3 OPTIMIZED_CFLAGS_CXXFLAGS= -O3 LDFLAGS+= -s .endif post-extract: ${RM} -r ${WRKSRC}/metis-* post-install: .if ! ${MPORTNAME} == config @${RM} ${STAGEDIR}${DOCSDIR}/SUITESPARSECONFIG_README.txt \ ${STAGEDIR}${PREFIX}/include/suitesparse/SuiteSparse_config.h .endif .include .if ${ARCH} == i386 # See PR 230888 : Missing 64 bit atomic functions for i386 USE_GCC= yes LDFLAGS+= -latomic .elif defined(PPC_ABI) && ${PPC_ABI} == ELFv1 USE_GCC= yes .else USES+= compiler:c++11-lib .endif diff --git a/math/suitesparse/distinfo b/math/suitesparse/distinfo index 9a7b464e8e3e..d112f2c5d6cc 100644 --- a/math/suitesparse/distinfo +++ b/math/suitesparse/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1697272278 -SHA256 (suitesparse/v7.2.1.tar.gz) = 304e959a163ff74f8f4055dade3e0b5498d9aa3b1c483633bb400620f521509f -SIZE (suitesparse/v7.2.1.tar.gz) = 65392568 +TIMESTAMP = 1697738812 +SHA256 (suitesparse/v7.2.2.tar.gz) = ec0ece3348ce410d938543dc94f63fc7816016610f2d0d5cfc633c8f86597e02 +SIZE (suitesparse/v7.2.2.tar.gz) = 65392248