Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
Date: Sun, 09 Jan 2022 22:13:19
Message-Id: 1641766390.c29ccc40d5ebaeac54d179e62c37a891b8e612da.asturm@gentoo
1 commit: c29ccc40d5ebaeac54d179e62c37a891b8e612da
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 9 22:02:02 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 9 22:13:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c29ccc40
7
8 sys-cluster/mpich: Drop 3.3-r2 and 3.4.2-r2
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 sys-cluster/mpich/Manifest | 2 -
14 sys-cluster/mpich/mpich-3.3-r2.ebuild | 163 --------------------------------
15 sys-cluster/mpich/mpich-3.4.2-r2.ebuild | 163 --------------------------------
16 3 files changed, 328 deletions(-)
17
18 diff --git a/sys-cluster/mpich/Manifest b/sys-cluster/mpich/Manifest
19 index 51b648126996..9c37079a9388 100644
20 --- a/sys-cluster/mpich/Manifest
21 +++ b/sys-cluster/mpich/Manifest
22 @@ -1,4 +1,2 @@
23 DIST mpich-3.0.4.tar.gz 10921075 BLAKE2B 341aaac23277aed05a4448ea03d9caf1ee14cfe327a770c95d620fc1ee1ea7bfa6df36860aa44aad162eb6d630d35fdfb30ae9a866d67680ab71c7b4326c109c SHA512 f9d8b2cf561fe5f85c12512ef4dd7b0cf5ec8b53ddb07bfa0d1db2e3c8ae0382c77e0661f46b82ec96b05d18ea2d25328bb84e9528ac06e5925f30ec8ef030d0
24 -DIST mpich-3.3.tar.gz 27209008 BLAKE2B 3010f847456ed71a27e728b91887e04303a83b4abea883bf73d9794ff697052efe3bccd238933dc6e5fbc75e0be36004f1ae9fc7695a4e8887984552ae005917 SHA512 1ed6d8d30db4923fd1bd39b6e9622f0db939a45edf8d9f8bdbccfa619fde7fb920c5a0d3f2442f0dd63cf8fda823dbd2983ac5f7c16308bc79e04f61d8e119be
25 -DIST mpich-3.4.2.tar.gz 32850822 BLAKE2B cbbb7d8b3c6db31c9ee8f59e6a386c000480a738819c8b4398e1299c0fdfce28649a3ebc868aa48517476d0b49d4d58e66407f2116708c3d9e61ce43f6e1c32b SHA512 5f5389071c7d275a864df16aedd19f2b925c9b9ad3b304f9c9f99b5808f6b82def775b4191c03cdd3288c5e4478a40a2aae22c3cf2aabe82be1dd612efd7f2a6
26 DIST mpich-3.4.3.tar.gz 32853411 BLAKE2B 889f8d4077cd9e8a727e46431ad505b2a17d7391dec00910254d8dbdbc992e2df92efd355d290881fb3a73966bf3504b6942003f88041669c16a8aa142c2dab2 SHA512 d8455a3e7150dc720ba8a0660bfbbec364b62729f4a319928bb910644d20ee68d267baf9e9e2c322540a725e41858b416ed5fff001fb1f6aa45d1c08db8dad1a
27
28 diff --git a/sys-cluster/mpich/mpich-3.3-r2.ebuild b/sys-cluster/mpich/mpich-3.3-r2.ebuild
29 deleted file mode 100644
30 index e8ae27f50de2..000000000000
31 --- a/sys-cluster/mpich/mpich-3.3-r2.ebuild
32 +++ /dev/null
33 @@ -1,163 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -FORTRAN_NEEDED=fortran
40 -FORTRAN_STANDARD="77 90"
41 -
42 -inherit fortran-2 multilib-minimal multilib flag-o-matic autotools
43 -
44 -MY_PV=${PV/_/}
45 -DESCRIPTION="A high performance and portable MPI implementation"
46 -HOMEPAGE="http://www.mpich.org/"
47 -SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
48 -
49 -SLOT="0"
50 -LICENSE="mpich2"
51 -KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
52 -IUSE="+cxx doc fortran mpi-threads +romio threads"
53 -REQUIRED_USE="mpi-threads? ( threads )"
54 -
55 -COMMON_DEPEND="
56 - >=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
57 - >=sys-apps/hwloc-2.0.2:=[${MULTILIB_USEDEP}]
58 - sys-libs/libunwind:=[${MULTILIB_USEDEP}]
59 - romio? ( net-fs/nfs-utils )
60 -"
61 -
62 -DEPEND="${COMMON_DEPEND}
63 - dev-lang/perl
64 - sys-devel/libtool
65 -"
66 -
67 -RDEPEND="${COMMON_DEPEND}
68 - !sys-cluster/mpich2
69 - !sys-cluster/openmpi
70 - !sys-cluster/nullmpi"
71 -
72 -S="${WORKDIR}"/${PN}-${MY_PV}
73 -
74 -MULTILIB_WRAPPED_HEADERS=(
75 - /usr/include/mpicxx.h
76 - /usr/include/mpi.h
77 - /usr/include/opa_config.h
78 -)
79 -
80 -PATCHES=(
81 - "${FILESDIR}"/${PN}-3.3-add-external-libdir-parameter.patch
82 -)
83 -
84 -src_prepare() {
85 - default
86 -
87 - # Using MPICHLIB_LDFLAGS doesn't seem to fully work.
88 - sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
89 - src/packaging/pkgconfig/mpich.pc.in \
90 - src/env/*.in \
91 - || die
92 -
93 - # Fix m4 files to satisfy lib dir with multilib.
94 - touch -r src/pm/hydra/confdb/aclocal_libs.m4 \
95 - confdb/aclocal_libs.m4 \
96 - || die
97 - cp -fp confdb/aclocal_libs.m4 \
98 - src/pm/hydra/confdb/aclocal_libs.m4 \
99 - || die
100 - cp -fp confdb/aclocal_libs.m4 \
101 - src/pm/hydra/mpl/confdb/aclocal_libs.m4 \
102 - || die
103 - cd src/pm/hydra/mpl; eautoreconf; cd -
104 - cd src/pm/hydra; eautoreconf; cd -
105 - eautoreconf
106 -}
107 -
108 -multilib_src_configure() {
109 - # The configure statements can be somewhat confusing, as they
110 - # don't all show up in the top level configure, however, they
111 - # are picked up in the children directories. Hence the separate
112 - # local vars.
113 -
114 - local c=
115 - if use mpi-threads; then
116 - # MPI-THREAD requries threading.
117 - c="${c} --with-thread-package=pthreads"
118 - c="${c} --enable-threads=runtime"
119 - else
120 - if use threads ; then
121 - c="${c} --with-thread-package=pthreads"
122 - else
123 - c="${c} --with-thread-package=none"
124 - fi
125 - c="${c} --enable-threads=single"
126 - fi
127 -
128 - c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
129 -
130 - # GCC 10 compatibility workaround
131 - # bug #725842
132 - append-fflags $(test-flags-FC -fallow-argument-mismatch)
133 -
134 - export MPICHLIB_CFLAGS="${CFLAGS}"
135 - export MPICHLIB_CPPFLAGS="${CPPFLAGS}"
136 - export MPICHLIB_CXXFLAGS="${CXXFLAGS}"
137 - export MPICHLIB_FFLAGS="${FFLAGS}"
138 - export MPICHLIB_FCFLAGS="${FCFLAGS}"
139 - export MPICHLIB_LDFLAGS="${LDFLAGS}"
140 -
141 - # dropped w/ bug #725842 fix
142 - #unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
143 -
144 - # Forcing Bash as there's quite a few bashisms in the build system
145 - CONFIG_SHELL="${BROOT}/bin/bash" ECONF_SOURCE=${S} econf \
146 - --enable-shared \
147 - --with-hwloc-prefix="${EPREFIX}/usr" \
148 - --with-hwloc-libdir="$(get_libdir)" \
149 - --with-common-libdir="$(get_libdir)" \
150 - --with-prefix-libdir="$(get_libdir)" \
151 - --with-izem-libdir="$(get_libdir)" \
152 - --with-fiprovider-libdir="$(get_libdir)" \
153 - ${c} \
154 - --with-pm=hydra \
155 - --disable-fast \
156 - --enable-versioning \
157 - $(use_enable romio) \
158 - $(use_enable cxx) \
159 - $(use_enable fortran fortran all)
160 -}
161 -
162 -multilib_src_test() {
163 - emake -j1 check
164 -}
165 -
166 -multilib_src_install() {
167 - default
168 -
169 - # fortran header cannot be wrapped (bug #540508), workaround part 1
170 - if use fortran; then
171 - if multilib_is_native_abi; then
172 - mkdir "${T}"/fortran || die
173 - mv "${ED}"usr/include/mpif* "${T}"/fortran || die
174 - mv "${ED}"usr/include/*.mod "${T}"/fortran || die
175 - else
176 - rm "${ED}"usr/include/mpif* "${ED}"usr/include/*.mod || die
177 - fi
178 - fi
179 -}
180 -
181 -multilib_src_install_all() {
182 - # fortran header cannot be wrapped (bug #540508), workaround part 2
183 - if use fortran; then
184 - mv "${T}"/fortran/* "${ED}"usr/include || die
185 - fi
186 -
187 - einstalldocs
188 - newdoc src/pm/hydra/README README.hydra
189 - if use romio; then
190 - newdoc src/mpi/romio/README README.romio
191 - fi
192 -
193 - if ! use doc; then
194 - rm -rf "${ED}"usr/share/doc/${PF}/www* || die
195 - fi
196 -}
197
198 diff --git a/sys-cluster/mpich/mpich-3.4.2-r2.ebuild b/sys-cluster/mpich/mpich-3.4.2-r2.ebuild
199 deleted file mode 100644
200 index ddaf646f0454..000000000000
201 --- a/sys-cluster/mpich/mpich-3.4.2-r2.ebuild
202 +++ /dev/null
203 @@ -1,163 +0,0 @@
204 -# Copyright 1999-2021 Gentoo Authors
205 -# Distributed under the terms of the GNU General Public License v2
206 -
207 -EAPI=7
208 -
209 -FORTRAN_NEEDED=fortran
210 -FORTRAN_STANDARD="77 90"
211 -
212 -inherit fortran-2 multilib-minimal flag-o-matic
213 -
214 -MY_PV=${PV/_/}
215 -DESCRIPTION="A high performance and portable MPI implementation"
216 -HOMEPAGE="https://www.mpich.org/"
217 -SRC_URI="https://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
218 -S="${WORKDIR}"/${PN}-${MY_PV}
219 -
220 -LICENSE="mpich2"
221 -SLOT="0"
222 -KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
223 -IUSE="+cxx doc fortran mpi-threads +romio threads"
224 -REQUIRED_USE="mpi-threads? ( threads )"
225 -
226 -COMMON_DEPEND=">=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
227 - >=sys-apps/hwloc-2.0.2:=[${MULTILIB_USEDEP}]
228 - sys-libs/libunwind:=[${MULTILIB_USEDEP}]
229 - romio? ( net-fs/nfs-utils )"
230 -
231 -DEPEND="${COMMON_DEPEND}
232 - dev-lang/perl
233 - sys-devel/libtool"
234 -RDEPEND="${COMMON_DEPEND}
235 - !sys-cluster/mpich2
236 - !sys-cluster/openmpi
237 - !sys-cluster/nullmpi"
238 -
239 -MULTILIB_WRAPPED_HEADERS=(
240 - /usr/include/mpicxx.h
241 - /usr/include/mpi.h
242 - /usr/include/opa_config.h
243 -)
244 -
245 -#PATCHES=(
246 -# "${FILESDIR}"/${PN}-3.3-add-external-libdir-parameter.patch
247 -#)
248 -
249 -src_prepare() {
250 - default
251 -
252 - # Using MPICHLIB_LDFLAGS doesn't seem to fully work.
253 - sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
254 - src/packaging/pkgconfig/mpich.pc.in \
255 - src/env/*.in \
256 - || die
257 -
258 - # Fix m4 files to satisfy lib dir with multilib.
259 - #touch -r src/pm/hydra/confdb/aclocal_libs.m4 \
260 - # confdb/aclocal_libs.m4 \
261 - # || die
262 - #cp -fp confdb/aclocal_libs.m4 \
263 - # src/pm/hydra/confdb/aclocal_libs.m4 \
264 - # || die
265 - #cp -fp confdb/aclocal_libs.m4 \
266 - # src/pm/hydra/mpl/confdb/aclocal_libs.m4 \
267 - # || die
268 - #cd src/pm/hydra/mpl; eautoreconf; cd -
269 - #cd src/pm/hydra; eautoreconf; cd -
270 - #eautoreconf
271 -}
272 -
273 -multilib_src_configure() {
274 - # The configure statements can be somewhat confusing, as they
275 - # don't all show up in the top level configure, however, they
276 - # are picked up in the children directories. Hence the separate
277 - # local vars.
278 -
279 - local c=
280 - if use mpi-threads; then
281 - # MPI-THREAD requries threading.
282 - c="${c} --with-thread-package=pthreads"
283 - c="${c} --enable-threads=runtime"
284 - else
285 - if use threads ; then
286 - c="${c} --with-thread-package=pthreads"
287 - else
288 - c="${c} --with-thread-package=none"
289 - fi
290 - c="${c} --enable-threads=single"
291 - fi
292 -
293 - c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
294 -
295 - # GCC 10 compatibility workaround
296 - # bug #725842
297 - append-fflags $(test-flags-FC -fallow-argument-mismatch)
298 -
299 - export MPICHLIB_CFLAGS="${CFLAGS}"
300 - export MPICHLIB_CPPFLAGS="${CPPFLAGS}"
301 - export MPICHLIB_CXXFLAGS="${CXXFLAGS}"
302 - export MPICHLIB_FFLAGS="${FFLAGS}"
303 - export MPICHLIB_FCFLAGS="${FCFLAGS}"
304 - export MPICHLIB_LDFLAGS="${LDFLAGS}"
305 -
306 - # Dropped w/ bug #725842 fix
307 - #unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
308 -
309 - # Forcing Bash as there's quite a few bashisms in the build system
310 - #
311 - # Note that --with-device=ch3 is preserving the old 3.3.x default
312 - # - keeping it for compatibility for now.
313 - CONFIG_SHELL="${BROOT}/bin/bash" ECONF_SOURCE=${S} econf \
314 - --enable-shared \
315 - --with-hwloc-prefix="${EPREFIX}/usr" \
316 - --with-hwloc-libdir="$(get_libdir)" \
317 - --with-common-libdir="$(get_libdir)" \
318 - --with-prefix-libdir="$(get_libdir)" \
319 - --with-izem-libdir="$(get_libdir)" \
320 - --with-fiprovider-libdir="$(get_libdir)" \
321 - ${c} \
322 - --with-pm=hydra \
323 - --without-ze \
324 - --with-device=ch3 \
325 - --disable-fast \
326 - --enable-versioning \
327 - $(use_enable romio) \
328 - $(use_enable cxx) \
329 - $(use_enable fortran fortran all)
330 -}
331 -
332 -multilib_src_test() {
333 - emake -j1 check
334 -}
335 -
336 -multilib_src_install() {
337 - default
338 -
339 - # fortran header cannot be wrapped (bug #540508), workaround part 1
340 - if use fortran; then
341 - if multilib_is_native_abi; then
342 - mkdir "${T}"/fortran || die
343 - mv "${ED}"/usr/include/mpif* "${T}"/fortran || die
344 - mv "${ED}"/usr/include/*.mod "${T}"/fortran || die
345 - else
346 - rm "${ED}"/usr/include/mpif* "${ED}"/usr/include/*.mod || die
347 - fi
348 - fi
349 -}
350 -
351 -multilib_src_install_all() {
352 - # Fortran header cannot be wrapped (bug #540508), workaround part 2
353 - if use fortran; then
354 - mv "${T}"/fortran/* "${ED}"/usr/include || die
355 - fi
356 -
357 - einstalldocs
358 - newdoc src/pm/hydra/README README.hydra
359 - if use romio; then
360 - newdoc src/mpi/romio/README README.romio
361 - fi
362 -
363 - if ! use doc; then
364 - rm -rf "${ED}"/usr/share/doc/${PF}/www* || die
365 - fi
366 -}