1 |
commit: 638dd49bacabb37e89a0934c53acd6a2b89aa86c |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 12 09:14:43 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 12 09:41:24 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=638dd49b |
7 |
|
8 |
sys-cluster/mpich: Drop 3.0.4-r2, EAPI5-- |
9 |
|
10 |
Closes: https://bugs.gentoo.org/828688 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
sys-cluster/mpich/Manifest | 1 - |
15 |
sys-cluster/mpich/mpich-3.0.4-r2.ebuild | 122 -------------------------------- |
16 |
2 files changed, 123 deletions(-) |
17 |
|
18 |
diff --git a/sys-cluster/mpich/Manifest b/sys-cluster/mpich/Manifest |
19 |
index 9c37079a9388..e87ddd6bff95 100644 |
20 |
--- a/sys-cluster/mpich/Manifest |
21 |
+++ b/sys-cluster/mpich/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST mpich-3.0.4.tar.gz 10921075 BLAKE2B 341aaac23277aed05a4448ea03d9caf1ee14cfe327a770c95d620fc1ee1ea7bfa6df36860aa44aad162eb6d630d35fdfb30ae9a866d67680ab71c7b4326c109c SHA512 f9d8b2cf561fe5f85c12512ef4dd7b0cf5ec8b53ddb07bfa0d1db2e3c8ae0382c77e0661f46b82ec96b05d18ea2d25328bb84e9528ac06e5925f30ec8ef030d0 |
24 |
DIST mpich-3.4.3.tar.gz 32853411 BLAKE2B 889f8d4077cd9e8a727e46431ad505b2a17d7391dec00910254d8dbdbc992e2df92efd355d290881fb3a73966bf3504b6942003f88041669c16a8aa142c2dab2 SHA512 d8455a3e7150dc720ba8a0660bfbbec364b62729f4a319928bb910644d20ee68d267baf9e9e2c322540a725e41858b416ed5fff001fb1f6aa45d1c08db8dad1a |
25 |
|
26 |
diff --git a/sys-cluster/mpich/mpich-3.0.4-r2.ebuild b/sys-cluster/mpich/mpich-3.0.4-r2.ebuild |
27 |
deleted file mode 100644 |
28 |
index 8a215eacfc6b..000000000000 |
29 |
--- a/sys-cluster/mpich/mpich-3.0.4-r2.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,122 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=5 |
36 |
- |
37 |
-FORTRAN_NEEDED=fortran |
38 |
- |
39 |
-inherit fortran-2 flag-o-matic |
40 |
- |
41 |
-MY_PV=${PV/_/} |
42 |
-DESCRIPTION="A high performance and portable MPI implementation" |
43 |
-HOMEPAGE="http://www.mpich.org/" |
44 |
-SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz" |
45 |
- |
46 |
-SLOT="0" |
47 |
-LICENSE="mpich2" |
48 |
-KEYWORDS="amd64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux" |
49 |
-IUSE="+cxx doc fortran mpi-threads romio threads" |
50 |
- |
51 |
-COMMON_DEPEND=" |
52 |
- dev-libs/libaio |
53 |
- <sys-apps/hwloc-2:= |
54 |
- romio? ( net-fs/nfs-utils )" |
55 |
- |
56 |
-DEPEND="${COMMON_DEPEND} |
57 |
- dev-lang/perl |
58 |
- sys-devel/libtool" |
59 |
- |
60 |
-RDEPEND="${COMMON_DEPEND} |
61 |
- !sys-cluster/mpich2 |
62 |
- !sys-cluster/openmpi" |
63 |
- |
64 |
-S="${WORKDIR}"/${PN}-${MY_PV} |
65 |
- |
66 |
-pkg_setup() { |
67 |
- FORTRAN_STANDARD="77 90" |
68 |
- fortran-2_pkg_setup |
69 |
- |
70 |
- if use mpi-threads && ! use threads; then |
71 |
- ewarn "mpi-threads requires threads, assuming that's what you want" |
72 |
- fi |
73 |
-} |
74 |
- |
75 |
-src_prepare() { |
76 |
- # Using MPICHLIB_LDFLAGS doesn't seem to fully work. |
77 |
- sed -i 's| *@WRAPPER_LDFLAGS@ *||' \ |
78 |
- src/packaging/pkgconfig/mpich.pc.in \ |
79 |
- src/env/*.in \ |
80 |
- || die |
81 |
-} |
82 |
- |
83 |
-src_configure() { |
84 |
- local c="--enable-shared" |
85 |
- |
86 |
- # The configure statements can be somewhat confusing, as they |
87 |
- # don't all show up in the top level configure, however, they |
88 |
- # are picked up in the children directories. |
89 |
- |
90 |
- if use mpi-threads; then |
91 |
- # MPI-THREAD requries threading. |
92 |
- c="${c} --with-thread-package=pthreads" |
93 |
- c="${c} --enable-threads=runtime" |
94 |
- else |
95 |
- if use threads ; then |
96 |
- c="${c} --with-thread-package=pthreads" |
97 |
- else |
98 |
- c="${c} --with-thread-package=none" |
99 |
- fi |
100 |
- c="${c} --enable-threads=single" |
101 |
- fi |
102 |
- |
103 |
- c="${c} --sysconfdir=${EPREFIX}/etc/${PN}" |
104 |
- c="${c} --docdir=${EPREFIX}/usr/share/doc/${PF}" |
105 |
- |
106 |
- # GCC 10 compatibility workaround |
107 |
- # bug #725842 |
108 |
- append-fflags $(test-flags-FC -fallow-argument-mismatch) |
109 |
- |
110 |
- export MPICHLIB_CFLAGS=${CFLAGS} |
111 |
- export MPICHLIB_CPPFLAGS=${CPPFLAGS} |
112 |
- export MPICHLIB_CXXFLAGS=${CXXFLAGS} |
113 |
- export MPICHLIB_FFLAGS=${FFLAGS} |
114 |
- export MPICHLIB_FCFLAGS=${FCFLAGS} |
115 |
- export MPICHLIB_LDFLAGS=${LDFLAGS} |
116 |
- # dropped w/ bug #725842 fix |
117 |
- #unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS |
118 |
- |
119 |
- # Possible workaround for bug #818280 |
120 |
- append-flags -fcommon |
121 |
- |
122 |
- # Forcing Bash as there's quite a few bashisms in the build system |
123 |
- CONFIG_SHELL="${BROOT}/bin/bash" econf ${c} \ |
124 |
- --with-pm=hydra \ |
125 |
- --disable-mpe \ |
126 |
- --disable-fast \ |
127 |
- --enable-smpcoll \ |
128 |
- --enable-versioning \ |
129 |
- --with-hwloc-prefix=/usr \ |
130 |
- $(use_enable romio) \ |
131 |
- $(use_enable cxx) \ |
132 |
- $(use_enable fortran f77) \ |
133 |
- $(use_enable fortran fc) |
134 |
-} |
135 |
- |
136 |
-src_test() { |
137 |
- emake -j1 check |
138 |
-} |
139 |
- |
140 |
-src_install() { |
141 |
- default |
142 |
- |
143 |
- dodir /usr/share/doc/${PF} |
144 |
- dodoc README{,.envvar} CHANGES RELEASE_NOTES |
145 |
- newdoc src/pm/hydra/README README.hydra |
146 |
- if use romio; then |
147 |
- newdoc src/mpi/romio/README README.romio |
148 |
- fi |
149 |
- |
150 |
- if ! use doc; then |
151 |
- rm -rf "${D}"usr/share/doc/${PF}/www* |
152 |
- fi |
153 |
-} |