Date: Sat, 13 Jan 2024 10:21:29 GMT From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 3f5bebfe0095 - main - math/suitesparse-paru: new port, parallel unsymmetric multifrontal method Message-ID: <202401131021.40DALTIe063762@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f5bebfe0095594f351f7ac90ba3dda1dd6e12c8 commit 3f5bebfe0095594f351f7ac90ba3dda1dd6e12c8 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2024-01-12 15:51:33 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2024-01-13 10:15:05 +0000 math/suitesparse-paru: new port, parallel unsymmetric multifrontal method --- math/Makefile | 1 + math/suitesparse-paru/Makefile | 27 +++++++++++++++++++++++++++ math/suitesparse-paru/pkg-descr | 4 ++++ math/suitesparse-paru/pkg-plist | 14 ++++++++++++++ math/suitesparse/Makefile | 1 + math/suitesparse/bsd.suitesparse.mk | 1 + 6 files changed, 48 insertions(+) diff --git a/math/Makefile b/math/Makefile index c105d38c9b65..345406ce012f 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1178,6 +1178,7 @@ SUBDIR += suitesparse-lagraph SUBDIR += suitesparse-ldl SUBDIR += suitesparse-mongoose + SUBDIR += suitesparse-paru SUBDIR += suitesparse-rbio SUBDIR += suitesparse-spex SUBDIR += suitesparse-spqr diff --git a/math/suitesparse-paru/Makefile b/math/suitesparse-paru/Makefile new file mode 100644 index 000000000000..ffb06f26ff5f --- /dev/null +++ b/math/suitesparse-paru/Makefile @@ -0,0 +1,27 @@ +PORTNAME= ${MPORTNAME:tl} +PORTVERSION= 0.1.1 +CATEGORIES= math parallel + +COMMENT= Parallel unsymmetric multifrontal method +WWW= https://faculty.cse.tamu.edu/davis/suitesparse.html + +LICENSE= GPLv3 + +LIB_DEPENDS= libumfpack.so:math/suitesparse-umfpack + +USES= localbase +CMAKE_ARGS+= -DUMFPACK_DIR:PATH="${LOCALBASE}/lib/cmake/UMFPACK" + +MPORTNAME= ParU +USE_LDCONFIG= yes + +.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk" + +post-stage-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${BUILD_WRKSRC}/README.md \ + ${STAGEDIR}${DOCSDIR}/${MPORTNAME}_README.md + ${INSTALL_DATA} ${BUILD_WRKSRC}/Doc/paru_user_guide.pdf \ + ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.post.mk> diff --git a/math/suitesparse-paru/pkg-descr b/math/suitesparse-paru/pkg-descr new file mode 100644 index 000000000000..e784407aeb29 --- /dev/null +++ b/math/suitesparse-paru/pkg-descr @@ -0,0 +1,4 @@ +This port installs the module ParU of SuiteSparse. + +ParU is a set of routines for solving sparse linear system via parallel +multifrontal LU factorization algorithms. diff --git a/math/suitesparse-paru/pkg-plist b/math/suitesparse-paru/pkg-plist new file mode 100644 index 000000000000..cb2209f264ef --- /dev/null +++ b/math/suitesparse-paru/pkg-plist @@ -0,0 +1,14 @@ +include/suitesparse/ParU.hpp +include/suitesparse/ParU_C.h +include/suitesparse/ParU_definitions.h +lib/cmake/ParU/ParUConfig.cmake +lib/cmake/ParU/ParUConfigVersion.cmake +lib/cmake/ParU/ParUTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/ParU/ParUTargets.cmake +lib/libparu.a +lib/libparu.so +lib/libparu.so.0 +lib/libparu.so.%%VER%% +libdata/pkgconfig/ParU.pc +%%PORTDOCS%%%%DOCSDIR%%/ParU_README.md +%%PORTDOCS%%%%DOCSDIR%%/paru_user_guide.pdf diff --git a/math/suitesparse/Makefile b/math/suitesparse/Makefile index 854528772898..782fc8b97d2f 100644 --- a/math/suitesparse/Makefile +++ b/math/suitesparse/Makefile @@ -19,6 +19,7 @@ RUN_DEPENDS= suitesparse-config>0:math/suitesparse-config \ suitesparse-lagraph>0:math/suitesparse-lagraph \ suitesparse-ldl>0:math/suitesparse-ldl \ suitesparse-mongoose>0:math/suitesparse-mongoose \ + suitesparse-paru>0:math/suitesparse-paru \ suitesparse-rbio>0:math/suitesparse-rbio \ suitesparse-spex>0:math/suitesparse-spex \ suitesparse-spqr>0:math/suitesparse-spqr \ diff --git a/math/suitesparse/bsd.suitesparse.mk b/math/suitesparse/bsd.suitesparse.mk index 8a1a9190878b..b924bdbc43d7 100644 --- a/math/suitesparse/bsd.suitesparse.mk +++ b/math/suitesparse/bsd.suitesparse.mk @@ -60,6 +60,7 @@ OPTIONS_DEFAULT+= OPTIMIZED_CFLAGS .if ${MPORTNAME} == config || \ ${MPORTNAME} == CHOLMOD || \ + ${MPORTNAME} == ParU || \ ${MPORTNAME} == SPQR || \ ${MPORTNAME} == UMFPACK OPTIONS_RADIO+= BLAS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401131021.40DALTIe063762>