From owner-dev-commits-ports-all@freebsd.org Tue May 25 10:13:54 2021 Return-Path: Delivered-To: dev-commits-ports-all@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 5BC6B649914; Tue, 25 May 2021 10:13:54 +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 4Fq90K1qV6z4Yyj; Tue, 25 May 2021 10:13:52 +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 3AE1F1BB69; Tue, 25 May 2021 10:13:52 +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 14PADqBv001304; Tue, 25 May 2021 10:13:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14PADqkB001303; Tue, 25 May 2021 10:13:52 GMT (envelope-from git) Date: Tue, 25 May 2021 10:13:52 GMT Message-Id: <202105251013.14PADqkB001303@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: aa89cc7245a3 - main - suitesparse-umfpack: new port for the module UMFPACK 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: aa89cc7245a382eb9c7f62b5d888a35743cbe9db Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2021 10:13:54 -0000 The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=aa89cc7245a382eb9c7f62b5d888a35743cbe9db commit aa89cc7245a382eb9c7f62b5d888a35743cbe9db Author: Thierry Thomas AuthorDate: 2021-05-24 16:45:36 +0000 Commit: Thierry Thomas CommitDate: 2021-05-25 10:00:10 +0000 suitesparse-umfpack: new port for the module UMFPACK of SuiteSparse --- math/suitesparse-umfpack/Makefile | 26 +++++++++++++++ .../files/patch-UMFPACK_Demo_Makefile | 16 +++++++++ math/suitesparse-umfpack/pkg-descr | 5 +++ math/suitesparse-umfpack/pkg-plist | 39 ++++++++++++++++++++++ 4 files changed, 86 insertions(+) diff --git a/math/suitesparse-umfpack/Makefile b/math/suitesparse-umfpack/Makefile new file mode 100644 index 000000000000..9e1e4bf6d660 --- /dev/null +++ b/math/suitesparse-umfpack/Makefile @@ -0,0 +1,26 @@ +# Created by: Thierry Thomas () + +PORTNAME= UMFPACK +PORTVERSION= 5.7.9 +CATEGORIES= math + +COMMENT= Sparse multifrontal LU factorization + +LICENSE= GPLv2+ + +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 \ + libcholmod.so:math/suitesparse-cholmod + +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-umfpack/files/patch-UMFPACK_Demo_Makefile b/math/suitesparse-umfpack/files/patch-UMFPACK_Demo_Makefile new file mode 100644 index 000000000000..df69a4e05eac --- /dev/null +++ b/math/suitesparse-umfpack/files/patch-UMFPACK_Demo_Makefile @@ -0,0 +1,16 @@ +--- UMFPACK/Demo/Makefile.orig 2021-05-17 01:04:52 UTC ++++ UMFPACK/Demo/Makefile +@@ -31,13 +31,7 @@ LIBS = $(LDLIBS) -L../../lib -lumfpack -lamd -lsuitesp + $(LIB_WITH_CHOLMOD) $(LAPACK) $(BLAS) + + libs: metis +- ( cd ../../SuiteSparse_config ; $(MAKE) ) +- ( cd ../../AMD ; $(MAKE) library ) + ( cd ../Lib ; $(MAKE) ) +- - ( cd ../../CHOLMOD && $(MAKE) library ) +- - ( cd ../../COLAMD && $(MAKE) library ) +- - ( cd ../../CCOLAMD ; $(MAKE) library ) +- - ( cd ../../CAMD ; $(MAKE) library ) + + metis: ../../include/metis.h + diff --git a/math/suitesparse-umfpack/pkg-descr b/math/suitesparse-umfpack/pkg-descr new file mode 100644 index 000000000000..b820d3992ef7 --- /dev/null +++ b/math/suitesparse-umfpack/pkg-descr @@ -0,0 +1,5 @@ +This port installs the module UMFPACK of SuiteSparse. + +UMFPACK is a set of routines solving sparse linear systems via LU factorization. + +WWW: http://faculty.cse.tamu.edu/davis/suitesparse.html diff --git a/math/suitesparse-umfpack/pkg-plist b/math/suitesparse-umfpack/pkg-plist new file mode 100644 index 000000000000..6e4a239ac24c --- /dev/null +++ b/math/suitesparse-umfpack/pkg-plist @@ -0,0 +1,39 @@ +include/suitesparse/umfpack.h +include/suitesparse/umfpack_col_to_triplet.h +include/suitesparse/umfpack_defaults.h +include/suitesparse/umfpack_free_numeric.h +include/suitesparse/umfpack_free_symbolic.h +include/suitesparse/umfpack_get_determinant.h +include/suitesparse/umfpack_get_lunz.h +include/suitesparse/umfpack_get_numeric.h +include/suitesparse/umfpack_get_symbolic.h +include/suitesparse/umfpack_global.h +include/suitesparse/umfpack_load_numeric.h +include/suitesparse/umfpack_load_symbolic.h +include/suitesparse/umfpack_numeric.h +include/suitesparse/umfpack_qsymbolic.h +include/suitesparse/umfpack_report_control.h +include/suitesparse/umfpack_report_info.h +include/suitesparse/umfpack_report_matrix.h +include/suitesparse/umfpack_report_numeric.h +include/suitesparse/umfpack_report_perm.h +include/suitesparse/umfpack_report_status.h +include/suitesparse/umfpack_report_symbolic.h +include/suitesparse/umfpack_report_triplet.h +include/suitesparse/umfpack_report_vector.h +include/suitesparse/umfpack_save_numeric.h +include/suitesparse/umfpack_save_symbolic.h +include/suitesparse/umfpack_scale.h +include/suitesparse/umfpack_solve.h +include/suitesparse/umfpack_symbolic.h +include/suitesparse/umfpack_tictoc.h +include/suitesparse/umfpack_timer.h +include/suitesparse/umfpack_transpose.h +include/suitesparse/umfpack_triplet_to_col.h +include/suitesparse/umfpack_wsolve.h +lib/libumfpack.so +lib/libumfpack.so.5 +lib/libumfpack.so.5.7.9 +%%PORTDOCS%%%%DOCSDIR%%/UMFPACK_QuickStart.pdf +%%PORTDOCS%%%%DOCSDIR%%/UMFPACK_README.txt +%%PORTDOCS%%%%DOCSDIR%%/UMFPACK_UserGuide.pdf