From nobody Tue Jun 21 21:02:36 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 8996F867D57; Tue, 21 Jun 2022 21:02:36 +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 4LSJqw20wBz3Fpn; Tue, 21 Jun 2022 21:02:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655845356; 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=5HEV5VAmNKMuZm5QgY402dnhdLgLca8nvxFx6s/5P2g=; b=OXGgeSqVcyNfvBKzZuwx/VodmMHC8jAqG6EPy5LnJ3t8KnAP2tfXrlq9A4+hhnDHqyJ7Ao jbj6iG+4HSee6uHUObLNBUfbI+dBMTBAUMuIr3Bo1PdfOap3X8DS0yDbe3HfCaKRLlmdhJ PYQNJVFHF4vxHteS8G7wy/clKiBK9bJ0uDY9WMS4alyG2jRJwWju6To12hCY3lZqhSa7hf HRXsGtXO2B+KjxDhuA9WZJEMB0YPsHjdQV2M8z0lSz83lad61nISTQgiltvULBwIGxi6Ux MEtnDCCIa8KxssEh2MkEqEcqYKkjUCJTZOaNSjwoSSKbhP2HXH83otftvtv33g== 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 1A782188F3; Tue, 21 Jun 2022 21:02:36 +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 25LL2aFe029251; Tue, 21 Jun 2022 21:02:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25LL2agF029250; Tue, 21 Jun 2022 21:02:36 GMT (envelope-from git) Date: Tue, 21 Jun 2022 21:02:36 GMT Message-Id: <202206212102.25LL2agF029250@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: 3b90e890c8d3 - main - science/precice: Add options; Backport patch provided by upstream 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: 3b90e890c8d32c313ae63d5c8b20c73fad26a9ed Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655845356; 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=5HEV5VAmNKMuZm5QgY402dnhdLgLca8nvxFx6s/5P2g=; b=PLWwLFShvcikNIwAkNqaERzUAgBDzjhTlqjXsH6whB+2drNd1UJKLRD6+rBqwg2wQq8bJ+ gPrOQUS1Px3u4Q3rKj1RgLZpyJ8ZCDSmVZvbO1zubaKd52E1mil3RnAyIX+/NKQL1QexB4 eJ4VXv6zu7ana+jEt/ct/QexvQP1LZlYeCLizToH4gHkVSrya5h7iSuzO8dPjeEwF2UMhV 0jqCkHq9nxyMzNx30nDmjL9JYP7odnfDLsw8YqwO0MF4nZ9E1w3Q3IBLaAydkaPwRTfuAy m9UoVr/gHVV/DM5TIt5GbcXed8wipUsc/65bQ655QKS22/MIbHnSPY6YR3jgIg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655845356; a=rsa-sha256; cv=none; b=UKMH32D5HU1E8yVJQx4rU5tlbpmvZgFIDvGcyD7uMB22jCvBBsjPJDlkfQZVQkDjUvAx6k b4CN6sRpZfjSwNitV3UALKNbc8IXuAcPoMqA3v8neEPh3xaWxMv7pzdzt2Is7XFuwENyD0 ufNV7VtatlDvhD9PAljL0ME3YyijWMHaiGooeZIkQBP2t1QtTzZWQTtHzHeyy54JrB8CgE NDN8pkotxjDatH4s7TATNKp4lb/9y0LLOgNNHtkfV9sg+ELvj37MtYZ2e4fRfBZSYFYfc1 UGHfK0FNZb5WwqrD/GFp+PcDSk7qFIB4nhLZS5jksFMVXvnDwesXSCvIAMI8kQ== 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=3b90e890c8d32c313ae63d5c8b20c73fad26a9ed commit 3b90e890c8d32c313ae63d5c8b20c73fad26a9ed Author: Yuri Victorovich AuthorDate: 2022-06-21 21:01:33 +0000 Commit: Yuri Victorovich CommitDate: 2022-06-21 21:02:33 +0000 science/precice: Add options; Backport patch provided by upstream --- science/precice/Makefile | 24 +++++++++++++++++++----- science/precice/distinfo | 6 +++++- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/science/precice/Makefile b/science/precice/Makefile index e6da4a1f5371..d530ff05cce7 100644 --- a/science/precice/Makefile +++ b/science/precice/Makefile @@ -1,8 +1,13 @@ PORTNAME= precice DISTVERSIONPREFIX= v DISTVERSION= 2.4.0 +PORTREVISION= 1 CATEGORIES= science # physics +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES= 236e5fb9ad611186515142c2d7538b5c78c6f266.patch:-p1 \ + 1d8643401b0a7bfd061d2ee47d6bd9e4cfaf2cca.patch:-p1 + MAINTAINER= yuri@FreeBSD.org COMMENT= Coupling library for partitioned multi-physics simulations @@ -10,8 +15,7 @@ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_system.so:devel/boost-libs \ - libmpicxx.so:net/mpich \ - libpetsc.so:science/PETSc + libmpicxx.so:net/mpich USES= cmake:noninja,testing compiler:c++14-lang eigen:3 gnome pkgconfig # fails with ninja: phony target 'binprecice' names itself as an input; ignoring USE_GNOME= libxml2 @@ -21,11 +25,21 @@ USE_GITHUB= yes CMAKE_OFF= BUILD_TESTING PRECICE_ENABLE_FORTRAN PRECICE_PythonActions -OPTIONS_DEFINE= EXAMPLES +OPTIONS_DEFINE= MPI PETSC EXAMPLES + +MPI_CMAKE_BOOL= PRECICE_MPICommunication +MPI_BUILD_DEPENDS= openmpi>0:net/openmpi +MPI_RUN_DEPENDS= openmpi>0:net/openmpi +MPI_BROKEN= all tests crash with MPI, see https://github.com/precice/precice/issues/1331 + +PETSC_DESC= Use PETSc linear algebra library +PETSC_CMAKE_BOOL= PRECICE_PETScMapping +PETSC_LIB_DEPENDS= libpetsc.so:science/PETSc +PETSC_IMPLIES= MPI -PORTEXAMPLES= * +PORTEXAMPLES= * -# several tests are known to fail, see https://github.com/precice/precice/issues/1331 +# 3 tests are known to fail, see https://github.com/precice/precice/issues/1331 post-install: # remove files which aren't docs @${RM} -r ${STAGEDIR}${PREFIX}/share/doc diff --git a/science/precice/distinfo b/science/precice/distinfo index ec753470c6af..df6bea0d463a 100644 --- a/science/precice/distinfo +++ b/science/precice/distinfo @@ -1,3 +1,7 @@ -TIMESTAMP = 1655718589 +TIMESTAMP = 1655802288 SHA256 (precice-precice-v2.4.0_GH0.tar.gz) = 762e603fbcaa96c4fb0b378b7cb6789d09da0cf6193325603e5eeb13e4c7601c SIZE (precice-precice-v2.4.0_GH0.tar.gz) = 1596029 +SHA256 (236e5fb9ad611186515142c2d7538b5c78c6f266.patch) = 3a472a26dcdb2eaad3bbefc4c9fe7376ea30bcb7836738949745ca85410e1d7f +SIZE (236e5fb9ad611186515142c2d7538b5c78c6f266.patch) = 758 +SHA256 (1d8643401b0a7bfd061d2ee47d6bd9e4cfaf2cca.patch) = 1c54bfceb1f87ffaad2ae8f087ad770e8aa1854454ca136198434937302e78ce +SIZE (1d8643401b0a7bfd061d2ee47d6bd9e4cfaf2cca.patch) = 563