[gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich2/files/, sys-cluster/mpich2/, profiles/

2022-02-04 Thread Jakov Smolić
commit: 2ea5d6a6bf29ed6fcb5295d2dc04cff520e9263d
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Feb  4 09:14:25 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Feb  4 09:14:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ea5d6a6

sys-cluster/mpich2: treeclean

Closes: https://bugs.gentoo.org/547208
Signed-off-by: Jakov Smolić  gentoo.org>

 profiles/package.mask  |   5 -
 sys-cluster/mpich2/Manifest|   1 -
 .../mpich2/files/mpich2-1.5-fno-common.patch   |  21 
 sys-cluster/mpich2/metadata.xml|  13 ---
 sys-cluster/mpich2/mpich2-1.5-r2.ebuild| 123 -
 5 files changed, 163 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 49bbc2839e13..4b1a3141182e 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -324,11 +324,6 @@ net-analyzer/jmx2munin
 # Removal on 2021-02-10 bug #762958
 =app-misc/mime-types-9
 
-# Andreas Sturmlechner  (2022-01-09)
-# No more revdeps after sys-cluster/mpe2 last-rites was initiated.
-# Removal on 2022-01-31, bug #547208
-sys-cluster/mpich2
-
 # Brian Evans  (2022-01-07)
 # The main consumer, phpunit, does not initiate the new timer correctly
 # This is likely to cause issues in tests; Unmask if using for other purposes

diff --git a/sys-cluster/mpich2/Manifest b/sys-cluster/mpich2/Manifest
deleted file mode 100644
index 8ae78c91488a..
--- a/sys-cluster/mpich2/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mpich2-1.5.tar.gz 22826035 BLAKE2B 
75075fbdd0111725e5bce1e828561125cdba2c91ecfb5af7c6ebd0603f8de05aa5813e57bf05b276607d0a6c0a378862b5631ab988f87e67299e7f651efdc76b
 SHA512 
01ef68accdd60af805705c1c7a144a570eee6f01984939fe151a093f963c956fba366247b1058885ba1a2ff626278d30e928e03d394bd6cf2a4b6dab99586c15

diff --git a/sys-cluster/mpich2/files/mpich2-1.5-fno-common.patch 
b/sys-cluster/mpich2/files/mpich2-1.5-fno-common.patch
deleted file mode 100644
index ce0c1911b16d..
--- a/sys-cluster/mpich2/files/mpich2-1.5-fno-common.patch
+++ /dev/null
@@ -1,21 +0,0 @@
 a/src/pm/hydra/pm/pmiserv/pmip_cb.c
-+++ b/src/pm/hydra/pm/pmiserv/pmip_cb.c
-@@ -12,7 +12,6 @@
- #include "topo.h"
- #include "hydt_ftb.h"
- 
--struct HYD_pmcd_pmip HYD_pmcd_pmip;
- struct HYD_pmcd_pmip_pmi_handle *HYD_pmcd_pmip_pmi_handle = { 0 };
- 
- static int storage_len = 0;
 a/src/pm/hydra/pm/pmiserv/pmip.c
-+++ b/src/pm/hydra/pm/pmiserv/pmip.c
-@@ -11,8 +11,6 @@
- #include "topo.h"
- #include "hydt_ftb.h"
- 
--struct HYD_pmcd_pmip HYD_pmcd_pmip;
--
- static HYD_status init_params(void)
- {
- HYD_status status = HYD_SUCCESS;

diff --git a/sys-cluster/mpich2/metadata.xml b/sys-cluster/mpich2/metadata.xml
deleted file mode 100644
index b62c63e7f6e0..
--- a/sys-cluster/mpich2/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   clus...@gentoo.org
-   Gentoo Cluster Project
-   
-   
-   Enable romio, a high-performance portable 
MPI-IO
-   implementation
-   Enable MPI_THREAD_MULTIPLE
-   
-

diff --git a/sys-cluster/mpich2/mpich2-1.5-r2.ebuild 
b/sys-cluster/mpich2/mpich2-1.5-r2.ebuild
deleted file mode 100644
index cc4ea60778ce..
--- a/sys-cluster/mpich2/mpich2-1.5-r2.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit epatch fortran-2 flag-o-matic
-
-MY_PV=${PV/_/}
-DESCRIPTION="A high performance and portable MPI implementation"
-HOMEPAGE="http://www.mcs.anl.gov/research/projects/mpich2/index.php;
-SRC_URI="http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/${MY_PV}/${PN}-${MY_PV}.tar.gz;
-
-SLOT="0"
-LICENSE="mpich2"
-KEYWORDS="amd64 ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="+cxx doc fortran mpi-threads romio threads"
-
-COMMON_DEPEND="
-   dev-libs/libaio
-   net-libs/libnsl:0=
-   sys-apps/hwloc:=
-   romio? ( net-fs/nfs-utils )"
-
-DEPEND="${COMMON_DEPEND}
-   dev-lang/perl
-   sys-devel/libtool"
-
-RDEPEND="${COMMON_DEPEND}
-   !sys-cluster/mpich
-   !sys-cluster/openmpi"
-
-S="${WORKDIR}"/${PN}-${MY_PV}
-
-pkg_setup() {
-   FORTRAN_STANDARD="77 90"
-   fortran-2_pkg_setup
-
-   if use mpi-threads && ! use threads; then
-   ewarn "mpi-threads requires threads, assuming that's what you 
want"
-   fi
-}
-
-src_prepare() {
-   epatch "${FILESDIR}/${P}-fno-common.patch"
-
-   # Using MPICH2LIB_LDFLAGS doesn't seem to full work.
-   sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
-   src/packaging/pkgconfig/mpich2.pc.in \
-   src/env/*.in \
-   || die
-}
-
-src_configure() {
-   local c="--enable-shared --disable-static"
-
-   # The configure statements can be somewhat 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich2/

2021-10-29 Thread Sam James
commit: aae6b7aae666c0fa704f458bc39c9eeafe5a04f3
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 29 22:36:45 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 29 22:43:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aae6b7aa

sys-cluster/mpich2: add hwloc subslot operator

Signed-off-by: Sam James  gentoo.org>

 sys-cluster/mpich2/{mpich2-1.5-r1.ebuild => mpich2-1.5-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/mpich2/mpich2-1.5-r1.ebuild 
b/sys-cluster/mpich2/mpich2-1.5-r2.ebuild
similarity index 99%
rename from sys-cluster/mpich2/mpich2-1.5-r1.ebuild
rename to sys-cluster/mpich2/mpich2-1.5-r2.ebuild
index b436f7e5fe9..cc4ea60778c 100644
--- a/sys-cluster/mpich2/mpich2-1.5-r1.ebuild
+++ b/sys-cluster/mpich2/mpich2-1.5-r2.ebuild
@@ -20,7 +20,7 @@ IUSE="+cxx doc fortran mpi-threads romio threads"
 COMMON_DEPEND="
dev-libs/libaio
net-libs/libnsl:0=
-   sys-apps/hwloc
+   sys-apps/hwloc:=
romio? ( net-fs/nfs-utils )"
 
 DEPEND="${COMMON_DEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich2/

2021-10-15 Thread Sam James
commit: c9050c741fa5bec1a5df21691891ae09d8de3fce
Author: Christopher Layne  anodized  com>
AuthorDate: Fri Oct 15 21:23:13 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 15 21:43:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9050c74

sys-cluster/mpich2: Restore missing conf opts

* Commit 4c2a5999 errantly removed use of a temporary variable when
  converting the calling method to use bash.

Closes: https://bugs.gentoo.org/814548
Closes: https://github.com/gentoo/gentoo/pull/22592
Signed-off-by: Sam James  gentoo.org>

 sys-cluster/mpich2/{mpich2-1.5.ebuild => mpich2-1.5-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/mpich2/mpich2-1.5.ebuild 
b/sys-cluster/mpich2/mpich2-1.5-r1.ebuild
similarity index 98%
rename from sys-cluster/mpich2/mpich2-1.5.ebuild
rename to sys-cluster/mpich2/mpich2-1.5-r1.ebuild
index 05eb7a68a7d..b436f7e5fe9 100644
--- a/sys-cluster/mpich2/mpich2-1.5.ebuild
+++ b/sys-cluster/mpich2/mpich2-1.5-r1.ebuild
@@ -89,7 +89,7 @@ src_configure() {
c="${c} --docdir=${EPREFIX}/usr/share/doc/${PF}"
 
# Forcing Bash as there's quite a few bashisms in the build system
-   CONFIG_SHELL="${BROOT}/bin/bash" econf \
+   CONFIG_SHELL="${BROOT}/bin/bash" econf ${c} \
--with-pm=hydra \
--disable-mpe \
--disable-fast \



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich2/

2021-09-23 Thread Sam James
commit: 2b4da1ef9064c888f23e598ebef01c98e402bc2a
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 23 20:31:45 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 23 20:31:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b4da1ef

sys-cluster/mpich2: fix DoubleEmptyLine

Signed-off-by: Sam James  gentoo.org>

 sys-cluster/mpich2/mpich2-1.5.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys-cluster/mpich2/mpich2-1.5.ebuild 
b/sys-cluster/mpich2/mpich2-1.5.ebuild
index 9a764592cba..05eb7a68a7d 100644
--- a/sys-cluster/mpich2/mpich2-1.5.ebuild
+++ b/sys-cluster/mpich2/mpich2-1.5.ebuild
@@ -72,7 +72,6 @@ src_configure() {
c="${c} --enable-threads=single"
fi
 
-
# GCC 10 compatibility workaround
# bug #725722
append-fflags $(test-flags-FC -fallow-argument-mismatch)



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich2/

2021-09-23 Thread Sam James
commit: 4c2a5999e1c81c0fc121361463751f1e034edfdf
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 23 20:23:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 23 20:31:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c2a5999

sys-cluster/mpich2: workaround build failures with GCC 10

Closes: https://bugs.gentoo.org/725722
Signed-off-by: Sam James  gentoo.org>

 sys-cluster/mpich2/mpich2-1.5.ebuild | 14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/mpich2/mpich2-1.5.ebuild 
b/sys-cluster/mpich2/mpich2-1.5.ebuild
index f73637a3bb1..9a764592cba 100644
--- a/sys-cluster/mpich2/mpich2-1.5.ebuild
+++ b/sys-cluster/mpich2/mpich2-1.5.ebuild
@@ -5,7 +5,7 @@ EAPI=5
 
 FORTRAN_NEEDED=fortran
 
-inherit epatch fortran-2
+inherit epatch fortran-2 flag-o-matic
 
 MY_PV=${PV/_/}
 DESCRIPTION="A high performance and portable MPI implementation"
@@ -72,17 +72,25 @@ src_configure() {
c="${c} --enable-threads=single"
fi
 
+
+   # GCC 10 compatibility workaround
+   # bug #725722
+   append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
export MPICH2LIB_CFLAGS=${CFLAGS}
export MPICH2LIB_CPPFLAGS=${CPPFLAGS}
export MPICH2LIB_CXXFLAGS=${CXXFLAGS}
export MPICH2LIB_FFLAGS=${FFLAGS}
export MPICH2LIB_FCFLAGS=${FCFLAGS}
export MPICH2LIB_LDFLAGS=${LDFLAGS}
-   unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
+   # dropped w/ bug #725722 fix
+   #unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
 
c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
c="${c} --docdir=${EPREFIX}/usr/share/doc/${PF}"
-   econf ${c} \
+
+   # Forcing Bash as there's quite a few bashisms in the build system
+   CONFIG_SHELL="${BROOT}/bin/bash" econf \
--with-pm=hydra \
--disable-mpe \
--disable-fast \



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich2/files/, sys-cluster/mpich2/

2021-03-06 Thread Andreas K. Hüttel
commit: a0bff5f8f325911ec904ac8eab65e4976d2aeda2
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Mar  6 16:05:29 2021 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Mar  6 16:05:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0bff5f8

sys-cluster/mpich2: Fix build with gcc-10

Closes: https://bugs.gentoo.org/716664
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andreas K. Huettel  gentoo.org>

 .../mpich2/files/mpich2-1.5-fno-common.patch| 21 +
 sys-cluster/mpich2/mpich2-1.5.ebuild|  4 +++-
 2 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/mpich2/files/mpich2-1.5-fno-common.patch 
b/sys-cluster/mpich2/files/mpich2-1.5-fno-common.patch
new file mode 100644
index 000..ce0c1911b16
--- /dev/null
+++ b/sys-cluster/mpich2/files/mpich2-1.5-fno-common.patch
@@ -0,0 +1,21 @@
+--- a/src/pm/hydra/pm/pmiserv/pmip_cb.c
 b/src/pm/hydra/pm/pmiserv/pmip_cb.c
+@@ -12,7 +12,6 @@
+ #include "topo.h"
+ #include "hydt_ftb.h"
+ 
+-struct HYD_pmcd_pmip HYD_pmcd_pmip;
+ struct HYD_pmcd_pmip_pmi_handle *HYD_pmcd_pmip_pmi_handle = { 0 };
+ 
+ static int storage_len = 0;
+--- a/src/pm/hydra/pm/pmiserv/pmip.c
 b/src/pm/hydra/pm/pmiserv/pmip.c
+@@ -11,8 +11,6 @@
+ #include "topo.h"
+ #include "hydt_ftb.h"
+ 
+-struct HYD_pmcd_pmip HYD_pmcd_pmip;
+-
+ static HYD_status init_params(void)
+ {
+ HYD_status status = HYD_SUCCESS;

diff --git a/sys-cluster/mpich2/mpich2-1.5.ebuild 
b/sys-cluster/mpich2/mpich2-1.5.ebuild
index 1fc1095762f..159474a613c 100644
--- a/sys-cluster/mpich2/mpich2-1.5.ebuild
+++ b/sys-cluster/mpich2/mpich2-1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -43,6 +43,8 @@ pkg_setup() {
 }
 
 src_prepare() {
+   epatch "${FILESDIR}/${P}-fno-common.patch"
+
# Using MPICH2LIB_LDFLAGS doesn't seem to full work.
sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
src/packaging/pkgconfig/mpich2.pc.in \



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich2/

2020-11-16 Thread David Seifert
commit: dc3959609c29c8edf547375ec2587f17082e9ba8
Author: Jakov Smolic  sartura  hr>
AuthorDate: Mon Nov 16 23:21:03 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Nov 16 23:21:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc395960

sys-cluster/mpich2: disable static libs

Closes: https://bugs.gentoo.org/458474
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sys-cluster/mpich2/mpich2-1.5.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/mpich2/mpich2-1.5.ebuild 
b/sys-cluster/mpich2/mpich2-1.5.ebuild
index e3e96c43c26..b896636 100644
--- a/sys-cluster/mpich2/mpich2-1.5.ebuild
+++ b/sys-cluster/mpich2/mpich2-1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -51,7 +51,7 @@ src_prepare() {
 }
 
 src_configure() {
-   local c="--enable-shared"
+   local c="--enable-shared --disable-static"
 
# The configure statements can be somewhat confusing, as they
# don't all show up in the top level configure, however, they
@@ -109,4 +109,6 @@ src_install() {
if ! use doc; then
rm -rf "${D}"usr/share/doc/${PF}/www*
fi
+
+   find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich2/

2019-09-04 Thread Justin Bronder
commit: 85d9200e926373ac578782a788450302f2f4b11c
Author: Justin Bronder  gentoo  org>
AuthorDate: Wed Sep  4 14:01:52 2019 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Wed Sep  4 14:20:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85d9200e

sys-cluster/mpich2: remove jsbronder as maintainer

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Justin Bronder  gentoo.org>

 sys-cluster/mpich2/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sys-cluster/mpich2/metadata.xml b/sys-cluster/mpich2/metadata.xml
index d88fa13bcaf..9c96829dcdf 100644
--- a/sys-cluster/mpich2/metadata.xml
+++ b/sys-cluster/mpich2/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   jsbron...@gentoo.org
-   Justin Bronder
-   

clus...@gentoo.org
Gentoo Cluster Project



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich2/

2017-11-03 Thread Andreas Hüttel
commit: 03c3b2b546026eff05401e060656adc907f8c2d0
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Nov  3 21:10:50 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Fri Nov  3 21:10:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c3b2b5

sys-cluster/mpich2: Links to libnsl, so add dependency

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 sys-cluster/mpich2/mpich2-1.5.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-cluster/mpich2/mpich2-1.5.ebuild 
b/sys-cluster/mpich2/mpich2-1.5.ebuild
index a962084a710..e3e96c43c26 100644
--- a/sys-cluster/mpich2/mpich2-1.5.ebuild
+++ b/sys-cluster/mpich2/mpich2-1.5.ebuild
@@ -19,6 +19,7 @@ IUSE="+cxx doc fortran mpi-threads romio threads"
 
 COMMON_DEPEND="
dev-libs/libaio
+   net-libs/libnsl:0=
sys-apps/hwloc
romio? ( net-fs/nfs-utils )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich2/

2017-06-22 Thread Alexis Ballier
commit: 5e0c8e86d4d0753edd7156540c5099c676332c1d
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Jun 23 05:17:39 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Jun 23 05:19:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e0c8e86

sys-cluster/mpich2: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-cluster/mpich2/mpich2-1.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/mpich2/mpich2-1.5.ebuild 
b/sys-cluster/mpich2/mpich2-1.5.ebuild
index 221bc1b2d9a..a962084a710 100644
--- a/sys-cluster/mpich2/mpich2-1.5.ebuild
+++ b/sys-cluster/mpich2/mpich2-1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,7 +14,7 @@ 
SRC_URI="http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/${MY
 
 SLOT="0"
 LICENSE="mpich2"
-KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="+cxx doc fortran mpi-threads romio threads"
 
 COMMON_DEPEND="