Date: Tue, 25 May 2021 10:13:52 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: aa89cc7245a3 - main - suitesparse-umfpack: new port for the module UMFPACK of SuiteSparse Message-ID: <202105251013.14PADqkB001303@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=aa89cc7245a382eb9c7f62b5d888a35743cbe9db commit aa89cc7245a382eb9c7f62b5d888a35743cbe9db Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2021-05-24 16:45:36 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2021-05-25 10:00:10 +0000 suitesparse-umfpack: new port for the module UMFPACK of SuiteSparse --- math/suitesparse-umfpack/Makefile | 26 +++++++++++++++ .../files/patch-UMFPACK_Demo_Makefile | 16 +++++++++ math/suitesparse-umfpack/pkg-descr | 5 +++ math/suitesparse-umfpack/pkg-plist | 39 ++++++++++++++++++++++ 4 files changed, 86 insertions(+) diff --git a/math/suitesparse-umfpack/Makefile b/math/suitesparse-umfpack/Makefile new file mode 100644 index 000000000000..9e1e4bf6d660 --- /dev/null +++ b/math/suitesparse-umfpack/Makefile @@ -0,0 +1,26 @@ +# Created by: Thierry Thomas (<thierry@pompo.net>) + +PORTNAME= UMFPACK +PORTVERSION= 5.7.9 +CATEGORIES= math + +COMMENT= Sparse multifrontal LU factorization + +LICENSE= GPLv2+ + +LIB_DEPENDS= libmetis.so:math/metis \ + libamd.so:math/suitesparse-amd \ + libcamd.so:math/suitesparse-camd \ + libcolamd.so:math/suitesparse-colamd \ + libccolamd.so:math/suitesparse-ccolamd \ + libcholmod.so:math/suitesparse-cholmod + +USES= localbase:ldflags +BLAS_NEEDED= yes +OMP_NEEDED= yes + +BUILD_WRKSRC= ${WRKSRC}/${PORTNAME} +USE_LDCONFIG= yes + +.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk" +.include <bsd.port.post.mk> diff --git a/math/suitesparse-umfpack/files/patch-UMFPACK_Demo_Makefile b/math/suitesparse-umfpack/files/patch-UMFPACK_Demo_Makefile new file mode 100644 index 000000000000..df69a4e05eac --- /dev/null +++ b/math/suitesparse-umfpack/files/patch-UMFPACK_Demo_Makefile @@ -0,0 +1,16 @@ +--- UMFPACK/Demo/Makefile.orig 2021-05-17 01:04:52 UTC ++++ UMFPACK/Demo/Makefile +@@ -31,13 +31,7 @@ LIBS = $(LDLIBS) -L../../lib -lumfpack -lamd -lsuitesp + $(LIB_WITH_CHOLMOD) $(LAPACK) $(BLAS) + + libs: metis +- ( cd ../../SuiteSparse_config ; $(MAKE) ) +- ( cd ../../AMD ; $(MAKE) library ) + ( cd ../Lib ; $(MAKE) ) +- - ( cd ../../CHOLMOD && $(MAKE) library ) +- - ( cd ../../COLAMD && $(MAKE) library ) +- - ( cd ../../CCOLAMD ; $(MAKE) library ) +- - ( cd ../../CAMD ; $(MAKE) library ) + + metis: ../../include/metis.h + diff --git a/math/suitesparse-umfpack/pkg-descr b/math/suitesparse-umfpack/pkg-descr new file mode 100644 index 000000000000..b820d3992ef7 --- /dev/null +++ b/math/suitesparse-umfpack/pkg-descr @@ -0,0 +1,5 @@ +This port installs the module UMFPACK of SuiteSparse. + +UMFPACK is a set of routines solving sparse linear systems via LU factorization. + +WWW: http://faculty.cse.tamu.edu/davis/suitesparse.html diff --git a/math/suitesparse-umfpack/pkg-plist b/math/suitesparse-umfpack/pkg-plist new file mode 100644 index 000000000000..6e4a239ac24c --- /dev/null +++ b/math/suitesparse-umfpack/pkg-plist @@ -0,0 +1,39 @@ +include/suitesparse/umfpack.h +include/suitesparse/umfpack_col_to_triplet.h +include/suitesparse/umfpack_defaults.h +include/suitesparse/umfpack_free_numeric.h +include/suitesparse/umfpack_free_symbolic.h +include/suitesparse/umfpack_get_determinant.h +include/suitesparse/umfpack_get_lunz.h +include/suitesparse/umfpack_get_numeric.h +include/suitesparse/umfpack_get_symbolic.h +include/suitesparse/umfpack_global.h +include/suitesparse/umfpack_load_numeric.h +include/suitesparse/umfpack_load_symbolic.h +include/suitesparse/umfpack_numeric.h +include/suitesparse/umfpack_qsymbolic.h +include/suitesparse/umfpack_report_control.h +include/suitesparse/umfpack_report_info.h +include/suitesparse/umfpack_report_matrix.h +include/suitesparse/umfpack_report_numeric.h +include/suitesparse/umfpack_report_perm.h +include/suitesparse/umfpack_report_status.h +include/suitesparse/umfpack_report_symbolic.h +include/suitesparse/umfpack_report_triplet.h +include/suitesparse/umfpack_report_vector.h +include/suitesparse/umfpack_save_numeric.h +include/suitesparse/umfpack_save_symbolic.h +include/suitesparse/umfpack_scale.h +include/suitesparse/umfpack_solve.h +include/suitesparse/umfpack_symbolic.h +include/suitesparse/umfpack_tictoc.h +include/suitesparse/umfpack_timer.h +include/suitesparse/umfpack_transpose.h +include/suitesparse/umfpack_triplet_to_col.h +include/suitesparse/umfpack_wsolve.h +lib/libumfpack.so +lib/libumfpack.so.5 +lib/libumfpack.so.5.7.9 +%%PORTDOCS%%%%DOCSDIR%%/UMFPACK_QuickStart.pdf +%%PORTDOCS%%%%DOCSDIR%%/UMFPACK_README.txt +%%PORTDOCS%%%%DOCSDIR%%/UMFPACK_UserGuide.pdf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105251013.14PADqkB001303>