diff --git a/math/suitesparse/Makefile b/math/suitesparse/Makefile index 0e280cfc1395..ddef1cb8c9d2 100644 --- a/math/suitesparse/Makefile +++ b/math/suitesparse/Makefile @@ -1,34 +1,34 @@ PORTNAME= suitesparse -PORTVERSION= 7.12.0 +PORTVERSION= 7.12.1 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-lagraph>0:math/suitesparse-lagraph \ 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 \ suitesparse-paru>0:math/suitesparse-paru .if !defined(PACKAGE_BUILDING) RUN_DEPENDS+= suitesparse-csparse>0:math/suitesparse-csparse \ suitesparse-example>0:math/suitesparse-Example .endif USES= metaport .include diff --git a/math/suitesparse/bsd.suitesparse.mk b/math/suitesparse/bsd.suitesparse.mk index a2cdeb5e6263..2d4912616c30 100644 --- a/math/suitesparse/bsd.suitesparse.mk +++ b/math/suitesparse/bsd.suitesparse.mk @@ -1,117 +1,117 @@ # Created by: Maho Nakata # # Common elements used by the SuiteSparse modules PKGNAMEPREFIX= suitesparse- SSPNAME= suitesparse -SSPVERSION= 7.12.0 +SSPVERSION= 7.12.1 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} CMAKE_ARGS+= -DBLAS_LIBRARIES:STRING="${BLASLIB}" \ -DLAPACK_LIBRARIES:STRING="${LAPACKLIB}" .if ${MPORTNAME} != config && \ ${MPORTNAME} != CSparse && \ ${MPORTNAME} != ssget LIB_DEPENDS+= libsuitesparseconfig.so:math/suitesparse-config .endif .if ${MPORTNAME} != config && \ ${MPORTNAME} != BTF && \ ${MPORTNAME} != Example && \ ${MPORTNAME} != ssget OPTIONS_DEFINE+=DEMOS .endif USES+= cmake:insource fortran 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}" 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} == ParU || \ ${MPORTNAME} == SPQR || \ ${MPORTNAME} == UMFPACK OPTIONS_RADIO+= BLAS OPTIONS_RADIO_BLAS+= ATLAS BLIS NETLIB OPENBLAS OPTIONS_DEFAULT+= OPENBLAS BLIS_DESC= BLAS implemntation from FLAME ATLAS_USES= blaslapack:atlas BLIS_USES= blaslapack:blis 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= SUITESPARSE_DEMOS .if !defined(WITH_DEBUG) OPTIMIZED_CFLAGS_CFLAGS= -O3 OPTIMIZED_CFLAGS_CXXFLAGS= -O3 LDFLAGS+= -s .endif 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 .else USES+= compiler:c++11-lib .endif diff --git a/math/suitesparse/distinfo b/math/suitesparse/distinfo index b1ecd202b252..c45a6d02e0b6 100644 --- a/math/suitesparse/distinfo +++ b/math/suitesparse/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1762277855 -SHA256 (suitesparse/v7.12.0.tar.gz) = 1908d5a8813dabae78cacb47a1f656dda34d4647cf4384b5988836ed821e5bd4 -SIZE (suitesparse/v7.12.0.tar.gz) = 95319357 +TIMESTAMP = 1762417262 +SHA256 (suitesparse/v7.12.1.tar.gz) = 794ae22f7e38e2ac9f5cbb673be9dd80cdaff2cdf858f5104e082694f743b0ba +SIZE (suitesparse/v7.12.1.tar.gz) = 95320552