summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2013-03-21 04:11:34 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2013-03-21 04:11:34 +0000
commitbfaa773d93b22322dbfe9e68f150f7540ea24722 (patch)
tree9247d5d9ca8e695adc4e09b3be68ad25918dfa5f /sys-cluster/openmpi
parentUse prune_libtool_files to remove unnecessary libtool archive (.la) of libdjv... (diff)
downloadhistorical-bfaa773d93b22322dbfe9e68f150f7540ea24722.tar.gz
historical-bfaa773d93b22322dbfe9e68f150f7540ea24722.tar.bz2
historical-bfaa773d93b22322dbfe9e68f150f7540ea24722.zip
Version bump for 1.4 and 1.6 series. Fix bug #462144
Package-Manager: portage-2.2.0_alpha168/cvs/Linux x86_64 Manifest-Sign-Key: 0xF82F92E6
Diffstat (limited to 'sys-cluster/openmpi')
-rw-r--r--sys-cluster/openmpi/ChangeLog9
-rw-r--r--sys-cluster/openmpi/Manifest24
-rw-r--r--sys-cluster/openmpi/openmpi-1.4.3.ebuild5
-rw-r--r--sys-cluster/openmpi/openmpi-1.4.5.ebuild103
-rw-r--r--sys-cluster/openmpi/openmpi-1.6.4.ebuild158
5 files changed, 290 insertions, 9 deletions
diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 543f14138a10..041b9c3f8ccf 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-cluster/openmpi
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.116 2013/01/10 00:33:16 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.117 2013/03/21 04:11:20 alexxy Exp $
+
+*openmpi-1.6.4 (21 Mar 2013)
+*openmpi-1.4.5 (21 Mar 2013)
+
+ 21 Mar 2013; Alexey Shvetsov <alexxy@gentoo.org> +openmpi-1.4.5.ebuild,
+ +openmpi-1.6.4.ebuild, openmpi-1.4.3.ebuild:
+ Version bump for 1.4 and 1.6 series. Fix bug #462144
10 Jan 2013; Justin Bronder <jsbronder@gentoo.org> -openmpi-1.5.5.ebuild,
-openmpi-1.6-r1.ebuild, -openmpi-1.6.1.ebuild, -openmpi-1.6.2.ebuild:
diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest
index ece155d3a6c5..c996dc84b1cc 100644
--- a/sys-cluster/openmpi/Manifest
+++ b/sys-cluster/openmpi/Manifest
@@ -6,16 +6,30 @@ AUX openmpi-1.6-hostfile.patch 929 SHA256 4aca97b15207c633aaf70ee3aeadcb3b9034fa
AUX openmpi-r24328.patch 1707 SHA256 3149f47463057e3263a242b2df88b588074f07395d437b585c5ce37f84aadf83 SHA512 e376f60f4c7bca610873ac5de5a9e72afab459262acf6f6ad61d4e8aa7a7d33370c52d2dcf2279a992de159b47d7d2fe29257306cf3e11a82234668205b876bf WHIRLPOOL 732347d68ba261f32c1010bcfeff2c490bc436d45a01119741fe68ee6ef366a2021e8d37dfb8ae2ffd681997111951eab4d57b00ff430e09d6c6f929e26816f9
DIST openmpi-1.4.3.tar.bz2 6626909 SHA256 220b72b1c7ee35469ff74b4cfdbec457158ac6894635143a33e9178aa3981015
DIST openmpi-1.4.4.tar.bz2 6653048 SHA256 9ad125304a89232d5b04da251f463fdbd8dcd997450084ba4227e7f7a095c3ed
+DIST openmpi-1.4.5.tar.bz2 6643760 SHA256 a3857bc69b7d5258cf7fc1ed1581d9ac69110f5c17976b949cb7ec789aae462d SHA512 f89922345cde8978483e397e9016103626db3f1787f9afccaf0f60d59caa2a4409b47b01ac221d60e24e241f2afecb636ca89688bf326dc0ca5c817de96b3e99 WHIRLPOOL 2008bd952f9cc93ead6508267f5a45ee6d9ebf9136e35e25b798400d162173514da73349518bfada4777471c32d315e8556bbee8847a5268719d6b32fd0fd811
DIST openmpi-1.6.3.tar.bz2 10199061 SHA256 0c30cfec0e420870630fdc101ffd82f7eccc90276bc4e182f8282a2448668798 SHA512 29d34c343bf4f21d5f16da70ac2d2db819834d50102c14efa46d1b8898efbbf92346a95227c548787eff4d73799f0042c5f5c3c1e0ec15c578987b6df17755e6 WHIRLPOOL de21379dc798658f4dd0eea2824d3dbe19a85b371b998355831d637f36759adcea2415881ecfc4f8509001fe2936944f637446a62df4cfd6e1a9e2681722ed25
-EBUILD openmpi-1.4.3.ebuild 2676 SHA256 a1723678eb99e2c3e305c167054f091fad1b3df52fe5401efb95987c1a5299da SHA512 3238d2948f0692409e8f49052090397c0977a7dd514156a16e4ec284c39ce284c30e489230432871a959f5a35f134377b7c70f50ca2f2c6b7c2de8fd71c9e1b1 WHIRLPOOL 2619f35a448fa27fd2ce36882e8d71c37ef766b30f66c5f53e1ca6db31e2d61191b2ce74640bd3795fe98f86ed421dc5b5fca04eaf0d0a1eeff297c061c277b9
+DIST openmpi-1.6.4.tar.bz2 10869229 SHA256 40cb113a27d76e1e915897661579f413564c032dc6e703073e6a03faba8093fa SHA512 714e8faff6efeb3ef7cd43073e3bc235e38dae0414f7803c7430d82c31c5b66ffb61f5cced888436b7e5924ac7c99fbd5c58463fc1a2080ccc132f08d7b3dd01 WHIRLPOOL 644b0d3bd975d2b2c445403185e507e3b320a53e548b9f44f7b1d1cd3f1cbd8c79f0febe75ff941af0226a9533fcb1a092fa5c17a8cb9e69aed77098033b5bc9
+EBUILD openmpi-1.4.3.ebuild 2667 SHA256 98ceb0016e20e41a3dd623e87876c9df68537a174888f4b622aef498bf0e67e7 SHA512 39fe67018ab0304bfc7cd3e5f26b82027d5ce8f3ceec141b51b78806ae545cafcdb2ef28c52bf2b8ccffdadef0f4f9165fc0f327f7c95d907b15f1618709208c WHIRLPOOL c12d3e7e0afdc346da1816a091fa12f61c5cba68bb103523c409e69d64a3b782068f1e4b81874c43ecc62baecfb26c7c077a83316975766e728a793f79b7ccdc
EBUILD openmpi-1.4.4.ebuild 2673 SHA256 75625081dd78e08d9f40505a4b663406f4e8b83d60ea1a63c57c86b57c1231ce SHA512 bf5621ce8ffe276148b9056a53b0ba576a83226ff43ba7cb198511ee4eafb2137df652d8549740a6d57735cc5a04025fcf45ed824810dd54a2ad0d213216d42e WHIRLPOOL 7f76b18375cc7ee4aa7f328462244b0a9330d48050ffff5665ed7fe3b79ed16c32daa4b39245c1710313a4b907ec82aaf56813c540a7b0735593d2030a2cc88b
+EBUILD openmpi-1.4.5.ebuild 2675 SHA256 87a565481dc6949c94799a9b5ebadc8f7ccf7c60cbbb0aa92445ef6586ca4845 SHA512 9437c280fc1c001adaa47237d3b3f32ef146d6da8161a4d81f451ea505dcfafcd8f1802452e0239aee3c1bd1ed336c87dea7ec3020fba92964ca828bfd75cd9e WHIRLPOOL 1da6a183032926feade7110a8f56e1de21cadec5a7bc9d466dd41f815616a0425646afe6912f2a7b03045e0a504a5ba749a102da2381bef81c63a267ed03b566
EBUILD openmpi-1.6.3.ebuild 5013 SHA256 e1aa9af47e06e3d54a58c4911e69e851a755516a214d468816c9c23cb6df79a3 SHA512 ec6eb6cb8e3044af7ca9291daad808f524c5c4f3ed485e3d36b43e37a60e0ddfec89dae495227522383ef29ef7a21f998210d0834877c9768239bd8094f6916c WHIRLPOOL 665f8e65945642543ca8130d009642bb1a631b535bf872fc40ee30049ac146e6af3fa3396037e433cfda5433f5d7bc772a770e4640540aed95557ccb336bd43c
-MISC ChangeLog 17660 SHA256 d4ac3e7613e1e73d316d0073e8a6f5eb70dfb9bf9c4115a858086c008ea2353b SHA512 26570a9f8a256946b727912bae838697f5612b6953029146a8eb04f83186002a3b0b5365099a58baae3db22d5ce86c187b7f0a2fa30f95a6f59c0302413b4d4d WHIRLPOOL 006d2e1edf2efd99887f58dc1615fbf1a67251b97c6351912be66152d7a62988eb1e0e752f4f3ca593e7cdc261a90f56e8948b984173fe152de2fe1099edab50
+EBUILD openmpi-1.6.4.ebuild 5009 SHA256 a70a0885f43423ce1593ea1f9671c303928efdd6a3d5db12d878a1aeb3df72fe SHA512 7dd4849617b05d88aeb2173535fa02aa1177c9876cc67b62991c7dcf238d2f4136f76c5d9618284e9d1a8a840068f6599263fe128da0c51644d02647aec87a9f WHIRLPOOL 331c8c8902b0fde5eba7cf1913d80917acc51cd2f249aa1952a1bd391f2bdf7719d43e6bf7dd86f4d7b5d29e04034732503be1f0c148c97b762919ad4d8f98a3
+MISC ChangeLog 17893 SHA256 2fcbeb30e897baef8c0c87a4a072b0f6ab038fbaa035d2040dcf416f53c37926 SHA512 98073746f1a708e4c2d384d40fa572a745d7762782241f7118b0dee57b895cc16a08f5ce42351a23e473b91e8734922e7d6616a7ada181b0c4ad8cff24d7e3c7 WHIRLPOOL b3dee6427657ca21e775c03dbd372d7473b31039ee9d140144b739e15e74338843399a72ed138985f492f739e0b121bf75aecec16b080ab05700d23cbd8ff685
MISC metadata.xml 597 SHA256 d2f945feefe70edef93523edcfcfadb4347dd20ac74834573c586b2e1c129897 SHA512 f113fe8490de7d1f424caf024a81dd5cfda83ccd84399d9f93f84abdcdd6e51ce10406cbb3fa60ae1c64ef125b389c5c80bf5d03e4686a7fce9c8ae3897d6887 WHIRLPOOL 34f1acfaee950beb462fe7bc1a19b76dc3aea63623959aeb9f34037e31116c0add40cd9be447d0190e859039b1073e469f7fa552b25ff8eb7a583912af010561
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlDuDFAACgkQ4MrvBE1wQ8nWEwCgrog//NFfeodL0E/B5PmLI7Al
-QxEAni9SzWM/iRRThP5y5d3PfdT+kgxz
-=deGw
+iQIcBAEBCAAGBQJRSohxAAoJEOf+E+/4L5LmTaMP/iGFQmnoHwgGFPPDAk+sD2oU
+kUO9P1HNwga7dPExVUjy20+Q1301weGl2mr7/3dnetrh7+/aFI2O9TT8XaY0W+vb
+L3z+6n/+lgflQH54PdhksE7xKHIyNRE+MwlV9n7zXqpMM+Yp+IMYdpdEYPwForSt
+Mvu/dPaGArIyxRwYvHiVclSf2LLTKqMvWla1DF2DRyvAQu1XoMH3cNPNyhOar3lF
+8/2DF5pvu8Vg+eZIEjTEdxRmalMUWfDiEWnVTuS5h9hKmwwhkKxXmF6XBGd5wI+g
+FvuPVbVaauRrAoa1tHa6Q7IvqAcAyFwy7K8xL9HrpM7CXU/pQ9oUI0cSpf3g+Vql
+mYYfK/7HDgP6aXr9pLyMMVXvX6JgvGYF1nDLt1JSSxSUL9/sLG65q0TjeAfqSR3X
+oVxQ4KgwzARY+8Y9ckYdHyGJfRdy3VlukpHF6cMyTzsXgGQlxJ88z7Utruxxh4Iz
+hrIJDMH8ana6Lls3bOyvDUgkMVQylh6mNRovlsvny/av43H6jZx8g14w3bned8jV
+Bze77rsu/aF6HErd4jYUy5+BmfyiERroWbTbjmtXLV+iVFb71SJknpNbzCZYA18f
+h4N/zq8rK1N/xrgXjLxYvpW9eiLlYBnDH9v+dUEDp/42uO5diXWjwigj+88s4jWZ
+D+g4D79GrcW7mhZD2f/E
+=Q2Na
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/openmpi/openmpi-1.4.3.ebuild b/sys-cluster/openmpi/openmpi-1.4.3.ebuild
index 0a97d2835f2c..c86475d28de0 100644
--- a/sys-cluster/openmpi/openmpi-1.4.3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.4.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.4.3.ebuild,v 1.17 2012/10/16 18:43:05 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.4.3.ebuild,v 1.18 2013/03/21 04:11:20 alexxy Exp $
EAPI=3
@@ -97,6 +97,5 @@ src_install () {
src_test() {
# Doesn't work with the default src_test as the dry run (-n) fails.
- cd "${S}"
emake -j1 check || die "emake check failed"
}
diff --git a/sys-cluster/openmpi/openmpi-1.4.5.ebuild b/sys-cluster/openmpi/openmpi-1.4.5.ebuild
new file mode 100644
index 000000000000..1903227d6c81
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.4.5.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.4.5.ebuild,v 1.1 2013/03/21 04:11:20 alexxy Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit eutils fortran-2 multilib flag-o-matic toolchain-funcs
+
+MY_P=${P/-mpi}
+
+DESCRIPTION="A high-performance message passing library (MPI)"
+HOMEPAGE="http://www.open-mpi.org"
+SRC_URI="http://www.open-mpi.org/software/ompi/v1.4/downloads/${MY_P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+RESTRICT="mpi-threads? ( test )"
+
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="+cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads pbs romio threads vt"
+RDEPEND="
+ pbs? ( sys-cluster/torque )
+ vt? (
+ !dev-libs/libotf
+ !app-text/lcdf-typetools
+ )
+ elibc_FreeBSD? ( dev-libs/libexecinfo )
+ !sys-cluster/mpich2
+ !sys-cluster/mpiexec"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+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() {
+ # 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
+}
+
+src_configure() {
+ local myconf=(
+ --sysconfdir="${EPREFIX}/etc/${PN}"
+ --enable-pretty-print-stacktrace
+ --enable-orterun-prefix-by-default
+ --without-slurm)
+
+ if use mpi-threads; then
+ myconf+=(--enable-mpi-threads
+ --enable-progress-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_with pbs tm) \
+ $(use_enable ipv6)
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc README AUTHORS NEWS VERSION || die
+}
+
+src_test() {
+ # Doesn't work with the default src_test as the dry run (-n) fails.
+ emake -j1 check || die "emake check failed"
+}
diff --git a/sys-cluster/openmpi/openmpi-1.6.4.ebuild b/sys-cluster/openmpi/openmpi-1.6.4.ebuild
new file mode 100644
index 000000000000..d3ec3785833f
--- /dev/null
+++ b/sys-cluster/openmpi/openmpi-1.6.4.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.6.4.ebuild,v 1.1 2013/03/21 04:11:20 alexxy Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit eutils fortran-2 multilib flag-o-matic toolchain-funcs versionator
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+IUSE_OPENMPI_FABRICS="
+ openmpi_fabrics_dapl
+ openmpi_fabrics_ofed
+ openmpi_fabrics_knem
+ openmpi_fabrics_open-mx
+ 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="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"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="+cxx elibc_FreeBSD 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/mpich2
+ !sys-cluster/mpiexec
+ >=sys-apps/hwloc-1.3
+ elibc_FreeBSD? ( dev-libs/libexecinfo )
+ openmpi_fabrics_dapl? ( sys-infiniband/dapl )
+ openmpi_fabrics_ofed? ( sys-infiniband/ofed )
+ openmpi_fabrics_knem? ( sys-cluster/knem )
+ openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
+ openmpi_fabrics_psm? ( sys-infiniband/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-infiniband/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() {
+ # 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
+}
+
+src_configure() {
+ local myconf=(
+ --sysconfdir="${EPREFIX}/etc/${PN}"
+ --enable-pretty-print-stacktrace
+ --enable-orterun-prefix-by-default
+ --with-hwloc="${EPREFIX}/usr"
+ )
+
+ 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_open-mx mx "${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 () {
+ emake DESTDIR="${D}" install || die "make install failed"
+ # From USE=vt see #359917
+ rm "${ED}"/usr/share/libtool &> /dev/null
+ dodoc README AUTHORS NEWS VERSION || die
+}
+
+src_test() {
+ # Doesn't work with the default src_test as the dry run (-n) fails.
+ emake -j1 check || die "emake check failed"
+}