From owner-dev-commits-ports-main@freebsd.org Tue May 25 10:13:46 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D76256494DB; Tue, 25 May 2021 10:13:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fq90B4zGFz4Z2t; Tue, 25 May 2021 10:13:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 869931BC4C; Tue, 25 May 2021 10:13:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14PADkWX001193; Tue, 25 May 2021 10:13:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14PADkKi001192; Tue, 25 May 2021 10:13:46 GMT (envelope-from git) Date: Tue, 25 May 2021 10:13:46 GMT Message-Id: <202105251013.14PADkKi001192@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: c2572d5d8bc4 - main - suitesparse-ldl: new port for the module LDL of SuiteSparse MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c2572d5d8bc4d2b564a04684ed38986f5a0d56e8 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2021 10:13:47 -0000 The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=c2572d5d8bc4d2b564a04684ed38986f5a0d56e8 commit c2572d5d8bc4d2b564a04684ed38986f5a0d56e8 Author: Thierry Thomas AuthorDate: 2021-05-24 16:43:16 +0000 Commit: Thierry Thomas CommitDate: 2021-05-25 10:00:07 +0000 suitesparse-ldl: new port for the module LDL of SuiteSparse --- math/suitesparse-ldl/Makefile | 19 +++++++++++++++++++ math/suitesparse-ldl/files/patch-LDL_Demo_Makefile | 11 +++++++++++ math/suitesparse-ldl/pkg-descr | 12 ++++++++++++ math/suitesparse-ldl/pkg-plist | 6 ++++++ 4 files changed, 48 insertions(+) diff --git a/math/suitesparse-ldl/Makefile b/math/suitesparse-ldl/Makefile new file mode 100644 index 000000000000..ca297ced70d6 --- /dev/null +++ b/math/suitesparse-ldl/Makefile @@ -0,0 +1,19 @@ +# Created by: Thierry Thomas () + +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 diff --git a/math/suitesparse-ldl/files/patch-LDL_Demo_Makefile b/math/suitesparse-ldl/files/patch-LDL_Demo_Makefile new file mode 100644 index 000000000000..900ca6f81081 --- /dev/null +++ b/math/suitesparse-ldl/files/patch-LDL_Demo_Makefile @@ -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: diff --git a/math/suitesparse-ldl/pkg-descr b/math/suitesparse-ldl/pkg-descr new file mode 100644 index 000000000000..125de2646ace --- /dev/null +++ b/math/suitesparse-ldl/pkg-descr @@ -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 diff --git a/math/suitesparse-ldl/pkg-plist b/math/suitesparse-ldl/pkg-plist new file mode 100644 index 000000000000..4c7f42a57578 --- /dev/null +++ b/math/suitesparse-ldl/pkg-plist @@ -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