Date: Tue, 25 May 2021 10:13:39 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: c05dc3502aba - main - suitesparse-colamd: new port for the module COLAMD of SuiteSparse Message-ID: <202105251013.14PADdsP001060@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=c05dc3502abadf29b8d965676d96e57e209e2bf4 commit c05dc3502abadf29b8d965676d96e57e209e2bf4 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2021-05-24 16:40:15 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2021-05-25 10:00:05 +0000 suitesparse-colamd: new port for the module COLAMD of SuiteSparse --- math/suitesparse-colamd/Makefile | 18 ++++++++++++++++++ .../files/patch-COLAMD_Demo_Makefile | 10 ++++++++++ math/suitesparse-colamd/pkg-descr | 11 +++++++++++ math/suitesparse-colamd/pkg-plist | 5 +++++ 4 files changed, 44 insertions(+) diff --git a/math/suitesparse-colamd/Makefile b/math/suitesparse-colamd/Makefile new file mode 100644 index 000000000000..1417606fa072 --- /dev/null +++ b/math/suitesparse-colamd/Makefile @@ -0,0 +1,18 @@ +# Created by: Thierry Thomas (<thierry@pompo.net>) + +PORTNAME= COLAMD +PORTVERSION= 2.9.6 +CATEGORIES= math + +COMMENT= Column approximate minimum degree ordering algorithm + +LICENSE= BSD3CLAUSE + +USES= localbase:ldflags +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-colamd/files/patch-COLAMD_Demo_Makefile b/math/suitesparse-colamd/files/patch-COLAMD_Demo_Makefile new file mode 100644 index 000000000000..8472a58a100c --- /dev/null +++ b/math/suitesparse-colamd/files/patch-COLAMD_Demo_Makefile @@ -0,0 +1,10 @@ +--- COLAMD/Demo/Makefile.orig 2021-05-21 20:12:41 UTC ++++ COLAMD/Demo/Makefile +@@ -15,7 +15,6 @@ LIB2 = $(LDFLAGS) -L../../lib -lcolamd -lsuitesparseco + all: library colamd_example colamd_l_example + + library: +- ( cd ../../SuiteSparse_config ; $(MAKE) ) + ( cd ../Lib ; $(MAKE) ) + + #------------------------------------------------------------------------------ diff --git a/math/suitesparse-colamd/pkg-descr b/math/suitesparse-colamd/pkg-descr new file mode 100644 index 000000000000..ffe0b994bacd --- /dev/null +++ b/math/suitesparse-colamd/pkg-descr @@ -0,0 +1,11 @@ +This port installs the module COLAMD of SuiteSparse. + +The CCOLAMD column approximate minimum degree ordering algorithm computes a +permutation vector P such that the LU factorization of A (:,P) tends to be +sparser than that of A. The Cholesky factorization of (A (:,P))'*(A (:,P)) will +also tend to be sparser than that of A'*A. CSYMAMD is a symmetric minimum degree +ordering method based on CCOLAMD, also available as a MATLAB-callable function. +It constructs a matrix M such that M'*M has the same pattern as A, and then uses +CCOLAMD to compute a column ordering of M. + +WWW: http://faculty.cse.tamu.edu/davis/suitesparse.html diff --git a/math/suitesparse-colamd/pkg-plist b/math/suitesparse-colamd/pkg-plist new file mode 100644 index 000000000000..0b84a4534363 --- /dev/null +++ b/math/suitesparse-colamd/pkg-plist @@ -0,0 +1,5 @@ +include/suitesparse/colamd.h +lib/libcolamd.so +lib/libcolamd.so.2 +lib/libcolamd.so.2.9.6 +%%PORTDOCS%%%%DOCSDIR%%/COLAMD_README.txt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105251013.14PADdsP001060>