Gentoo Archives: gentoo-commits

From: Justin Bronder <jsbronder@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
Date: Tue, 02 Jul 2013 02:15:55
Message-Id: 1372731321.4676e734b9fb5157a37c301380a256ec93fa6ed5.jsbronder@gentoo
1 commit: 4676e734b9fb5157a37c301380a256ec93fa6ed5
2 Author: Justin Bronder <jbronder <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 2 02:15:21 2013 +0000
4 Commit: Justin Bronder <jsbronder <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 2 02:15:21 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4676e734
7
8 Remove old
9
10 Package-Manager: portage-2.1.12.2
11
12 ---
13 sys-cluster/openmpi/ChangeLog | 3 +
14 sys-cluster/openmpi/openmpi-1.6.4.ebuild | 160 -------------------------------
15 2 files changed, 3 insertions(+), 160 deletions(-)
16
17 diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
18 index f457326..9b844ff 100644
19 --- a/sys-cluster/openmpi/ChangeLog
20 +++ b/sys-cluster/openmpi/ChangeLog
21 @@ -2,6 +2,9 @@
22 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
23 # $Header: $
24
25 + 02 Jul 2013; Justin Bronder <jsbronder@g.o> -openmpi-1.6.4.ebuild:
26 + Remove old
27 +
28 *openmpi-1.6.4-r1 (02 Jul 2013)
29
30 02 Jul 2013; Justin Bronder <jsbronder@g.o>
31
32 diff --git a/sys-cluster/openmpi/openmpi-1.6.4.ebuild b/sys-cluster/openmpi/openmpi-1.6.4.ebuild
33 deleted file mode 100644
34 index 3625aa1..0000000
35 --- a/sys-cluster/openmpi/openmpi-1.6.4.ebuild
36 +++ /dev/null
37 @@ -1,160 +0,0 @@
38 -# Copyright 1999-2013 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.4.ebuild,v 1.2 2007/12/13 22:39:53 jsbronder Exp $
41 -
42 -EAPI=5
43 -
44 -FORTRAN_NEEDED=fortran
45 -
46 -inherit eutils flag-o-matic fortran-2 multilib mpi toolchain-funcs versionator
47 -
48 -MY_P=${P/-mpi}
49 -S=${WORKDIR}/${MY_P}
50 -
51 -IUSE_OPENMPI_FABRICS="
52 - openmpi_fabrics_dapl
53 - openmpi_fabrics_ofed
54 - openmpi_fabrics_knem
55 - openmpi_fabrics_open-mx
56 - openmpi_fabrics_psm
57 - openmpi_fabrics_sctp"
58 -
59 -IUSE_OPENMPI_RM="
60 - openmpi_rm_pbs
61 - openmpi_rm_slurm"
62 -
63 -IUSE_OPENMPI_OFED_FEATURES="
64 - openmpi_ofed_features_control-hdr-padding
65 - openmpi_ofed_features_connectx-xrc
66 - openmpi_ofed_features_rdmacm
67 - openmpi_ofed_features_dynamic-sl
68 - openmpi_ofed_features_failover"
69 -
70 -DESCRIPTION="A high-performance message passing library (MPI)"
71 -HOMEPAGE="http://www.open-mpi.org"
72 -SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2"
73 -LICENSE="BSD"
74 -SLOT="0"
75 -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
76 -IUSE="+cxx elibc_FreeBSD fortran heterogeneous ipv6 mpi-threads romio threads vt
77 - ${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
78 -
79 -REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
80 - openmpi_rm_pbs? ( !openmpi_rm_slurm )
81 - openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
82 - openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
83 - openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
84 - openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
85 - openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
86 - openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
87 -
88 -MPI_UNCLASSED_DEP_STR="
89 - vt? (
90 - !dev-libs/libotf
91 - !app-text/lcdf-typetools
92 - )"
93 -
94 -RDEPEND="
95 - >=sys-apps/hwloc-1.3
96 - elibc_FreeBSD? ( dev-libs/libexecinfo )
97 - openmpi_fabrics_dapl? ( sys-infiniband/dapl )
98 - openmpi_fabrics_ofed? ( sys-infiniband/ofed )
99 - openmpi_fabrics_knem? ( sys-cluster/knem )
100 - openmpi_fabrics_open-mx? ( sys-cluster/open-mx )
101 - openmpi_fabrics_psm? ( sys-infiniband/infinipath-psm )
102 - openmpi_fabrics_sctp? ( net-misc/lksctp-tools )
103 - openmpi_rm_pbs? ( sys-cluster/torque )
104 - openmpi_rm_slurm? ( sys-cluster/slurm )
105 - openmpi_ofed_features_rdmacm? ( sys-infiniband/librdmacm )
106 - $(mpi_imp_deplist)"
107 -DEPEND="${RDEPEND}"
108 -
109 -pkg_setup() {
110 - fortran-2_pkg_setup
111 - MPI_ESELECT_FILE="eselect.mpi.openmpi"
112 -
113 - if use mpi-threads; then
114 - echo
115 - ewarn "WARNING: use of MPI_THREAD_MULTIPLE is still disabled by"
116 - ewarn "default and officially unsupported by upstream."
117 - ewarn "You may stop now and set USE=-mpi-threads"
118 - echo
119 - fi
120 -
121 - echo
122 - elog "OpenMPI has an overwhelming count of configuration options."
123 - elog "Don't forget the EXTRA_ECONF environment variable can let you"
124 - elog "specify configure options if you find them necessary."
125 - echo
126 -}
127 -
128 -src_prepare() {
129 - # Necessary for scalibility, see
130 - # http://www.open-mpi.org/community/lists/users/2008/09/6514.php
131 - if use threads; then
132 - echo 'oob_tcp_listen_mode = listen_thread' \
133 - >> opal/etc/openmpi-mca-params.conf
134 - fi
135 -}
136 -
137 -src_configure() {
138 - local myconf=(
139 - --sysconfdir="${EPREFIX}/etc/${PN}"
140 - --enable-pretty-print-stacktrace
141 - --enable-orterun-prefix-by-default
142 - --with-hwloc="${EPREFIX}/usr"
143 - )
144 -
145 - if use mpi-threads; then
146 - myconf+=(--enable-mpi-threads
147 - --enable-opal-multi-threads)
148 - fi
149 -
150 - if use fortran; then
151 - if [[ $(tc-getFC) =~ g77 ]]; then
152 - myconf+=(--disable-mpi-f90)
153 - elif [[ $(tc-getFC) =~ if ]]; then
154 - # Enabled here as gfortran compile times are huge with this enabled.
155 - myconf+=(--with-mpi-f90-size=medium)
156 - fi
157 - else
158 - myconf+=(--disable-mpi-f90 --disable-mpi-f77)
159 - fi
160 -
161 - ! use vt && myconf+=(--enable-contrib-no-build=vt)
162 -
163 - econf $(mpi_econf_args) "${myconf[@]}" \
164 - $(use_enable cxx mpi-cxx) \
165 - $(use_enable romio io-romio) \
166 - $(use_enable heterogeneous) \
167 - $(use_enable ipv6) \
168 - $(use_with openmpi_fabrics_dapl udapl "${EPREFIX}"/usr) \
169 - $(use_with openmpi_fabrics_ofed openib "${EPREFIX}"/usr) \
170 - $(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
171 - $(use_with openmpi_fabrics_open-mx mx "${EPREFIX}"/usr) \
172 - $(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
173 - $(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
174 - $(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
175 - $(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
176 - $(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
177 - $(use_enable openmpi_ofed_features_failover btl-openib-failover) \
178 - $(use_with openmpi_fabrics_sctp sctp) \
179 - $(use_with openmpi_rm_pbs tm) \
180 - $(use_with openmpi_rm_slurm slurm)
181 -}
182 -
183 -src_install () {
184 - emake DESTDIR="${D}" install || die "make install failed"
185 - # From USE=vt see #359917
186 - rm "${ED}"/$(mpi_root)/usr/share/libtool &> /dev/null
187 - mpi_dodoc README AUTHORS NEWS VERSION || die
188 - mpi_imp_add_eselect
189 -}
190 -
191 -src_test() {
192 - # Doesn't work with the default src_test as the dry run (-n) fails.
193 -
194 - # Do not override malloc during build. Works around #462602
195 - export FAKEROOTKEY=1
196 - emake -j1 check || die "emake check failed"
197 -}