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 5E3BE138350 for ; Sun, 22 Mar 2020 14:55:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 986CCE081A; Sun, 22 Mar 2020 14:55:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E46FE081A for ; Sun, 22 Mar 2020 14:55:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B81234F6C9 for ; Sun, 22 Mar 2020 14:55:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E64E101 for ; Sun, 22 Mar 2020 14:55:21 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1584888917.5ab8d5038ad554f02c3c80f2152fa3ed9eab38be.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/openmpi/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/openmpi/openmpi-1.8.8.ebuild X-VCS-Directories: sys-cluster/openmpi/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: 5ab8d5038ad554f02c3c80f2152fa3ed9eab38be X-VCS-Branch: master Date: Sun, 22 Mar 2020 14:55:21 +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: e3cbce7d-9792-4bf4-aa7b-e583ccccb053 X-Archives-Hash: 4bec240f01e53181771c732db1a4adb1 commit: 5ab8d5038ad554f02c3c80f2152fa3ed9eab38be Author: Mikle Kolyada gentoo org> AuthorDate: Sun Mar 22 14:54:54 2020 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Sun Mar 22 14:55:17 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab8d503 sys-cluster/openmpi: migrate 1.8 to EAPI=7 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Mikle Kolyada gentoo.org> sys-cluster/openmpi/openmpi-1.8.8.ebuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sys-cluster/openmpi/openmpi-1.8.8.ebuild b/sys-cluster/openmpi/openmpi-1.8.8.ebuild index 824231448df..0390b384934 100644 --- a/sys-cluster/openmpi/openmpi-1.8.8.ebuild +++ b/sys-cluster/openmpi/openmpi-1.8.8.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 FORTRAN_NEEDED=fortran -inherit cuda eutils flag-o-matic fortran-2 java-pkg-opt-2 multilib toolchain-funcs versionator +inherit cuda flag-o-matic fortran-2 java-pkg-opt-2 toolchain-funcs MY_P=${P/-mpi} S=${WORKDIR}/${MY_P} @@ -29,7 +29,7 @@ IUSE_OPENMPI_OFED_FEATURES=" DESCRIPTION="A high-performance message passing library (MPI)" HOMEPAGE="http://www.open-mpi.org" -SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2" +SRC_URI="http://www.open-mpi.org/software/ompi/v$(ver_cut 1-2)/downloads/${MY_P}.tar.bz2" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" @@ -94,6 +94,7 @@ pkg_setup() { } src_prepare() { + default # Necessary for scalibility, see # http://www.open-mpi.org/community/lists/users/2008/09/6514.php if use threads; then @@ -150,13 +151,13 @@ src_configure() { } src_install() { - emake DESTDIR="${D}" install + default # From USE=vt see #359917 - rm "${ED}"/usr/share/libtool &> /dev/null + rm "${ED}"/usr/share/libtool || die # Avoid collisions with libevent - rm -rf "${ED}"/usr/include/event2 &> /dev/null + rm -rf "${ED}"/usr/include/event2 || die # Remove la files, no static libs are installed and we have pkg-config find "${ED}"/usr/$(get_libdir)/ -type f -name '*.la' -delete