Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 2021 10:13:34 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: 4a06093726b2 - main - suitesparse-amd: new port for the module AMD of SuiteSparse
Message-ID:  <202105251013.14PADYCl000948@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=4a06093726b2650242192a9cca45b8debb18256c

commit 4a06093726b2650242192a9cca45b8debb18256c
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2021-05-24 16:37:22 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2021-05-25 10:00:02 +0000

    suitesparse-amd: new port for the module AMD of SuiteSparse
---
 math/suitesparse-amd/Makefile  | 24 ++++++++++++++++++++++++
 math/suitesparse-amd/pkg-descr |  6 ++++++
 math/suitesparse-amd/pkg-plist |  7 +++++++
 3 files changed, 37 insertions(+)

diff --git a/math/suitesparse-amd/Makefile b/math/suitesparse-amd/Makefile
new file mode 100644
index 000000000000..d48318342f9a
--- /dev/null
+++ b/math/suitesparse-amd/Makefile
@@ -0,0 +1,24 @@
+# Created by: Thierry Thomas (<thierry@pompo.net>)
+
+PORTNAME=	AMD
+PORTVERSION=	2.4.6
+CATEGORIES=	math
+
+COMMENT=	Symmetric approximate minimum degree
+
+LICENSE=	BSD3CLAUSE
+
+USES=		fortran localbase:ldflags
+OMP_NEEDED=	yes
+
+BUILD_WRKSRC=	${WRKSRC}/${PORTNAME}
+ALL_TARGET+=	fortran
+USE_LDCONFIG=	yes
+
+.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
+
+post-stage:
+	${INSTALL_DATA} ${BUILD_WRKSRC}/Lib/libamdf77.a	\
+		${STAGEDIR}${PREFIX}/lib/
+
+.include <bsd.port.post.mk>
diff --git a/math/suitesparse-amd/pkg-descr b/math/suitesparse-amd/pkg-descr
new file mode 100644
index 000000000000..5452afac4a73
--- /dev/null
+++ b/math/suitesparse-amd/pkg-descr
@@ -0,0 +1,6 @@
+This port installs the module AMD of SuiteSparse.
+
+AMD is a set of routines for pre-ordering sparse matrices prior to Cholesky
+or LU factorization, using the approximate minimum degree ordering algorithm.
+
+WWW: http://faculty.cse.tamu.edu/davis/suitesparse.html
diff --git a/math/suitesparse-amd/pkg-plist b/math/suitesparse-amd/pkg-plist
new file mode 100644
index 000000000000..8b494b692a57
--- /dev/null
+++ b/math/suitesparse-amd/pkg-plist
@@ -0,0 +1,7 @@
+include/suitesparse/amd.h
+lib/libamd.so
+lib/libamd.so.2
+lib/libamd.so.2.4.6
+lib/libamdf77.a
+%%PORTDOCS%%%%DOCSDIR%%/AMD_README.txt
+%%PORTDOCS%%%%DOCSDIR%%/AMD_UserGuide.pdf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105251013.14PADYCl000948>