git: ef9eb0a7f8ae - main - suitesparse-slip_lu: new port for the module SLIP_LU of SuiteSparse

Thierry Thomas thierry at FreeBSD.org
Tue May 25 10:13:50 UTC 2021


The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ef9eb0a7f8ae139aeaa1b1f8ed663d97680402ba

commit ef9eb0a7f8ae139aeaa1b1f8ed663d97680402ba
Author:     Thierry Thomas <thierry at FreeBSD.org>
AuthorDate: 2021-05-24 16:44:41 +0000
Commit:     Thierry Thomas <thierry at FreeBSD.org>
CommitDate: 2021-05-25 10:00:09 +0000

    suitesparse-slip_lu: new port for the module SLIP_LU of SuiteSparse
---
 math/suitesparse-slip_lu/Makefile                  | 25 ++++++++++++++++++++++
 .../files/patch-SLIP__LU_Makefile                  | 11 ++++++++++
 math/suitesparse-slip_lu/pkg-descr                 | 11 ++++++++++
 math/suitesparse-slip_lu/pkg-plist                 |  6 ++++++
 4 files changed, 53 insertions(+)

diff --git a/math/suitesparse-slip_lu/Makefile b/math/suitesparse-slip_lu/Makefile
new file mode 100644
index 000000000000..ca39f6955bd9
--- /dev/null
+++ b/math/suitesparse-slip_lu/Makefile
@@ -0,0 +1,25 @@
+# Created by: Thierry Thomas (<thierry at pompo.net>)
+
+PORTNAME=	SLIP_LU
+PORTVERSION=	1.0.2
+CATEGORIES=	math
+
+COMMENT=	Sparse Left-looking Integer-Preserving LU Factorization
+
+LICENSE=	GPLv2+ LGPL3+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${BUILD_WRKSRC}/License/license.txt
+
+LIB_DEPENDS=	libgmp.so:math/gmp	\
+		libmpfr.so:math/mpfr	\
+		libamd.so:math/suitesparse-amd	\
+		libcolamd.so:math/suitesparse-colamd
+
+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-slip_lu/files/patch-SLIP__LU_Makefile b/math/suitesparse-slip_lu/files/patch-SLIP__LU_Makefile
new file mode 100644
index 000000000000..141c5c9e2618
--- /dev/null
+++ b/math/suitesparse-slip_lu/files/patch-SLIP__LU_Makefile
@@ -0,0 +1,11 @@
+--- SLIP_LU/Makefile.orig	2021-05-17 01:04:52 UTC
++++ SLIP_LU/Makefile
+@@ -25,7 +25,7 @@ C:
+ 	( cd Demo ; $(MAKE) )
+ 
+ # compile the dynamic library, and then run the demos and statement coverage
+-all: C cov
++all: C
+ 
+ # compile the dynamic library only
+ library:
diff --git a/math/suitesparse-slip_lu/pkg-descr b/math/suitesparse-slip_lu/pkg-descr
new file mode 100644
index 000000000000..b2a466e46644
--- /dev/null
+++ b/math/suitesparse-slip_lu/pkg-descr
@@ -0,0 +1,11 @@
+This port installs the module SLIP_LU of SuiteSparse.
+
+SLIP_LU is software package used to solve a sparse systems of linear equations
+exactly using the Sparse Left-looking Integer-Preserving LU factorization.
+
+SLIPLU Purpose: Exactly solve a sparse system of linear equations using a given
+input matrix and right hand side vector file. This code can output the final
+solution to a user specified output file in either double precision or full
+precision rational numbers.
+
+WWW: http://faculty.cse.tamu.edu/davis/suitesparse.html
diff --git a/math/suitesparse-slip_lu/pkg-plist b/math/suitesparse-slip_lu/pkg-plist
new file mode 100644
index 000000000000..b14bdaf9ca0c
--- /dev/null
+++ b/math/suitesparse-slip_lu/pkg-plist
@@ -0,0 +1,6 @@
+include/suitesparse/SLIP_LU.h
+lib/libsliplu.so
+lib/libsliplu.so.1
+lib/libsliplu.so.1.0.2
+%%PORTDOCS%%%%DOCSDIR%%/SLIP_LU_README.md
+%%PORTDOCS%%%%DOCSDIR%%/SLIP_LU_UserGuide.pdf


More information about the dev-commits-ports-all mailing list