math/suitesparse-paru: new port, parallel unsymmetric multifrontal method

This commit is contained in:
Thierry Thomas 2024-01-12 16:51:33 +01:00
parent 3717100872
commit 3f5bebfe00
6 changed files with 48 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -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.

View file

@ -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

View file

@ -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 \

View file

@ -60,6 +60,7 @@ OPTIONS_DEFAULT+= OPTIMIZED_CFLAGS
.if ${MPORTNAME} == config || \
${MPORTNAME} == CHOLMOD || \
${MPORTNAME} == ParU || \
${MPORTNAME} == SPQR || \
${MPORTNAME} == UMFPACK
OPTIONS_RADIO+= BLAS