mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
sys-cluster/openmpi: drop 1.6.5-r1
Version 1.6.5-r1 is one of two revdeps of sys-fabric/dapl Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
DIST openmpi-1.10.7.tar.bz2 13435131 BLAKE2B c1914e6842f59a4a21a27d015275eff00092e57784c4219f58424fbc69c6d9e58109aa1b2ff4e1e340ddc3b93f07d7271e728928772c66c271442e375c08315e SHA512 9c5470f9959ca37650a59e56fb8343c028422c709876ab9d25a411dd09a07cdde927c45d8f3db1ad524b1f2847fe799471d469fa1efee48f8018b2ff24427ecb
|
||||
DIST openmpi-1.4.5.tar.bz2 6643760 BLAKE2B 6890e8ed6f75e77e0e02c88bce473a37195549bca06696881cf7c3f6e46db25abaa04d9517d7ff9a11ad64cc97cf8d1b8678d9797c49a1659656d8a5de5c56ae SHA512 f89922345cde8978483e397e9016103626db3f1787f9afccaf0f60d59caa2a4409b47b01ac221d60e24e241f2afecb636ca89688bf326dc0ca5c817de96b3e99
|
||||
DIST openmpi-1.6.5.tar.bz2 10943881 BLAKE2B 8022d8a146d7e99a01e734d9c9725882bb359a2419dc27afe6a2dc2e8bbc8bca03ec1311e10a12068dd38d0f9c442d1efe5af755192a2ad2af332a1459369953 SHA512 b0ede0264cd9263b8ba59ec51d17ad47b5f20d49d219ca05f7c396d608398d517b2023a46a2535fd6191160d709e4805c4de436dcfee56eda287383bd69f9652
|
||||
DIST openmpi-1.7.5.tar.bz2 13286694 BLAKE2B 15862d34f8b8db60e7896f57274555df849713492c6e7e590feb06ec9b3655ff0311a81c0a6c87cc16dc8fd95510a1d79b23467af843d37768f75005ff4edd8c SHA512 72de2788fa26615a2e7373b5f32e0a2b9e39d56094c45b49348ef19bbb0ea306734b7d3275d76471a18628b5244d882de4ed3595eb46f13683e1c8d2b277f065
|
||||
DIST openmpi-1.8.8.tar.bz2 13231433 BLAKE2B d196fd0bb08cfb0c86a29ae39015eb15e1465554e322c1ae039b61cee3a027ea0ba8d7fecd02e310309caec416147611a233861e464db4449da3b449387b1dca SHA512 8ca2e3ebb9d9ba0f33faba9bef76fe95293721b73619cbc18176611074a56c277e9ab6cae7fa6c87ace11f16151c1bc495b2a8dbc8ad064d5a8f89f5d431a660
|
||||
DIST openmpi-2.0.4.tar.bz2 8272983 BLAKE2B 7d0a392fbc8c896cdccefb9bf0ff83fbd8db8a42d17f06cb23ac88ba896e2c75e1b1b7a79559d0ce3c2b881f197f54ce1bd8967c889bafe2b97f95fb6b957501 SHA512 2cccb83847d44f6282ec24f7bc12ab51b84dc5ac1a2a919ef0761847ff7cdcb31cfb1f38dca33df7063a98c27a64575a108002716d207cbba3a54773b999e6c5
|
||||
|
||||
@@ -1,167 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
FORTRAN_NEEDED=fortran
|
||||
|
||||
inherit autotools fortran-2 flag-o-matic toolchain-funcs
|
||||
|
||||
MY_P=${P/-mpi}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
IUSE_OPENMPI_FABRICS="
|
||||
openmpi_fabrics_dapl
|
||||
openmpi_fabrics_ofed
|
||||
openmpi_fabrics_knem
|
||||
openmpi_fabrics_psm
|
||||
openmpi_fabrics_sctp"
|
||||
|
||||
IUSE_OPENMPI_RM="
|
||||
openmpi_rm_pbs
|
||||
openmpi_rm_slurm"
|
||||
|
||||
IUSE_OPENMPI_OFED_FEATURES="
|
||||
openmpi_ofed_features_control-hdr-padding
|
||||
openmpi_ofed_features_connectx-xrc
|
||||
openmpi_ofed_features_rdmacm
|
||||
openmpi_ofed_features_dynamic-sl
|
||||
openmpi_ofed_features_failover
|
||||
"
|
||||
|
||||
DESCRIPTION="A high-performance message passing library (MPI)"
|
||||
HOMEPAGE="https://www.open-mpi.org"
|
||||
SRC_URI="https://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"
|
||||
IUSE="+cxx fortran heterogeneous ipv6 mpi-threads romio threads vt
|
||||
${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
|
||||
|
||||
REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
|
||||
openmpi_rm_pbs? ( !openmpi_rm_slurm )
|
||||
openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
|
||||
openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
|
||||
openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
|
||||
openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
|
||||
openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
|
||||
openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
|
||||
|
||||
RDEPEND="
|
||||
!sys-cluster/mpich
|
||||
!sys-cluster/mpich2
|
||||
!sys-cluster/pmix
|
||||
<sys-apps/hwloc-2
|
||||
dev-libs/libltdl:0
|
||||
openmpi_fabrics_dapl? ( sys-fabric/dapl )
|
||||
openmpi_fabrics_ofed? ( sys-fabric/ofed )
|
||||
openmpi_fabrics_knem? ( sys-cluster/knem )
|
||||
openmpi_fabrics_psm? ( sys-fabric/infinipath-psm )
|
||||
openmpi_fabrics_sctp? ( net-misc/lksctp-tools )
|
||||
openmpi_rm_pbs? ( sys-cluster/torque )
|
||||
openmpi_rm_slurm? ( sys-cluster/slurm )
|
||||
openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm )
|
||||
vt? (
|
||||
!dev-libs/libotf
|
||||
!app-text/lcdf-typetools
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# TODO: Newer releases of Vampir use otf2 which would resolve the above blockers.
|
||||
|
||||
pkg_setup() {
|
||||
fortran-2_pkg_setup
|
||||
if use mpi-threads; then
|
||||
echo
|
||||
ewarn "WARNING: use of MPI_THREAD_MULTIPLE is still disabled by"
|
||||
ewarn "default and officially unsupported by upstream."
|
||||
ewarn "You may stop now and set USE=-mpi-threads"
|
||||
echo
|
||||
fi
|
||||
|
||||
echo
|
||||
elog "OpenMPI has an overwhelming count of configuration options."
|
||||
elog "Don't forget the EXTRA_ECONF environment variable can let you"
|
||||
elog "specify configure options if you find them necessary."
|
||||
echo
|
||||
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Necessary for scalibility, see
|
||||
# http://www.open-mpi.org/community/lists/users/2008/09/6514.php
|
||||
if use threads; then
|
||||
echo 'oob_tcp_listen_mode = listen_thread' \
|
||||
>> opal/etc/openmpi-mca-params.conf
|
||||
fi
|
||||
|
||||
# https://svn.open-mpi.org/trac/ompi/ticket/3649
|
||||
# https://svn.open-mpi.org/trac/ompi/ticket/3648
|
||||
eapply "${FILESDIR}"/hooks-disable-malloc-override-inside-of-Gentoo-sandb.patch
|
||||
|
||||
# https://github.com/open-mpi/ompi/issues/163
|
||||
eapply "${FILESDIR}"/openmpi-ltdl.patch
|
||||
|
||||
AT_M4DIR="config opal/config orte/config ompi/config" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--sysconfdir="${EPREFIX}/etc/${PN}"
|
||||
--enable-pretty-print-stacktrace
|
||||
--enable-orterun-prefix-by-default
|
||||
--with-hwloc="${EPREFIX}/usr"
|
||||
--with-libltdl=external
|
||||
)
|
||||
|
||||
if use mpi-threads; then
|
||||
myconf+=(
|
||||
--enable-mpi-thread-multiple
|
||||
--enable-opal-multi-threads
|
||||
)
|
||||
fi
|
||||
|
||||
if use fortran; then
|
||||
if [[ $(tc-getFC) =~ g77 ]]; then
|
||||
myconf+=(--disable-mpi-f90)
|
||||
elif [[ $(tc-getFC) =~ if ]]; then
|
||||
# Enabled here as gfortran compile times are huge with this enabled.
|
||||
myconf+=(--with-mpi-f90-size=medium)
|
||||
fi
|
||||
else
|
||||
myconf+=(--disable-mpi-f90 --disable-mpi-f77)
|
||||
fi
|
||||
|
||||
! use vt && myconf+=(--enable-contrib-no-build=vt)
|
||||
|
||||
econf "${myconf[@]}" \
|
||||
$(use_enable cxx mpi-cxx) \
|
||||
$(use_enable romio io-romio) \
|
||||
$(use_enable heterogeneous) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_with openmpi_fabrics_dapl udapl "${EPREFIX}"/usr) \
|
||||
$(use_with openmpi_fabrics_ofed openib "${EPREFIX}"/usr) \
|
||||
$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
|
||||
$(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
|
||||
$(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
|
||||
$(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
|
||||
$(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
|
||||
$(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
|
||||
$(use_enable openmpi_ofed_features_failover btl-openib-failover) \
|
||||
$(use_with openmpi_fabrics_sctp sctp) \
|
||||
$(use_with openmpi_rm_pbs tm) \
|
||||
$(use_with openmpi_rm_slurm slurm)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# From USE=vt see #359917
|
||||
rm "${ED}"/usr/share/libtool || die
|
||||
dodoc README AUTHORS NEWS VERSION
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Doesn't work with the default src_test as the dry run (-n) fails.
|
||||
emake -j1 check
|
||||
}
|
||||
Reference in New Issue
Block a user