diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /sys-cluster/openmpi/openmpi-1.7.5-r1.ebuild | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'sys-cluster/openmpi/openmpi-1.7.5-r1.ebuild')
-rw-r--r-- | sys-cluster/openmpi/openmpi-1.7.5-r1.ebuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sys-cluster/openmpi/openmpi-1.7.5-r1.ebuild b/sys-cluster/openmpi/openmpi-1.7.5-r1.ebuild index dab0046aced8..507c969a7829 100644 --- a/sys-cluster/openmpi/openmpi-1.7.5-r1.ebuild +++ b/sys-cluster/openmpi/openmpi-1.7.5-r1.ebuild @@ -1,13 +1,14 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 FORTRAN_NEEDED=fortran -inherit autotools cuda eutils flag-o-matic fortran-2 multilib toolchain-funcs versionator +inherit autotools cuda flag-o-matic fortran-2 toolchain-funcs MY_P=${P/-mpi} + S=${WORKDIR}/${MY_P} IUSE_OPENMPI_FABRICS=" @@ -28,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="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" @@ -86,6 +87,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 @@ -94,7 +96,7 @@ src_prepare() { fi # https://github.com/open-mpi/ompi/issues/163 - epatch "${FILESDIR}"/openmpi-ltdl.patch + eapply "${FILESDIR}"/openmpi-ltdl.patch AT_M4DIR=config eautoreconf } @@ -146,11 +148,11 @@ 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 dodoc README AUTHORS NEWS VERSION } |