From owner-dev-commits-ports-main@freebsd.org Tue May 25 10:13:39 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 B37436496A8; Tue, 25 May 2021 10:13:39 +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 4Fq90304q6z4Z58; Tue, 25 May 2021 10:13:38 +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 B6D961BF2E; Tue, 25 May 2021 10:13:38 +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 14PADceG001040; Tue, 25 May 2021 10:13:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14PADcUk001039; Tue, 25 May 2021 10:13:38 GMT (envelope-from git) Date: Tue, 25 May 2021 10:13:38 GMT Message-Id: <202105251013.14PADcUk001039@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: 4c7a0350174d - main - suitesparse-cholmod: new port for the module CHOLMOD 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: 4c7a0350174db78fa20d967f2dcac5605f740eb7 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:39 -0000 The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=4c7a0350174db78fa20d967f2dcac5605f740eb7 commit 4c7a0350174db78fa20d967f2dcac5605f740eb7 Author: Thierry Thomas AuthorDate: 2021-05-24 16:39:48 +0000 Commit: Thierry Thomas CommitDate: 2021-05-25 10:00:04 +0000 suitesparse-cholmod: new port for the module CHOLMOD of SuiteSparse --- math/suitesparse-cholmod/Makefile | 24 ++++++++++++++++++++++ .../files/patch-CHOLMOD_Demo_Makefile | 18 ++++++++++++++++ math/suitesparse-cholmod/pkg-descr | 11 ++++++++++ math/suitesparse-cholmod/pkg-plist | 22 ++++++++++++++++++++ 4 files changed, 75 insertions(+) diff --git a/math/suitesparse-cholmod/Makefile b/math/suitesparse-cholmod/Makefile new file mode 100644 index 000000000000..682d15ea7e2a --- /dev/null +++ b/math/suitesparse-cholmod/Makefile @@ -0,0 +1,24 @@ +# Created by: Thierry Thomas () + +PORTNAME= CHOLMOD +PORTVERSION= 3.0.14 +CATEGORIES= math + +COMMENT= Sparse CHOLesky MODification package + +LICENSE= LGPL21+ + +LIB_DEPENDS= libmetis.so:math/metis \ + libamd.so:math/suitesparse-amd \ + libcamd.so:math/suitesparse-camd \ + libcolamd.so:math/suitesparse-colamd \ + libccolamd.so:math/suitesparse-ccolamd + +USES= localbase:ldflags +BLAS_NEEDED= yes +OMP_NEEDED= yes +BUILD_WRKSRC= ${WRKSRC}/${PORTNAME} +USE_LDCONFIG= yes + +.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk" +.include diff --git a/math/suitesparse-cholmod/files/patch-CHOLMOD_Demo_Makefile b/math/suitesparse-cholmod/files/patch-CHOLMOD_Demo_Makefile new file mode 100644 index 000000000000..0d38f6d0828c --- /dev/null +++ b/math/suitesparse-cholmod/files/patch-CHOLMOD_Demo_Makefile @@ -0,0 +1,18 @@ +--- CHOLMOD/Demo/Makefile.orig 2021-05-17 01:04:52 UTC ++++ CHOLMOD/Demo/Makefile +@@ -57,15 +57,7 @@ clean: + + #------------------------------------------------------------------------------- + library: metis +- ( cd ../../SuiteSparse_config ; $(MAKE) ) + ( cd ../Lib ; $(MAKE) ) +- ( cd ../../AMD ; $(MAKE) library ) +- ( cd ../../COLAMD ; $(MAKE) library ) +-ifneq (,$(findstring -DNCAMD, $(CONFIG_PARTITION))) +-else +- ( cd ../../CCOLAMD ; $(MAKE) library ) +- ( cd ../../CAMD ; $(MAKE) library ) +-endif + + metis: ../../include/metis.h + diff --git a/math/suitesparse-cholmod/pkg-descr b/math/suitesparse-cholmod/pkg-descr new file mode 100644 index 000000000000..e4f315e22120 --- /dev/null +++ b/math/suitesparse-cholmod/pkg-descr @@ -0,0 +1,11 @@ +This port installs the module CHOLMOD of SuiteSparse. + +CHOLMOD is a set of routines for factorizing sparse symmetric positive definite +matrices of the form A or AA', updating/downdating a sparse Cholesky +factorization, solving linear systems, updating/downdating the solution to the +triangular system Lx=b, and many other sparse matrix functions for both +symmetric and unsymmetric matrices. Its supernodal Cholesky factorization relies +on LAPACK and the Level-3 BLAS, and obtains a substantial fraction of the peak +performance of the BLAS. Both real and complex matrices are supported. + +WWW: http://faculty.cse.tamu.edu/davis/suitesparse.html diff --git a/math/suitesparse-cholmod/pkg-plist b/math/suitesparse-cholmod/pkg-plist new file mode 100644 index 000000000000..f3189c20045c --- /dev/null +++ b/math/suitesparse-cholmod/pkg-plist @@ -0,0 +1,22 @@ +include/suitesparse/cholmod.h +include/suitesparse/cholmod_blas.h +include/suitesparse/cholmod_camd.h +include/suitesparse/cholmod_check.h +include/suitesparse/cholmod_cholesky.h +include/suitesparse/cholmod_complexity.h +include/suitesparse/cholmod_config.h +include/suitesparse/cholmod_core.h +include/suitesparse/cholmod_function.h +include/suitesparse/cholmod_gpu.h +include/suitesparse/cholmod_gpu_kernels.h +include/suitesparse/cholmod_io64.h +include/suitesparse/cholmod_matrixops.h +include/suitesparse/cholmod_modify.h +include/suitesparse/cholmod_partition.h +include/suitesparse/cholmod_supernodal.h +include/suitesparse/cholmod_template.h +lib/libcholmod.so +lib/libcholmod.so.3 +lib/libcholmod.so.3.0.14 +%%PORTDOCS%%%%DOCSDIR%%/CHOLMOD_README.txt +%%PORTDOCS%%%%DOCSDIR%%/CHOLMOD_UserGuide.pdf