From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 28563158086 for ; Wed, 13 Oct 2021 05:26:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C466E086C; Wed, 13 Oct 2021 05:26:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 43CB3E086C for ; Wed, 13 Oct 2021 05:26:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1B379342D3C for ; Wed, 13 Oct 2021 05:26:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B231279 for ; Wed, 13 Oct 2021 05:26:40 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1634102760.cbc37751200389ef4067f1e71b06e09198ea94fc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/mpich/mpich-3.4.2.ebuild X-VCS-Directories: sys-cluster/mpich/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cbc37751200389ef4067f1e71b06e09198ea94fc X-VCS-Branch: master Date: Wed, 13 Oct 2021 05:26:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5c5ef55f-20f3-4f6a-a5df-51641692227e X-Archives-Hash: 974df792b2e385af878271cb23757513 commit: cbc37751200389ef4067f1e71b06e09198ea94fc Author: Sam James gentoo org> AuthorDate: Wed Oct 13 05:25:55 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Oct 13 05:26:00 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbc37751 sys-cluster/mpich: tidy up ebuild a bit Bug: https://bugs.gentoo.org/808219 Signed-off-by: Sam James gentoo.org> sys-cluster/mpich/mpich-3.4.2.ebuild | 42 +++++++++++++++++------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/sys-cluster/mpich/mpich-3.4.2.ebuild b/sys-cluster/mpich/mpich-3.4.2.ebuild index d6e74a25650..21539e686ec 100644 --- a/sys-cluster/mpich/mpich-3.4.2.ebuild +++ b/sys-cluster/mpich/mpich-3.4.2.ebuild @@ -1,43 +1,38 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 FORTRAN_NEEDED=fortran FORTRAN_STANDARD="77 90" -inherit fortran-2 multilib-minimal multilib flag-o-matic autotools +inherit fortran-2 multilib-minimal flag-o-matic MY_PV=${PV/_/} DESCRIPTION="A high performance and portable MPI implementation" -HOMEPAGE="http://www.mpich.org/" -SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz" +HOMEPAGE="https://www.mpich.org/" +SRC_URI="https://www.mpich.org/static/downloads/${PV}/${P}.tar.gz" +S="${WORKDIR}"/${PN}-${MY_PV} -SLOT="0" LICENSE="mpich2" +SLOT="0" KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="+cxx doc fortran mpi-threads +romio threads" REQUIRED_USE="mpi-threads? ( threads )" -COMMON_DEPEND=" - >=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}] +COMMON_DEPEND=">=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}] >=sys-apps/hwloc-2.0.2[${MULTILIB_USEDEP}] sys-libs/libunwind[${MULTILIB_USEDEP}] - romio? ( net-fs/nfs-utils ) -" + romio? ( net-fs/nfs-utils )" DEPEND="${COMMON_DEPEND} dev-lang/perl - sys-devel/libtool -" - + sys-devel/libtool" RDEPEND="${COMMON_DEPEND} !sys-cluster/mpich2 !sys-cluster/openmpi !sys-cluster/nullmpi" -S="${WORKDIR}"/${PN}-${MY_PV} - MULTILIB_WRAPPED_HEADERS=( /usr/include/mpicxx.h /usr/include/mpi.h @@ -105,10 +100,13 @@ multilib_src_configure() { export MPICHLIB_FCFLAGS="${FCFLAGS}" export MPICHLIB_LDFLAGS="${LDFLAGS}" - # dropped w/ bug #725842 fix + # Dropped w/ bug #725842 fix #unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS # Forcing Bash as there's quite a few bashisms in the build system + # + # Note that --with-device=ch3 is preserving the old 3.3.x default + # - keeping it for compatibility for now. CONFIG_SHELL="${BROOT}/bin/bash" ECONF_SOURCE=${S} econf \ --enable-shared \ --with-hwloc-prefix="${EPREFIX}/usr" \ @@ -119,7 +117,7 @@ multilib_src_configure() { --with-fiprovider-libdir="$(get_libdir)" \ ${c} \ --with-pm=hydra \ - --with-device=ch3 \ + --with-device=ch3 \ --disable-fast \ --enable-versioning \ $(use_enable romio) \ @@ -138,18 +136,18 @@ multilib_src_install() { if use fortran; then if multilib_is_native_abi; then mkdir "${T}"/fortran || die - mv "${ED}"usr/include/mpif* "${T}"/fortran || die - mv "${ED}"usr/include/*.mod "${T}"/fortran || die + mv "${ED}"/usr/include/mpif* "${T}"/fortran || die + mv "${ED}"/usr/include/*.mod "${T}"/fortran || die else - rm "${ED}"usr/include/mpif* "${ED}"usr/include/*.mod || die + rm "${ED}"/usr/include/mpif* "${ED}"/usr/include/*.mod || die fi fi } multilib_src_install_all() { - # fortran header cannot be wrapped (bug #540508), workaround part 2 + # Fortran header cannot be wrapped (bug #540508), workaround part 2 if use fortran; then - mv "${T}"/fortran/* "${ED}"usr/include || die + mv "${T}"/fortran/* "${ED}"/usr/include || die fi einstalldocs @@ -159,6 +157,6 @@ multilib_src_install_all() { fi if ! use doc; then - rm -rf "${ED}"usr/share/doc/${PF}/www* || die + rm -rf "${ED}"/usr/share/doc/${PF}/www* || die fi }