mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
suitesparse-ldl: new port for the module LDL of SuiteSparse
This commit is contained in:
parent
14cd75c20d
commit
c2572d5d8b
4 changed files with 48 additions and 0 deletions
19
math/suitesparse-ldl/Makefile
Normal file
19
math/suitesparse-ldl/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
|
PORTNAME= LDL
|
||||||
|
PORTVERSION= 2.2.6
|
||||||
|
CATEGORIES= math
|
||||||
|
|
||||||
|
COMMENT= Simple LDL^T factorization
|
||||||
|
|
||||||
|
LICENSE= LGPL21+
|
||||||
|
|
||||||
|
LIB_DEPENDS= libamd.so:math/suitesparse-amd
|
||||||
|
|
||||||
|
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>
|
11
math/suitesparse-ldl/files/patch-LDL_Demo_Makefile
Normal file
11
math/suitesparse-ldl/files/patch-LDL_Demo_Makefile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- LDL/Demo/Makefile.orig 2021-05-17 01:04:52 UTC
|
||||||
|
+++ LDL/Demo/Makefile
|
||||||
|
@@ -16,8 +16,6 @@ LIB2 = $(LDFLAGS) -L../../lib -lldl -lamd -lsuitespars
|
||||||
|
|
||||||
|
library:
|
||||||
|
( cd ../Lib ; $(MAKE) )
|
||||||
|
- ( cd ../../SuiteSparse_config ; $(MAKE) )
|
||||||
|
- ( cd ../../AMD ; $(MAKE) )
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
# stand-alone C programs:
|
12
math/suitesparse-ldl/pkg-descr
Normal file
12
math/suitesparse-ldl/pkg-descr
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
This port installs the module LDL of SuiteSparse.
|
||||||
|
|
||||||
|
LDL is a sparse LDL' factorization and solve package.
|
||||||
|
|
||||||
|
These routines are not terrifically fast (they do not use dense matrix kernels),
|
||||||
|
but the code is very short and concise. The purpose is to illustrate the
|
||||||
|
algorithms in a very concise and readable manner, primarily for educational
|
||||||
|
purposes. Although the code is very concise, this package is slightly faster
|
||||||
|
than the built-in sparse Cholesky factorization in MATLAB 6.5 (chol), when
|
||||||
|
using the same input permutation.
|
||||||
|
|
||||||
|
WWW: http://faculty.cse.tamu.edu/davis/suitesparse.html
|
6
math/suitesparse-ldl/pkg-plist
Normal file
6
math/suitesparse-ldl/pkg-plist
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
include/suitesparse/ldl.h
|
||||||
|
lib/libldl.so
|
||||||
|
lib/libldl.so.2
|
||||||
|
lib/libldl.so.2.2.6
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/LDL_README.txt
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/ldl_userguide.pdf
|
Loading…
Add table
Reference in a new issue