From nobody Wed Feb 23 20:02:20 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DD14019DC750; Wed, 23 Feb 2022 20:02:20 +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 4K3n4r3TMrz3rqQ; Wed, 23 Feb 2022 20:02:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645646540; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MVJURehMziyWdl5nb+JNnZKi+Oa1U514sg8bRQEyTVk=; b=HnmealHBZP5pReGWf0hxuVxWMlIjAaESOSSFMzNdLTRs72Nton+nWihM9XfWi/8nA95Qkl EkRNthCIlYYK+iHtL8K+t3DUdZsexXyHzv6dloA10+/HPoOE3gFv5bg/hfDEfVcUaCBLqG Lg3+fkqESZ6txnpw7vRvrB0TEnqRI9y5A7YlLx3uiYXWcjg+Ik3KcPONmjDXuPT+/pcrTp MJwT6QKRFmmEVfDt+hmlUt6NgJZWH3z/gPSKEXvEXDwueiT2UX/MStRFJ5Uegm6BAPFpab BYXx5reQwCJBAohqwp4F7KmoFfnjsFnl7fyajnHOPZ8r+WY9KCFCjHXJyCLxWA== 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 3B2901E4DA; Wed, 23 Feb 2022 20:02:20 +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 21NK2KYf077862; Wed, 23 Feb 2022 20:02:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21NK2KtF077861; Wed, 23 Feb 2022 20:02:20 GMT (envelope-from git) Date: Wed, 23 Feb 2022 20:02:20 GMT Message-Id: <202202232002.21NK2KtF077861@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: f93ce0d23da2 - main - math/coin-or-metis: New port: COIN-OR autotools harness to build Metis List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f93ce0d23da27e2bc19196fabb4bbcd7c78959aa Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645646540; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MVJURehMziyWdl5nb+JNnZKi+Oa1U514sg8bRQEyTVk=; b=iwbCcghVBxA2NngOl40yst0ktIhEOsJnXjsey6Zg00UKrLnwxEm1S1Emx5rIQpdCUtJdBD wekyzgXhch2gDL9+4aW5+8LUy82UZB/BClyoXUkYjN6zeJnuyBImAVk3lO5HiGDH/ayjc0 hv6R4yUIxLiNpxgPAjy1WBykyjOsuy4tO55hOXvL3ZrwwyhubwgRZe9KMMSuVkqoGs4BMD jE2CSnq4lUBqmiKMeB96GvAJzaD8O/xPHQzOMSHrAH0u3YCIjSPvaPaVR2w1IvcVMYpH1X YqGUz7jOvj1lk3e8hbQ11Hm7+nLWXGGJeQ2HKo0UzKg6vw+ugcXJxHEHUWGB8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645646540; a=rsa-sha256; cv=none; b=ZTRuJsrrUwuL9/GaQ9L6MUAjRVVUImtfhEqdunBpzRc3d/M7E3rr4ZZAkqqDX/0glh+C5U gnWYJtscKx41xNXXa2x5JYN8usodhmRk6KhaU464SUyo9OtzvT60tYNSHjRscM+4M66aNn 3XjCExL2n8O1liSjwlt8ZLRs3GdTfCLi0KmMNsLU8mnSs5AU9UBr0sjWz5WueokcwuUDAX +9htbq6WyPDBMJqNEci3rvyzxGFXogoT+YBjrOJi1fad6w4nb4Us+UOYLaq/8bLqcp7jpv YkJr4d3leQq0M9ezye4cdLfBMLx2aEvjOIk8/c9Yvu8PGOlReKr0rKzIK0pyaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=f93ce0d23da27e2bc19196fabb4bbcd7c78959aa commit f93ce0d23da27e2bc19196fabb4bbcd7c78959aa Author: Yuri Victorovich AuthorDate: 2022-02-23 19:28:59 +0000 Commit: Yuri Victorovich CommitDate: 2022-02-23 20:02:15 +0000 math/coin-or-metis: New port: COIN-OR autotools harness to build Metis --- math/Makefile | 2 ++ math/coin-or-metis/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ math/coin-or-metis/distinfo | 5 +++++ math/coin-or-metis/pkg-descr | 5 +++++ math/coin-or-metis/pkg-plist | 10 ++++++++++ 5 files changed, 66 insertions(+) diff --git a/math/Makefile b/math/Makefile index c1419aee8fd7..fb4978580aec 100644 --- a/math/Makefile +++ b/math/Makefile @@ -216,6 +216,8 @@ SUBDIR += coin-or-data-netlib SUBDIR += coin-or-data-sample SUBDIR += coin-or-data-stochastic + SUBDIR += coin-or-metis + SUBDIR += coin-or-mumps SUBDIR += coinmp SUBDIR += coinmumps SUBDIR += coinutils diff --git a/math/coin-or-metis/Makefile b/math/coin-or-metis/Makefile new file mode 100644 index 000000000000..cd44938c46cd --- /dev/null +++ b/math/coin-or-metis/Makefile @@ -0,0 +1,44 @@ +PORTNAME= metis +DISTVERSIONPREFIX= releases/ +DISTVERSION= 1.3.10 +CATEGORIES= math +MASTER_SITES= http://coin-or-tools.github.io/ThirdParty-Metis/:metis +PKGNAMEPREFIX= coin-or- +DISTFILES= metis-${METIS_VERSION}.tar.gz:metis + +MAINTAINER= yuri@FreeBSD.org +COMMENT= COIN-OR autotools harness to build Metis + +LICENSE= EPL + +LIB_DEPENDS= libblas.so:math/blas + +USES= fortran gmake libtool pkgconfig +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= coin-or-tools +GH_PROJECT= ThirdParty-Metis + +GNU_CONFIGURE= yes + +INSTALL_TARGET= install-strip + +METIS_VERSION= 4.0.3 # from the script get.Metis + +.include + +.if ${GCC_DEFAULT} >= 10 +# workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1) +# in theory, this should set FCFLAGS, but the port does not conform +FFLAGS+= -fallow-argument-mismatch +.endif + +post-extract: # link MUMPS into the location in the tree + @cd ${WRKSRC} && ${LN} -s ${WRKDIR}/metis-${METIS_VERSION} metis-4.0 + +pre-build: # patching from get.Metis + @cd ${WRKDIR} && \ + ${PATCH} -p0 < ${WRKSRC}/metis.patch + +.include diff --git a/math/coin-or-metis/distinfo b/math/coin-or-metis/distinfo new file mode 100644 index 000000000000..7e604526c2cf --- /dev/null +++ b/math/coin-or-metis/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1645643836 +SHA256 (metis-4.0.3.tar.gz) = 5efa35de80703c1b2c4d0de080fafbcf4e0d363a21149a1ad2f96e0144841a55 +SIZE (metis-4.0.3.tar.gz) = 522624 +SHA256 (coin-or-tools-ThirdParty-Metis-releases-1.3.10_GH0.tar.gz) = 20b3f17263bec6a7966b51533d72f02af8a53c64e29b330d15026fcc309052b3 +SIZE (coin-or-tools-ThirdParty-Metis-releases-1.3.10_GH0.tar.gz) = 253651 diff --git a/math/coin-or-metis/pkg-descr b/math/coin-or-metis/pkg-descr new file mode 100644 index 000000000000..f6e28d98c5fe --- /dev/null +++ b/math/coin-or-metis/pkg-descr @@ -0,0 +1,5 @@ +This is an autotools-based build system to build and install +MUltifrontal Massively Parallel sparse direct Solver (MUMPS). +This installation of MUMPS is used by some other COIN-OR projects. + +WWW: https://github.com/coin-or-tools/ThirdParty-Mumps diff --git a/math/coin-or-metis/pkg-plist b/math/coin-or-metis/pkg-plist new file mode 100644 index 000000000000..090624d0c325 --- /dev/null +++ b/math/coin-or-metis/pkg-plist @@ -0,0 +1,10 @@ +include/coin/ThirdParty/defs.h +include/coin/ThirdParty/macros.h +include/coin/ThirdParty/metis.h +include/coin/ThirdParty/proto.h +include/coin/ThirdParty/rename.h +include/coin/ThirdParty/struct.h +lib/libcoinmetis.so +lib/libcoinmetis.so.1 +lib/libcoinmetis.so.1.3.10 +libdata/pkgconfig/coinmetis.pc