Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/openmpi/
Date: Tue, 26 Oct 2021 17:08:31
Message-Id: 1635268055.6d845a9b00a4dcf28a7eba2b02c350c4eb0f5a14.jsmolic@gentoo
1 commit: 6d845a9b00a4dcf28a7eba2b02c350c4eb0f5a14
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 26 16:57:09 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 26 17:07:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d845a9b
7
8 sys-cluster/openmpi: drop 1.6.5-r1
9
10 Version 1.6.5-r1 is one of two revdeps of
11 sys-fabric/dapl
12
13 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
14
15 sys-cluster/openmpi/Manifest | 1 -
16 sys-cluster/openmpi/openmpi-1.6.5-r1.ebuild | 167 ----------------------------
17 2 files changed, 168 deletions(-)
18
19 diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest
20 index 982ed2b86d0..33b06f08db1 100644
21 --- a/sys-cluster/openmpi/Manifest
22 +++ b/sys-cluster/openmpi/Manifest
23 @@ -1,6 +1,5 @@
24 DIST openmpi-1.10.7.tar.bz2 13435131 BLAKE2B c1914e6842f59a4a21a27d015275eff00092e57784c4219f58424fbc69c6d9e58109aa1b2ff4e1e340ddc3b93f07d7271e728928772c66c271442e375c08315e SHA512 9c5470f9959ca37650a59e56fb8343c028422c709876ab9d25a411dd09a07cdde927c45d8f3db1ad524b1f2847fe799471d469fa1efee48f8018b2ff24427ecb
25 DIST openmpi-1.4.5.tar.bz2 6643760 BLAKE2B 6890e8ed6f75e77e0e02c88bce473a37195549bca06696881cf7c3f6e46db25abaa04d9517d7ff9a11ad64cc97cf8d1b8678d9797c49a1659656d8a5de5c56ae SHA512 f89922345cde8978483e397e9016103626db3f1787f9afccaf0f60d59caa2a4409b47b01ac221d60e24e241f2afecb636ca89688bf326dc0ca5c817de96b3e99
26 -DIST openmpi-1.6.5.tar.bz2 10943881 BLAKE2B 8022d8a146d7e99a01e734d9c9725882bb359a2419dc27afe6a2dc2e8bbc8bca03ec1311e10a12068dd38d0f9c442d1efe5af755192a2ad2af332a1459369953 SHA512 b0ede0264cd9263b8ba59ec51d17ad47b5f20d49d219ca05f7c396d608398d517b2023a46a2535fd6191160d709e4805c4de436dcfee56eda287383bd69f9652
27 DIST openmpi-1.7.5.tar.bz2 13286694 BLAKE2B 15862d34f8b8db60e7896f57274555df849713492c6e7e590feb06ec9b3655ff0311a81c0a6c87cc16dc8fd95510a1d79b23467af843d37768f75005ff4edd8c SHA512 72de2788fa26615a2e7373b5f32e0a2b9e39d56094c45b49348ef19bbb0ea306734b7d3275d76471a18628b5244d882de4ed3595eb46f13683e1c8d2b277f065
28 DIST openmpi-1.8.8.tar.bz2 13231433 BLAKE2B d196fd0bb08cfb0c86a29ae39015eb15e1465554e322c1ae039b61cee3a027ea0ba8d7fecd02e310309caec416147611a233861e464db4449da3b449387b1dca SHA512 8ca2e3ebb9d9ba0f33faba9bef76fe95293721b73619cbc18176611074a56c277e9ab6cae7fa6c87ace11f16151c1bc495b2a8dbc8ad064d5a8f89f5d431a660
29 DIST openmpi-2.0.4.tar.bz2 8272983 BLAKE2B 7d0a392fbc8c896cdccefb9bf0ff83fbd8db8a42d17f06cb23ac88ba896e2c75e1b1b7a79559d0ce3c2b881f197f54ce1bd8967c889bafe2b97f95fb6b957501 SHA512 2cccb83847d44f6282ec24f7bc12ab51b84dc5ac1a2a919ef0761847ff7cdcb31cfb1f38dca33df7063a98c27a64575a108002716d207cbba3a54773b999e6c5
30
31 diff --git a/sys-cluster/openmpi/openmpi-1.6.5-r1.ebuild b/sys-cluster/openmpi/openmpi-1.6.5-r1.ebuild
32 deleted file mode 100644
33 index 67707c0f73f..00000000000
34 --- a/sys-cluster/openmpi/openmpi-1.6.5-r1.ebuild
35 +++ /dev/null
36 @@ -1,167 +0,0 @@
37 -# Copyright 1999-2020 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=7
41 -
42 -FORTRAN_NEEDED=fortran
43 -
44 -inherit autotools fortran-2 flag-o-matic toolchain-funcs
45 -
46 -MY_P=${P/-mpi}
47 -S=${WORKDIR}/${MY_P}
48 -
49 -IUSE_OPENMPI_FABRICS="
50 - openmpi_fabrics_dapl
51 - openmpi_fabrics_ofed
52 - openmpi_fabrics_knem
53 - openmpi_fabrics_psm
54 - openmpi_fabrics_sctp"
55 -
56 -IUSE_OPENMPI_RM="
57 - openmpi_rm_pbs
58 - openmpi_rm_slurm"
59 -
60 -IUSE_OPENMPI_OFED_FEATURES="
61 - openmpi_ofed_features_control-hdr-padding
62 - openmpi_ofed_features_connectx-xrc
63 - openmpi_ofed_features_rdmacm
64 - openmpi_ofed_features_dynamic-sl
65 - openmpi_ofed_features_failover
66 - "
67 -
68 -DESCRIPTION="A high-performance message passing library (MPI)"
69 -HOMEPAGE="https://www.open-mpi.org"
70 -SRC_URI="https://www.open-mpi.org/software/ompi/v$(ver_cut 1-2)/downloads/${MY_P}.tar.bz2"
71 -LICENSE="BSD"
72 -SLOT="0"
73 -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
74 -IUSE="+cxx fortran heterogeneous ipv6 mpi-threads romio threads vt
75 - ${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}"
76 -
77 -REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs )
78 - openmpi_rm_pbs? ( !openmpi_rm_slurm )
79 - openmpi_fabrics_psm? ( openmpi_fabrics_ofed )
80 - openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed )
81 - openmpi_ofed_features_connectx-xrc? ( openmpi_fabrics_ofed )
82 - openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed )
83 - openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )
84 - openmpi_ofed_features_failover? ( openmpi_fabrics_ofed )"
85 -
86 -RDEPEND="
87 - !sys-cluster/mpich
88 - !sys-cluster/mpich2
89 - !sys-cluster/pmix
90 - <sys-apps/hwloc-2
91 - dev-libs/libltdl:0
92 - openmpi_fabrics_dapl? ( sys-fabric/dapl )
93 - openmpi_fabrics_ofed? ( sys-fabric/ofed )
94 - openmpi_fabrics_knem? ( sys-cluster/knem )
95 - openmpi_fabrics_psm? ( sys-fabric/infinipath-psm )
96 - openmpi_fabrics_sctp? ( net-misc/lksctp-tools )
97 - openmpi_rm_pbs? ( sys-cluster/torque )
98 - openmpi_rm_slurm? ( sys-cluster/slurm )
99 - openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm )
100 - vt? (
101 - !dev-libs/libotf
102 - !app-text/lcdf-typetools
103 - )
104 - "
105 -DEPEND="${RDEPEND}"
106 -# TODO: Newer releases of Vampir use otf2 which would resolve the above blockers.
107 -
108 -pkg_setup() {
109 - fortran-2_pkg_setup
110 - if use mpi-threads; then
111 - echo
112 - ewarn "WARNING: use of MPI_THREAD_MULTIPLE is still disabled by"
113 - ewarn "default and officially unsupported by upstream."
114 - ewarn "You may stop now and set USE=-mpi-threads"
115 - echo
116 - fi
117 -
118 - echo
119 - elog "OpenMPI has an overwhelming count of configuration options."
120 - elog "Don't forget the EXTRA_ECONF environment variable can let you"
121 - elog "specify configure options if you find them necessary."
122 - echo
123 -
124 -}
125 -
126 -src_prepare() {
127 - default
128 - # Necessary for scalibility, see
129 - # http://www.open-mpi.org/community/lists/users/2008/09/6514.php
130 - if use threads; then
131 - echo 'oob_tcp_listen_mode = listen_thread' \
132 - >> opal/etc/openmpi-mca-params.conf
133 - fi
134 -
135 - # https://svn.open-mpi.org/trac/ompi/ticket/3649
136 - # https://svn.open-mpi.org/trac/ompi/ticket/3648
137 - eapply "${FILESDIR}"/hooks-disable-malloc-override-inside-of-Gentoo-sandb.patch
138 -
139 - # https://github.com/open-mpi/ompi/issues/163
140 - eapply "${FILESDIR}"/openmpi-ltdl.patch
141 -
142 - AT_M4DIR="config opal/config orte/config ompi/config" eautoreconf
143 -}
144 -
145 -src_configure() {
146 - local myconf=(
147 - --sysconfdir="${EPREFIX}/etc/${PN}"
148 - --enable-pretty-print-stacktrace
149 - --enable-orterun-prefix-by-default
150 - --with-hwloc="${EPREFIX}/usr"
151 - --with-libltdl=external
152 - )
153 -
154 - if use mpi-threads; then
155 - myconf+=(
156 - --enable-mpi-thread-multiple
157 - --enable-opal-multi-threads
158 - )
159 - fi
160 -
161 - if use fortran; then
162 - if [[ $(tc-getFC) =~ g77 ]]; then
163 - myconf+=(--disable-mpi-f90)
164 - elif [[ $(tc-getFC) =~ if ]]; then
165 - # Enabled here as gfortran compile times are huge with this enabled.
166 - myconf+=(--with-mpi-f90-size=medium)
167 - fi
168 - else
169 - myconf+=(--disable-mpi-f90 --disable-mpi-f77)
170 - fi
171 -
172 - ! use vt && myconf+=(--enable-contrib-no-build=vt)
173 -
174 - econf "${myconf[@]}" \
175 - $(use_enable cxx mpi-cxx) \
176 - $(use_enable romio io-romio) \
177 - $(use_enable heterogeneous) \
178 - $(use_enable ipv6) \
179 - $(use_with openmpi_fabrics_dapl udapl "${EPREFIX}"/usr) \
180 - $(use_with openmpi_fabrics_ofed openib "${EPREFIX}"/usr) \
181 - $(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \
182 - $(use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \
183 - $(use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \
184 - $(use_enable openmpi_ofed_features_connectx-xrc openib-connectx-xrc) \
185 - $(use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \
186 - $(use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \
187 - $(use_enable openmpi_ofed_features_failover btl-openib-failover) \
188 - $(use_with openmpi_fabrics_sctp sctp) \
189 - $(use_with openmpi_rm_pbs tm) \
190 - $(use_with openmpi_rm_slurm slurm)
191 -}
192 -
193 -src_install() {
194 - default
195 - # From USE=vt see #359917
196 - rm "${ED}"/usr/share/libtool || die
197 - dodoc README AUTHORS NEWS VERSION
198 -}
199 -
200 -src_test() {
201 - # Doesn't work with the default src_test as the dry run (-n) fails.
202 - emake -j1 check
203 -}