public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2022-01-12  7:42 Agostino Sarubbo
  0 siblings, 0 replies; 36+ messages in thread
From: Agostino Sarubbo @ 2022-01-12  7:42 UTC (permalink / raw
  To: gentoo-commits

commit:     52b4b372402e92e7399145eeda1fcb4d9cc4c410
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 12 07:42:35 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Jan 12 07:42:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52b4b372

sys-cluster/mpich: amd64 stable wrt bug #828688

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/mpich/mpich-3.4.3.ebuild b/sys-cluster/mpich/mpich-3.4.3.ebuild
index cc87b22ddc67..e94440036b88 100644
--- a/sys-cluster/mpich/mpich-3.4.3.ebuild
+++ b/sys-cluster/mpich/mpich-3.4.3.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/${PN}-${MY_PV}
 
 LICENSE="mpich2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~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"
 REQUIRED_USE="mpi-threads? ( threads )"
 


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2023-05-16  1:52 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2023-05-16  1:52 UTC (permalink / raw
  To: gentoo-commits

commit:     c0a799a70cabea58fcaab2443906d1ead7ff704c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 01:25:47 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 16 01:52:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0a799a7

sys-cluster/mpich: add Valgrind annotation support

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.4.3.ebuild | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

diff --git a/sys-cluster/mpich/mpich-3.4.3.ebuild b/sys-cluster/mpich/mpich-3.4.3.ebuild
index 2eae74fc8796..10547d371575 100644
--- a/sys-cluster/mpich/mpich-3.4.3.ebuild
+++ b/sys-cluster/mpich/mpich-3.4.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,21 +17,28 @@ S="${WORKDIR}"/${PN}-${MY_PV}
 LICENSE="mpich2"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 ~hppa ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
-IUSE="+cxx doc fortran mpi-threads +romio threads"
+IUSE="+cxx doc fortran mpi-threads +romio threads valgrind"
 REQUIRED_USE="mpi-threads? ( threads )"
 
-COMMON_DEPEND=">=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
+COMMON_DEPEND="
+	>=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
 	>=sys-apps/hwloc-2.0.2:=[${MULTILIB_USEDEP}]
 	sys-libs/libunwind:=[${MULTILIB_USEDEP}]
-	romio? ( net-fs/nfs-utils )"
+	romio? ( net-fs/nfs-utils )
+"
 
-DEPEND="${COMMON_DEPEND}
+DEPEND="
+	${COMMON_DEPEND}
 	dev-lang/perl
-	sys-devel/libtool"
-RDEPEND="${COMMON_DEPEND}
+	sys-devel/libtool
+	valgrind? ( dev-util/valgrind )
+"
+RDEPEND="
+	${COMMON_DEPEND}
 	!sys-cluster/mpich2
 	!sys-cluster/openmpi
-	!sys-cluster/nullmpi"
+	!sys-cluster/nullmpi
+"
 
 MULTILIB_WRAPPED_HEADERS=(
 	/usr/include/mpicxx.h
@@ -123,7 +130,8 @@ multilib_src_configure() {
 		--enable-versioning \
 		$(use_enable romio) \
 		$(use_enable cxx) \
-		$(use_enable fortran fortran all)
+		$(use_enable fortran fortran all) \
+		$(use_with valgrind)
 }
 
 multilib_src_test() {


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2023-01-12 21:50 Yixun Lan
  0 siblings, 0 replies; 36+ messages in thread
From: Yixun Lan @ 2023-01-12 21:50 UTC (permalink / raw
  To: gentoo-commits

commit:     bffd7b73403b401ed5df4c6ecd0294e4f4543628
Author:     jinqiang zhang <peeweep <AT> 0x0 <DOT> ee>
AuthorDate: Fri Dec  9 17:36:47 2022 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Jan 12 21:44:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bffd7b73

sys-cluster/mpich: fix riscv test failed

Closes: https://bugs.gentoo.org/884809
Signed-off-by: jinqiang zhang <peeweep <AT> 0x0.ee>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.4.3.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-cluster/mpich/mpich-3.4.3.ebuild b/sys-cluster/mpich/mpich-3.4.3.ebuild
index 285928166e97..9f2aecfc47a9 100644
--- a/sys-cluster/mpich/mpich-3.4.3.ebuild
+++ b/sys-cluster/mpich/mpich-3.4.3.ebuild
@@ -127,6 +127,7 @@ multilib_src_configure() {
 }
 
 multilib_src_test() {
+	export USE_VALGRIND=0 #884809
 	emake -j1 check
 }
 


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2023-01-12 21:50 Yixun Lan
  0 siblings, 0 replies; 36+ messages in thread
From: Yixun Lan @ 2023-01-12 21:50 UTC (permalink / raw
  To: gentoo-commits

commit:     824e477d41a76dcaa5c3bfb0f546b287b0217cab
Author:     jinqiang zhang <peeweep <AT> 0x0 <DOT> ee>
AuthorDate: Thu Dec  8 03:40:23 2022 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Jan 12 21:44:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824e477d

sys-cluster/mpich: Keyword 3.4.3 riscv, #884807

Closes: https://github.com/gentoo/gentoo/pull/28595
Signed-off-by: jinqiang zhang <peeweep <AT> 0x0.ee>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/mpich/mpich-3.4.3.ebuild b/sys-cluster/mpich/mpich-3.4.3.ebuild
index 9f2aecfc47a9..2eae74fc8796 100644
--- a/sys-cluster/mpich/mpich-3.4.3.ebuild
+++ b/sys-cluster/mpich/mpich-3.4.3.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/${PN}-${MY_PV}
 
 LICENSE="mpich2"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm64 ~hppa ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 IUSE="+cxx doc fortran mpi-threads +romio threads"
 REQUIRED_USE="mpi-threads? ( threads )"
 


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2022-01-12  9:41 Andreas Sturmlechner
  0 siblings, 0 replies; 36+ messages in thread
From: Andreas Sturmlechner @ 2022-01-12  9:41 UTC (permalink / raw
  To: gentoo-commits

commit:     638dd49bacabb37e89a0934c53acd6a2b89aa86c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 12 09:14:43 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jan 12 09:41:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=638dd49b

sys-cluster/mpich: Drop 3.0.4-r2, EAPI5--

Closes: https://bugs.gentoo.org/828688
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sys-cluster/mpich/Manifest              |   1 -
 sys-cluster/mpich/mpich-3.0.4-r2.ebuild | 122 --------------------------------
 2 files changed, 123 deletions(-)

diff --git a/sys-cluster/mpich/Manifest b/sys-cluster/mpich/Manifest
index 9c37079a9388..e87ddd6bff95 100644
--- a/sys-cluster/mpich/Manifest
+++ b/sys-cluster/mpich/Manifest
@@ -1,2 +1 @@
-DIST mpich-3.0.4.tar.gz 10921075 BLAKE2B 341aaac23277aed05a4448ea03d9caf1ee14cfe327a770c95d620fc1ee1ea7bfa6df36860aa44aad162eb6d630d35fdfb30ae9a866d67680ab71c7b4326c109c SHA512 f9d8b2cf561fe5f85c12512ef4dd7b0cf5ec8b53ddb07bfa0d1db2e3c8ae0382c77e0661f46b82ec96b05d18ea2d25328bb84e9528ac06e5925f30ec8ef030d0
 DIST mpich-3.4.3.tar.gz 32853411 BLAKE2B 889f8d4077cd9e8a727e46431ad505b2a17d7391dec00910254d8dbdbc992e2df92efd355d290881fb3a73966bf3504b6942003f88041669c16a8aa142c2dab2 SHA512 d8455a3e7150dc720ba8a0660bfbbec364b62729f4a319928bb910644d20ee68d267baf9e9e2c322540a725e41858b416ed5fff001fb1f6aa45d1c08db8dad1a

diff --git a/sys-cluster/mpich/mpich-3.0.4-r2.ebuild b/sys-cluster/mpich/mpich-3.0.4-r2.ebuild
deleted file mode 100644
index 8a215eacfc6b..000000000000
--- a/sys-cluster/mpich/mpich-3.0.4-r2.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit fortran-2 flag-o-matic
-
-MY_PV=${PV/_/}
-DESCRIPTION="A high performance and portable MPI implementation"
-HOMEPAGE="http://www.mpich.org/"
-SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="mpich2"
-KEYWORDS="amd64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="+cxx doc fortran mpi-threads romio threads"
-
-COMMON_DEPEND="
-	dev-libs/libaio
-	<sys-apps/hwloc-2:=
-	romio? ( net-fs/nfs-utils )"
-
-DEPEND="${COMMON_DEPEND}
-	dev-lang/perl
-	sys-devel/libtool"
-
-RDEPEND="${COMMON_DEPEND}
-	!sys-cluster/mpich2
-	!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() {
-	# Using MPICHLIB_LDFLAGS doesn't seem to fully work.
-	sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
-		src/packaging/pkgconfig/mpich.pc.in \
-		src/env/*.in \
-		|| die
-}
-
-src_configure() {
-	local c="--enable-shared"
-
-	# The configure statements can be somewhat confusing, as they
-	# don't all show up in the top level configure, however, they
-	# are picked up in the children directories.
-
-	if use mpi-threads; then
-		# MPI-THREAD requries threading.
-		c="${c} --with-thread-package=pthreads"
-		c="${c} --enable-threads=runtime"
-	else
-		if use threads ; then
-			c="${c} --with-thread-package=pthreads"
-		else
-			c="${c} --with-thread-package=none"
-		fi
-		c="${c} --enable-threads=single"
-	fi
-
-	c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
-	c="${c} --docdir=${EPREFIX}/usr/share/doc/${PF}"
-
-	# GCC 10 compatibility workaround
-	# bug #725842
-	append-fflags $(test-flags-FC -fallow-argument-mismatch)
-
-	export MPICHLIB_CFLAGS=${CFLAGS}
-	export MPICHLIB_CPPFLAGS=${CPPFLAGS}
-	export MPICHLIB_CXXFLAGS=${CXXFLAGS}
-	export MPICHLIB_FFLAGS=${FFLAGS}
-	export MPICHLIB_FCFLAGS=${FCFLAGS}
-	export MPICHLIB_LDFLAGS=${LDFLAGS}
-	# dropped w/ bug #725842 fix
-	#unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
-
-	# Possible workaround for bug #818280
-	append-flags -fcommon
-
-	# Forcing Bash as there's quite a few bashisms in the build system
-	CONFIG_SHELL="${BROOT}/bin/bash" econf ${c} \
-		--with-pm=hydra \
-		--disable-mpe \
-		--disable-fast \
-		--enable-smpcoll \
-		--enable-versioning \
-		--with-hwloc-prefix=/usr \
-		$(use_enable romio) \
-		$(use_enable cxx) \
-		$(use_enable fortran f77) \
-		$(use_enable fortran fc)
-}
-
-src_test() {
-	emake -j1 check
-}
-
-src_install() {
-	default
-
-	dodir /usr/share/doc/${PF}
-	dodoc README{,.envvar} CHANGES RELEASE_NOTES
-	newdoc src/pm/hydra/README README.hydra
-	if use romio; then
-		newdoc src/mpi/romio/README README.romio
-	fi
-
-	if ! use doc; then
-		rm -rf "${D}"usr/share/doc/${PF}/www*
-	fi
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2022-01-10 22:59 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2022-01-10 22:59 UTC (permalink / raw
  To: gentoo-commits

commit:     0b6bb65bc1477b5d0318cc94e1e6b64119fd5e4e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 10 22:58:57 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 10 22:58:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b6bb65b

sys-cluster/mpich: Stabilize 3.4.3 x86, #828688

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/mpich/mpich-3.4.3.ebuild b/sys-cluster/mpich/mpich-3.4.3.ebuild
index f85e86239a26..cc87b22ddc67 100644
--- a/sys-cluster/mpich/mpich-3.4.3.ebuild
+++ b/sys-cluster/mpich/mpich-3.4.3.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/${PN}-${MY_PV}
 
 LICENSE="mpich2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~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"
 REQUIRED_USE="mpi-threads? ( threads )"
 


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2022-01-10 11:16 Arthur Zamarin
  0 siblings, 0 replies; 36+ messages in thread
From: Arthur Zamarin @ 2022-01-10 11:16 UTC (permalink / raw
  To: gentoo-commits

commit:     d81722813ac56ebbc801961845bc4bb07478ac4f
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 10 11:16:06 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 10 11:16:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8172281

sys-cluster/mpich: Stabilize 3.4.3 ppc64, #828688

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/mpich/mpich-3.4.3.ebuild b/sys-cluster/mpich/mpich-3.4.3.ebuild
index d0fbb60ac2a9..f85e86239a26 100644
--- a/sys-cluster/mpich/mpich-3.4.3.ebuild
+++ b/sys-cluster/mpich/mpich-3.4.3.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/${PN}-${MY_PV}
 
 LICENSE="mpich2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~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"
 REQUIRED_USE="mpi-threads? ( threads )"
 


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2022-01-10 11:14 Arthur Zamarin
  0 siblings, 0 replies; 36+ messages in thread
From: Arthur Zamarin @ 2022-01-10 11:14 UTC (permalink / raw
  To: gentoo-commits

commit:     6aa75b6876504b0ed9a0a438e20ed32f7630054c
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 10 11:14:31 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 10 11:14:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aa75b68

sys-cluster/mpich: Stabilize 3.4.3 ppc, #828688

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/sys-cluster/mpich/mpich-3.4.3.ebuild b/sys-cluster/mpich/mpich-3.4.3.ebuild
index ddaf646f0454..d0fbb60ac2a9 100644
--- a/sys-cluster/mpich/mpich-3.4.3.ebuild
+++ b/sys-cluster/mpich/mpich-3.4.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ S="${WORKDIR}"/${PN}-${MY_PV}
 
 LICENSE="mpich2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~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"
 REQUIRED_USE="mpi-threads? ( threads )"
 


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2022-01-09 22:13 Andreas Sturmlechner
  0 siblings, 0 replies; 36+ messages in thread
From: Andreas Sturmlechner @ 2022-01-09 22:13 UTC (permalink / raw
  To: gentoo-commits

commit:     c29ccc40d5ebaeac54d179e62c37a891b8e612da
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  9 22:02:02 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan  9 22:13:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c29ccc40

sys-cluster/mpich: Drop 3.3-r2 and 3.4.2-r2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sys-cluster/mpich/Manifest              |   2 -
 sys-cluster/mpich/mpich-3.3-r2.ebuild   | 163 --------------------------------
 sys-cluster/mpich/mpich-3.4.2-r2.ebuild | 163 --------------------------------
 3 files changed, 328 deletions(-)

diff --git a/sys-cluster/mpich/Manifest b/sys-cluster/mpich/Manifest
index 51b648126996..9c37079a9388 100644
--- a/sys-cluster/mpich/Manifest
+++ b/sys-cluster/mpich/Manifest
@@ -1,4 +1,2 @@
 DIST mpich-3.0.4.tar.gz 10921075 BLAKE2B 341aaac23277aed05a4448ea03d9caf1ee14cfe327a770c95d620fc1ee1ea7bfa6df36860aa44aad162eb6d630d35fdfb30ae9a866d67680ab71c7b4326c109c SHA512 f9d8b2cf561fe5f85c12512ef4dd7b0cf5ec8b53ddb07bfa0d1db2e3c8ae0382c77e0661f46b82ec96b05d18ea2d25328bb84e9528ac06e5925f30ec8ef030d0
-DIST mpich-3.3.tar.gz 27209008 BLAKE2B 3010f847456ed71a27e728b91887e04303a83b4abea883bf73d9794ff697052efe3bccd238933dc6e5fbc75e0be36004f1ae9fc7695a4e8887984552ae005917 SHA512 1ed6d8d30db4923fd1bd39b6e9622f0db939a45edf8d9f8bdbccfa619fde7fb920c5a0d3f2442f0dd63cf8fda823dbd2983ac5f7c16308bc79e04f61d8e119be
-DIST mpich-3.4.2.tar.gz 32850822 BLAKE2B cbbb7d8b3c6db31c9ee8f59e6a386c000480a738819c8b4398e1299c0fdfce28649a3ebc868aa48517476d0b49d4d58e66407f2116708c3d9e61ce43f6e1c32b SHA512 5f5389071c7d275a864df16aedd19f2b925c9b9ad3b304f9c9f99b5808f6b82def775b4191c03cdd3288c5e4478a40a2aae22c3cf2aabe82be1dd612efd7f2a6
 DIST mpich-3.4.3.tar.gz 32853411 BLAKE2B 889f8d4077cd9e8a727e46431ad505b2a17d7391dec00910254d8dbdbc992e2df92efd355d290881fb3a73966bf3504b6942003f88041669c16a8aa142c2dab2 SHA512 d8455a3e7150dc720ba8a0660bfbbec364b62729f4a319928bb910644d20ee68d267baf9e9e2c322540a725e41858b416ed5fff001fb1f6aa45d1c08db8dad1a

diff --git a/sys-cluster/mpich/mpich-3.3-r2.ebuild b/sys-cluster/mpich/mpich-3.3-r2.ebuild
deleted file mode 100644
index e8ae27f50de2..000000000000
--- a/sys-cluster/mpich/mpich-3.3-r2.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-FORTRAN_NEEDED=fortran
-FORTRAN_STANDARD="77 90"
-
-inherit fortran-2 multilib-minimal multilib flag-o-matic autotools
-
-MY_PV=${PV/_/}
-DESCRIPTION="A high performance and portable MPI implementation"
-HOMEPAGE="http://www.mpich.org/"
-SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.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"
-REQUIRED_USE="mpi-threads? ( threads )"
-
-COMMON_DEPEND="
-	>=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
-	>=sys-apps/hwloc-2.0.2:=[${MULTILIB_USEDEP}]
-	sys-libs/libunwind:=[${MULTILIB_USEDEP}]
-	romio? ( net-fs/nfs-utils )
-"
-
-DEPEND="${COMMON_DEPEND}
-	dev-lang/perl
-	sys-devel/libtool
-"
-
-RDEPEND="${COMMON_DEPEND}
-	!sys-cluster/mpich2
-	!sys-cluster/openmpi
-	!sys-cluster/nullmpi"
-
-S="${WORKDIR}"/${PN}-${MY_PV}
-
-MULTILIB_WRAPPED_HEADERS=(
-	/usr/include/mpicxx.h
-	/usr/include/mpi.h
-	/usr/include/opa_config.h
-)
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-3.3-add-external-libdir-parameter.patch
-)
-
-src_prepare() {
-	default
-
-	# Using MPICHLIB_LDFLAGS doesn't seem to fully work.
-	sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
-		src/packaging/pkgconfig/mpich.pc.in \
-		src/env/*.in \
-		|| die
-
-	# Fix m4 files to satisfy lib dir with multilib.
-	touch -r src/pm/hydra/confdb/aclocal_libs.m4 \
-		confdb/aclocal_libs.m4 \
-		|| die
-	cp -fp confdb/aclocal_libs.m4 \
-		src/pm/hydra/confdb/aclocal_libs.m4 \
-		|| die
-	cp -fp confdb/aclocal_libs.m4 \
-		src/pm/hydra/mpl/confdb/aclocal_libs.m4 \
-		|| die
-	cd src/pm/hydra/mpl; eautoreconf; cd -
-	cd src/pm/hydra; eautoreconf; cd -
-	eautoreconf
-}
-
-multilib_src_configure() {
-	# The configure statements can be somewhat confusing, as they
-	# don't all show up in the top level configure, however, they
-	# are picked up in the children directories.  Hence the separate
-	# local vars.
-
-	local c=
-	if use mpi-threads; then
-		# MPI-THREAD requries threading.
-		c="${c} --with-thread-package=pthreads"
-		c="${c} --enable-threads=runtime"
-	else
-		if use threads ; then
-			c="${c} --with-thread-package=pthreads"
-		else
-			c="${c} --with-thread-package=none"
-		fi
-		c="${c} --enable-threads=single"
-	fi
-
-	c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
-
-	# GCC 10 compatibility workaround
-	# bug #725842
-	append-fflags $(test-flags-FC -fallow-argument-mismatch)
-
-	export MPICHLIB_CFLAGS="${CFLAGS}"
-	export MPICHLIB_CPPFLAGS="${CPPFLAGS}"
-	export MPICHLIB_CXXFLAGS="${CXXFLAGS}"
-	export MPICHLIB_FFLAGS="${FFLAGS}"
-	export MPICHLIB_FCFLAGS="${FCFLAGS}"
-	export MPICHLIB_LDFLAGS="${LDFLAGS}"
-
-	# dropped w/ bug #725842 fix
-	#unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
-
-	# Forcing Bash as there's quite a few bashisms in the build system
-	CONFIG_SHELL="${BROOT}/bin/bash" ECONF_SOURCE=${S} econf \
-		--enable-shared \
-		--with-hwloc-prefix="${EPREFIX}/usr" \
-		--with-hwloc-libdir="$(get_libdir)" \
-		--with-common-libdir="$(get_libdir)" \
-		--with-prefix-libdir="$(get_libdir)" \
-		--with-izem-libdir="$(get_libdir)" \
-		--with-fiprovider-libdir="$(get_libdir)" \
-		${c} \
-		--with-pm=hydra \
-		--disable-fast \
-		--enable-versioning \
-		$(use_enable romio) \
-		$(use_enable cxx) \
-		$(use_enable fortran fortran all)
-}
-
-multilib_src_test() {
-	emake -j1 check
-}
-
-multilib_src_install() {
-	default
-
-	# fortran header cannot be wrapped (bug #540508), workaround part 1
-	if  use fortran; then
-		if multilib_is_native_abi; then
-			mkdir "${T}"/fortran || die
-			mv "${ED}"usr/include/mpif* "${T}"/fortran || die
-			mv "${ED}"usr/include/*.mod "${T}"/fortran || die
-		else
-			rm "${ED}"usr/include/mpif* "${ED}"usr/include/*.mod || die
-		fi
-	fi
-}
-
-multilib_src_install_all() {
-	# fortran header cannot be wrapped (bug #540508), workaround part 2
-	if use fortran; then
-		mv "${T}"/fortran/* "${ED}"usr/include || die
-	fi
-
-	einstalldocs
-	newdoc src/pm/hydra/README README.hydra
-	if use romio; then
-		newdoc src/mpi/romio/README README.romio
-	fi
-
-	if ! use doc; then
-		rm -rf "${ED}"usr/share/doc/${PF}/www* || die
-	fi
-}

diff --git a/sys-cluster/mpich/mpich-3.4.2-r2.ebuild b/sys-cluster/mpich/mpich-3.4.2-r2.ebuild
deleted file mode 100644
index ddaf646f0454..000000000000
--- a/sys-cluster/mpich/mpich-3.4.2-r2.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-FORTRAN_NEEDED=fortran
-FORTRAN_STANDARD="77 90"
-
-inherit fortran-2 multilib-minimal flag-o-matic
-
-MY_PV=${PV/_/}
-DESCRIPTION="A high performance and portable MPI implementation"
-HOMEPAGE="https://www.mpich.org/"
-SRC_URI="https://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
-S="${WORKDIR}"/${PN}-${MY_PV}
-
-LICENSE="mpich2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+cxx doc fortran mpi-threads +romio threads"
-REQUIRED_USE="mpi-threads? ( threads )"
-
-COMMON_DEPEND=">=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
-	>=sys-apps/hwloc-2.0.2:=[${MULTILIB_USEDEP}]
-	sys-libs/libunwind:=[${MULTILIB_USEDEP}]
-	romio? ( net-fs/nfs-utils )"
-
-DEPEND="${COMMON_DEPEND}
-	dev-lang/perl
-	sys-devel/libtool"
-RDEPEND="${COMMON_DEPEND}
-	!sys-cluster/mpich2
-	!sys-cluster/openmpi
-	!sys-cluster/nullmpi"
-
-MULTILIB_WRAPPED_HEADERS=(
-	/usr/include/mpicxx.h
-	/usr/include/mpi.h
-	/usr/include/opa_config.h
-)
-
-#PATCHES=(
-#	"${FILESDIR}"/${PN}-3.3-add-external-libdir-parameter.patch
-#)
-
-src_prepare() {
-	default
-
-	# Using MPICHLIB_LDFLAGS doesn't seem to fully work.
-	sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
-		src/packaging/pkgconfig/mpich.pc.in \
-		src/env/*.in \
-		|| die
-
-	# Fix m4 files to satisfy lib dir with multilib.
-	#touch -r src/pm/hydra/confdb/aclocal_libs.m4 \
-	#	confdb/aclocal_libs.m4 \
-	#	|| die
-	#cp -fp confdb/aclocal_libs.m4 \
-	#	src/pm/hydra/confdb/aclocal_libs.m4 \
-	#	|| die
-	#cp -fp confdb/aclocal_libs.m4 \
-	#	src/pm/hydra/mpl/confdb/aclocal_libs.m4 \
-	#	|| die
-	#cd src/pm/hydra/mpl; eautoreconf; cd -
-	#cd src/pm/hydra; eautoreconf; cd -
-	#eautoreconf
-}
-
-multilib_src_configure() {
-	# The configure statements can be somewhat confusing, as they
-	# don't all show up in the top level configure, however, they
-	# are picked up in the children directories.  Hence the separate
-	# local vars.
-
-	local c=
-	if use mpi-threads; then
-		# MPI-THREAD requries threading.
-		c="${c} --with-thread-package=pthreads"
-		c="${c} --enable-threads=runtime"
-	else
-		if use threads ; then
-			c="${c} --with-thread-package=pthreads"
-		else
-			c="${c} --with-thread-package=none"
-		fi
-		c="${c} --enable-threads=single"
-	fi
-
-	c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
-
-	# GCC 10 compatibility workaround
-	# bug #725842
-	append-fflags $(test-flags-FC -fallow-argument-mismatch)
-
-	export MPICHLIB_CFLAGS="${CFLAGS}"
-	export MPICHLIB_CPPFLAGS="${CPPFLAGS}"
-	export MPICHLIB_CXXFLAGS="${CXXFLAGS}"
-	export MPICHLIB_FFLAGS="${FFLAGS}"
-	export MPICHLIB_FCFLAGS="${FCFLAGS}"
-	export MPICHLIB_LDFLAGS="${LDFLAGS}"
-
-	# Dropped w/ bug #725842 fix
-	#unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
-
-	# Forcing Bash as there's quite a few bashisms in the build system
-	#
-	# Note that --with-device=ch3 is preserving the old 3.3.x default
-	# - keeping it for compatibility for now.
-	CONFIG_SHELL="${BROOT}/bin/bash" ECONF_SOURCE=${S} econf \
-		--enable-shared \
-		--with-hwloc-prefix="${EPREFIX}/usr" \
-		--with-hwloc-libdir="$(get_libdir)" \
-		--with-common-libdir="$(get_libdir)" \
-		--with-prefix-libdir="$(get_libdir)" \
-		--with-izem-libdir="$(get_libdir)" \
-		--with-fiprovider-libdir="$(get_libdir)" \
-		${c} \
-		--with-pm=hydra \
-		--without-ze \
-		--with-device=ch3 \
-		--disable-fast \
-		--enable-versioning \
-		$(use_enable romio) \
-		$(use_enable cxx) \
-		$(use_enable fortran fortran all)
-}
-
-multilib_src_test() {
-	emake -j1 check
-}
-
-multilib_src_install() {
-	default
-
-	# fortran header cannot be wrapped (bug #540508), workaround part 1
-	if  use fortran; then
-		if multilib_is_native_abi; then
-			mkdir "${T}"/fortran || die
-			mv "${ED}"/usr/include/mpif* "${T}"/fortran || die
-			mv "${ED}"/usr/include/*.mod "${T}"/fortran || die
-		else
-			rm "${ED}"/usr/include/mpif* "${ED}"/usr/include/*.mod || die
-		fi
-	fi
-}
-
-multilib_src_install_all() {
-	# Fortran header cannot be wrapped (bug #540508), workaround part 2
-	if use fortran; then
-		mv "${T}"/fortran/* "${ED}"/usr/include || die
-	fi
-
-	einstalldocs
-	newdoc src/pm/hydra/README README.hydra
-	if use romio; then
-		newdoc src/mpi/romio/README README.romio
-	fi
-
-	if ! use doc; then
-		rm -rf "${ED}"/usr/share/doc/${PF}/www* || die
-	fi
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2021-12-18  8:08 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2021-12-18  8:08 UTC (permalink / raw
  To: gentoo-commits

commit:     f61d960a2afabe865154df83397cd17d944f8065
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 18 07:52:49 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 18 07:52:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f61d960a

sys-cluster/mpich: fix build (--without-ze)

Closes: https://bugs.gentoo.org/822837
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/mpich/{mpich-3.4.2-r1.ebuild => mpich-3.4.2-r2.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-cluster/mpich/mpich-3.4.2-r1.ebuild b/sys-cluster/mpich/mpich-3.4.2-r2.ebuild
similarity index 99%
rename from sys-cluster/mpich/mpich-3.4.2-r1.ebuild
rename to sys-cluster/mpich/mpich-3.4.2-r2.ebuild
index 403ac8cf2eeb..ddaf646f0454 100644
--- a/sys-cluster/mpich/mpich-3.4.2-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.4.2-r2.ebuild
@@ -117,6 +117,7 @@ multilib_src_configure() {
 		--with-fiprovider-libdir="$(get_libdir)" \
 		${c} \
 		--with-pm=hydra \
+		--without-ze \
 		--with-device=ch3 \
 		--disable-fast \
 		--enable-versioning \


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2021-12-18  8:08 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2021-12-18  8:08 UTC (permalink / raw
  To: gentoo-commits

commit:     3573843ade094597bc985e0641d9144c1e74c5b2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 18 08:05:11 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 18 08:05:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3573843a

sys-cluster/mpich: add 3.4.3

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/mpich/Manifest           |   1 +
 sys-cluster/mpich/mpich-3.4.3.ebuild | 163 +++++++++++++++++++++++++++++++++++
 2 files changed, 164 insertions(+)

diff --git a/sys-cluster/mpich/Manifest b/sys-cluster/mpich/Manifest
index 8cba7427970e..51b648126996 100644
--- a/sys-cluster/mpich/Manifest
+++ b/sys-cluster/mpich/Manifest
@@ -1,3 +1,4 @@
 DIST mpich-3.0.4.tar.gz 10921075 BLAKE2B 341aaac23277aed05a4448ea03d9caf1ee14cfe327a770c95d620fc1ee1ea7bfa6df36860aa44aad162eb6d630d35fdfb30ae9a866d67680ab71c7b4326c109c SHA512 f9d8b2cf561fe5f85c12512ef4dd7b0cf5ec8b53ddb07bfa0d1db2e3c8ae0382c77e0661f46b82ec96b05d18ea2d25328bb84e9528ac06e5925f30ec8ef030d0
 DIST mpich-3.3.tar.gz 27209008 BLAKE2B 3010f847456ed71a27e728b91887e04303a83b4abea883bf73d9794ff697052efe3bccd238933dc6e5fbc75e0be36004f1ae9fc7695a4e8887984552ae005917 SHA512 1ed6d8d30db4923fd1bd39b6e9622f0db939a45edf8d9f8bdbccfa619fde7fb920c5a0d3f2442f0dd63cf8fda823dbd2983ac5f7c16308bc79e04f61d8e119be
 DIST mpich-3.4.2.tar.gz 32850822 BLAKE2B cbbb7d8b3c6db31c9ee8f59e6a386c000480a738819c8b4398e1299c0fdfce28649a3ebc868aa48517476d0b49d4d58e66407f2116708c3d9e61ce43f6e1c32b SHA512 5f5389071c7d275a864df16aedd19f2b925c9b9ad3b304f9c9f99b5808f6b82def775b4191c03cdd3288c5e4478a40a2aae22c3cf2aabe82be1dd612efd7f2a6
+DIST mpich-3.4.3.tar.gz 32853411 BLAKE2B 889f8d4077cd9e8a727e46431ad505b2a17d7391dec00910254d8dbdbc992e2df92efd355d290881fb3a73966bf3504b6942003f88041669c16a8aa142c2dab2 SHA512 d8455a3e7150dc720ba8a0660bfbbec364b62729f4a319928bb910644d20ee68d267baf9e9e2c322540a725e41858b416ed5fff001fb1f6aa45d1c08db8dad1a

diff --git a/sys-cluster/mpich/mpich-3.4.3.ebuild b/sys-cluster/mpich/mpich-3.4.3.ebuild
new file mode 100644
index 000000000000..ddaf646f0454
--- /dev/null
+++ b/sys-cluster/mpich/mpich-3.4.3.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+FORTRAN_NEEDED=fortran
+FORTRAN_STANDARD="77 90"
+
+inherit fortran-2 multilib-minimal flag-o-matic
+
+MY_PV=${PV/_/}
+DESCRIPTION="A high performance and portable MPI implementation"
+HOMEPAGE="https://www.mpich.org/"
+SRC_URI="https://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${MY_PV}
+
+LICENSE="mpich2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+cxx doc fortran mpi-threads +romio threads"
+REQUIRED_USE="mpi-threads? ( threads )"
+
+COMMON_DEPEND=">=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
+	>=sys-apps/hwloc-2.0.2:=[${MULTILIB_USEDEP}]
+	sys-libs/libunwind:=[${MULTILIB_USEDEP}]
+	romio? ( net-fs/nfs-utils )"
+
+DEPEND="${COMMON_DEPEND}
+	dev-lang/perl
+	sys-devel/libtool"
+RDEPEND="${COMMON_DEPEND}
+	!sys-cluster/mpich2
+	!sys-cluster/openmpi
+	!sys-cluster/nullmpi"
+
+MULTILIB_WRAPPED_HEADERS=(
+	/usr/include/mpicxx.h
+	/usr/include/mpi.h
+	/usr/include/opa_config.h
+)
+
+#PATCHES=(
+#	"${FILESDIR}"/${PN}-3.3-add-external-libdir-parameter.patch
+#)
+
+src_prepare() {
+	default
+
+	# Using MPICHLIB_LDFLAGS doesn't seem to fully work.
+	sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
+		src/packaging/pkgconfig/mpich.pc.in \
+		src/env/*.in \
+		|| die
+
+	# Fix m4 files to satisfy lib dir with multilib.
+	#touch -r src/pm/hydra/confdb/aclocal_libs.m4 \
+	#	confdb/aclocal_libs.m4 \
+	#	|| die
+	#cp -fp confdb/aclocal_libs.m4 \
+	#	src/pm/hydra/confdb/aclocal_libs.m4 \
+	#	|| die
+	#cp -fp confdb/aclocal_libs.m4 \
+	#	src/pm/hydra/mpl/confdb/aclocal_libs.m4 \
+	#	|| die
+	#cd src/pm/hydra/mpl; eautoreconf; cd -
+	#cd src/pm/hydra; eautoreconf; cd -
+	#eautoreconf
+}
+
+multilib_src_configure() {
+	# The configure statements can be somewhat confusing, as they
+	# don't all show up in the top level configure, however, they
+	# are picked up in the children directories.  Hence the separate
+	# local vars.
+
+	local c=
+	if use mpi-threads; then
+		# MPI-THREAD requries threading.
+		c="${c} --with-thread-package=pthreads"
+		c="${c} --enable-threads=runtime"
+	else
+		if use threads ; then
+			c="${c} --with-thread-package=pthreads"
+		else
+			c="${c} --with-thread-package=none"
+		fi
+		c="${c} --enable-threads=single"
+	fi
+
+	c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
+
+	# GCC 10 compatibility workaround
+	# bug #725842
+	append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
+	export MPICHLIB_CFLAGS="${CFLAGS}"
+	export MPICHLIB_CPPFLAGS="${CPPFLAGS}"
+	export MPICHLIB_CXXFLAGS="${CXXFLAGS}"
+	export MPICHLIB_FFLAGS="${FFLAGS}"
+	export MPICHLIB_FCFLAGS="${FCFLAGS}"
+	export MPICHLIB_LDFLAGS="${LDFLAGS}"
+
+	# Dropped w/ bug #725842 fix
+	#unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
+
+	# Forcing Bash as there's quite a few bashisms in the build system
+	#
+	# Note that --with-device=ch3 is preserving the old 3.3.x default
+	# - keeping it for compatibility for now.
+	CONFIG_SHELL="${BROOT}/bin/bash" ECONF_SOURCE=${S} econf \
+		--enable-shared \
+		--with-hwloc-prefix="${EPREFIX}/usr" \
+		--with-hwloc-libdir="$(get_libdir)" \
+		--with-common-libdir="$(get_libdir)" \
+		--with-prefix-libdir="$(get_libdir)" \
+		--with-izem-libdir="$(get_libdir)" \
+		--with-fiprovider-libdir="$(get_libdir)" \
+		${c} \
+		--with-pm=hydra \
+		--without-ze \
+		--with-device=ch3 \
+		--disable-fast \
+		--enable-versioning \
+		$(use_enable romio) \
+		$(use_enable cxx) \
+		$(use_enable fortran fortran all)
+}
+
+multilib_src_test() {
+	emake -j1 check
+}
+
+multilib_src_install() {
+	default
+
+	# fortran header cannot be wrapped (bug #540508), workaround part 1
+	if  use fortran; then
+		if multilib_is_native_abi; then
+			mkdir "${T}"/fortran || die
+			mv "${ED}"/usr/include/mpif* "${T}"/fortran || die
+			mv "${ED}"/usr/include/*.mod "${T}"/fortran || die
+		else
+			rm "${ED}"/usr/include/mpif* "${ED}"/usr/include/*.mod || die
+		fi
+	fi
+}
+
+multilib_src_install_all() {
+	# Fortran header cannot be wrapped (bug #540508), workaround part 2
+	if use fortran; then
+		mv "${T}"/fortran/* "${ED}"/usr/include || die
+	fi
+
+	einstalldocs
+	newdoc src/pm/hydra/README README.hydra
+	if use romio; then
+		newdoc src/mpi/romio/README README.romio
+	fi
+
+	if ! use doc; then
+		rm -rf "${ED}"/usr/share/doc/${PF}/www* || die
+	fi
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2021-10-29 22:44 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2021-10-29 22:44 UTC (permalink / raw
  To: gentoo-commits

commit:     8eeec886eb07e1652da5411c9d1b4d3e2468700e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 22:40:50 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 22:43:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eeec886

sys-cluster/mpich: add hwloc subslot operator

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/mpich/{mpich-3.0.4-r1.ebuild => mpich-3.0.4-r2.ebuild} | 2 +-
 sys-cluster/mpich/{mpich-3.3-r1.ebuild => mpich-3.3-r2.ebuild}     | 4 ++--
 sys-cluster/mpich/{mpich-3.4.2.ebuild => mpich-3.4.2-r1.ebuild}    | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-cluster/mpich/mpich-3.0.4-r1.ebuild b/sys-cluster/mpich/mpich-3.0.4-r2.ebuild
similarity index 99%
rename from sys-cluster/mpich/mpich-3.0.4-r1.ebuild
rename to sys-cluster/mpich/mpich-3.0.4-r2.ebuild
index 8d5657d5993..8a215eacfc6 100644
--- a/sys-cluster/mpich/mpich-3.0.4-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.0.4-r2.ebuild
@@ -19,7 +19,7 @@ IUSE="+cxx doc fortran mpi-threads romio threads"
 
 COMMON_DEPEND="
 	dev-libs/libaio
-	<sys-apps/hwloc-2
+	<sys-apps/hwloc-2:=
 	romio? ( net-fs/nfs-utils )"
 
 DEPEND="${COMMON_DEPEND}

diff --git a/sys-cluster/mpich/mpich-3.3-r1.ebuild b/sys-cluster/mpich/mpich-3.3-r2.ebuild
similarity index 97%
rename from sys-cluster/mpich/mpich-3.3-r1.ebuild
rename to sys-cluster/mpich/mpich-3.3-r2.ebuild
index f3cd4b9f84d..e8ae27f50de 100644
--- a/sys-cluster/mpich/mpich-3.3-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.3-r2.ebuild
@@ -21,8 +21,8 @@ REQUIRED_USE="mpi-threads? ( threads )"
 
 COMMON_DEPEND="
 	>=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
-	>=sys-apps/hwloc-2.0.2[${MULTILIB_USEDEP}]
-	sys-libs/libunwind[${MULTILIB_USEDEP}]
+	>=sys-apps/hwloc-2.0.2:=[${MULTILIB_USEDEP}]
+	sys-libs/libunwind:=[${MULTILIB_USEDEP}]
 	romio? ( net-fs/nfs-utils )
 "
 

diff --git a/sys-cluster/mpich/mpich-3.4.2.ebuild b/sys-cluster/mpich/mpich-3.4.2-r1.ebuild
similarity index 97%
rename from sys-cluster/mpich/mpich-3.4.2.ebuild
rename to sys-cluster/mpich/mpich-3.4.2-r1.ebuild
index 21539e686ec..403ac8cf2ee 100644
--- a/sys-cluster/mpich/mpich-3.4.2.ebuild
+++ b/sys-cluster/mpich/mpich-3.4.2-r1.ebuild
@@ -21,8 +21,8 @@ IUSE="+cxx doc fortran mpi-threads +romio threads"
 REQUIRED_USE="mpi-threads? ( threads )"
 
 COMMON_DEPEND=">=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
-	>=sys-apps/hwloc-2.0.2[${MULTILIB_USEDEP}]
-	sys-libs/libunwind[${MULTILIB_USEDEP}]
+	>=sys-apps/hwloc-2.0.2:=[${MULTILIB_USEDEP}]
+	sys-libs/libunwind:=[${MULTILIB_USEDEP}]
 	romio? ( net-fs/nfs-utils )"
 
 DEPEND="${COMMON_DEPEND}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2021-10-15 22:01 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2021-10-15 22:01 UTC (permalink / raw
  To: gentoo-commits

commit:     2772ce712ccef6d9ae6196d5a84615d9c56b7811
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 15 22:01:20 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 15 22:01:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2772ce71

sys-cluster/mpich: add -fcommon for 3.0.4-r1

I can't reproduce this but it builds
with this anyway.

Closes: https://bugs.gentoo.org/818280
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.0.4-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-cluster/mpich/mpich-3.0.4-r1.ebuild b/sys-cluster/mpich/mpich-3.0.4-r1.ebuild
index 08d63fd1943..8d5657d5993 100644
--- a/sys-cluster/mpich/mpich-3.0.4-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.0.4-r1.ebuild
@@ -85,6 +85,9 @@ src_configure() {
 	# dropped w/ bug #725842 fix
 	#unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
 
+	# Possible workaround for bug #818280
+	append-flags -fcommon
+
 	# Forcing Bash as there's quite a few bashisms in the build system
 	CONFIG_SHELL="${BROOT}/bin/bash" econf ${c} \
 		--with-pm=hydra \


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2021-10-15 21:43 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2021-10-15 21:43 UTC (permalink / raw
  To: gentoo-commits

commit:     19b02b8468d4c21a109ff76ed84b0f933b797560
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 15 21:41:14 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 15 21:43:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19b02b84

sys-cluster/mpich: restore missing configure option

Bug: https://bugs.gentoo.org/815427
Bug: https://bugs.gentoo.org/show_bug.cgi?id=815424
Bug: https://bugs.gentoo.org/show_bug.cgi?id=815166
Bug: https://bugs.gentoo.org/show_bug.cgi?id=814776
Bug: https://bugs.gentoo.org/show_bug.cgi?id=814587
Bug: https://bugs.gentoo.org/show_bug.cgi?id=814584
Bug: https://bugs.gentoo.org/show_bug.cgi?id=814581
Closes: https://bugs.gentoo.org/show_bug.cgi?id=814548
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/sys-cluster/mpich/mpich-3.0.4.ebuild b/sys-cluster/mpich/mpich-3.0.4-r1.ebuild
similarity index 98%
rename from sys-cluster/mpich/mpich-3.0.4.ebuild
rename to sys-cluster/mpich/mpich-3.0.4-r1.ebuild
index 828fec76358..08d63fd1943 100644
--- a/sys-cluster/mpich/mpich-3.0.4.ebuild
+++ b/sys-cluster/mpich/mpich-3.0.4-r1.ebuild
@@ -86,7 +86,7 @@ src_configure() {
 	#unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
 
 	# 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 \


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2021-10-13  5:26 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2021-10-13  5:26 UTC (permalink / raw
  To: gentoo-commits

commit:     cbc37751200389ef4067f1e71b06e09198ea94fc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 13 05:25:55 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 13 05:26:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbc37751

sys-cluster/mpich: tidy up ebuild a bit

Bug: https://bugs.gentoo.org/808219
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.4.2.ebuild | 42 +++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 22 deletions(-)

diff --git a/sys-cluster/mpich/mpich-3.4.2.ebuild b/sys-cluster/mpich/mpich-3.4.2.ebuild
index d6e74a25650..21539e686ec 100644
--- a/sys-cluster/mpich/mpich-3.4.2.ebuild
+++ b/sys-cluster/mpich/mpich-3.4.2.ebuild
@@ -1,43 +1,38 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 FORTRAN_NEEDED=fortran
 FORTRAN_STANDARD="77 90"
 
-inherit fortran-2 multilib-minimal multilib flag-o-matic autotools
+inherit fortran-2 multilib-minimal flag-o-matic
 
 MY_PV=${PV/_/}
 DESCRIPTION="A high performance and portable MPI implementation"
-HOMEPAGE="http://www.mpich.org/"
-SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
+HOMEPAGE="https://www.mpich.org/"
+SRC_URI="https://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${MY_PV}
 
-SLOT="0"
 LICENSE="mpich2"
+SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="+cxx doc fortran mpi-threads +romio threads"
 REQUIRED_USE="mpi-threads? ( threads )"
 
-COMMON_DEPEND="
-	>=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
+COMMON_DEPEND=">=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
 	>=sys-apps/hwloc-2.0.2[${MULTILIB_USEDEP}]
 	sys-libs/libunwind[${MULTILIB_USEDEP}]
-	romio? ( net-fs/nfs-utils )
-"
+	romio? ( net-fs/nfs-utils )"
 
 DEPEND="${COMMON_DEPEND}
 	dev-lang/perl
-	sys-devel/libtool
-"
-
+	sys-devel/libtool"
 RDEPEND="${COMMON_DEPEND}
 	!sys-cluster/mpich2
 	!sys-cluster/openmpi
 	!sys-cluster/nullmpi"
 
-S="${WORKDIR}"/${PN}-${MY_PV}
-
 MULTILIB_WRAPPED_HEADERS=(
 	/usr/include/mpicxx.h
 	/usr/include/mpi.h
@@ -105,10 +100,13 @@ multilib_src_configure() {
 	export MPICHLIB_FCFLAGS="${FCFLAGS}"
 	export MPICHLIB_LDFLAGS="${LDFLAGS}"
 
-	# dropped w/ bug #725842 fix
+	# Dropped w/ bug #725842 fix
 	#unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
 
 	# Forcing Bash as there's quite a few bashisms in the build system
+	#
+	# Note that --with-device=ch3 is preserving the old 3.3.x default
+	# - keeping it for compatibility for now.
 	CONFIG_SHELL="${BROOT}/bin/bash" ECONF_SOURCE=${S} econf \
 		--enable-shared \
 		--with-hwloc-prefix="${EPREFIX}/usr" \
@@ -119,7 +117,7 @@ multilib_src_configure() {
 		--with-fiprovider-libdir="$(get_libdir)" \
 		${c} \
 		--with-pm=hydra \
-		 --with-device=ch3 \
+		--with-device=ch3 \
 		--disable-fast \
 		--enable-versioning \
 		$(use_enable romio) \
@@ -138,18 +136,18 @@ multilib_src_install() {
 	if  use fortran; then
 		if multilib_is_native_abi; then
 			mkdir "${T}"/fortran || die
-			mv "${ED}"usr/include/mpif* "${T}"/fortran || die
-			mv "${ED}"usr/include/*.mod "${T}"/fortran || die
+			mv "${ED}"/usr/include/mpif* "${T}"/fortran || die
+			mv "${ED}"/usr/include/*.mod "${T}"/fortran || die
 		else
-			rm "${ED}"usr/include/mpif* "${ED}"usr/include/*.mod || die
+			rm "${ED}"/usr/include/mpif* "${ED}"/usr/include/*.mod || die
 		fi
 	fi
 }
 
 multilib_src_install_all() {
-	# fortran header cannot be wrapped (bug #540508), workaround part 2
+	# Fortran header cannot be wrapped (bug #540508), workaround part 2
 	if use fortran; then
-		mv "${T}"/fortran/* "${ED}"usr/include || die
+		mv "${T}"/fortran/* "${ED}"/usr/include || die
 	fi
 
 	einstalldocs
@@ -159,6 +157,6 @@ multilib_src_install_all() {
 	fi
 
 	if ! use doc; then
-		rm -rf "${ED}"usr/share/doc/${PF}/www* || die
+		rm -rf "${ED}"/usr/share/doc/${PF}/www* || die
 	fi
 }


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2021-10-13  5:12 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2021-10-13  5:12 UTC (permalink / raw
  To: gentoo-commits

commit:     e8d185b273bb394cdcde5d156d8b8a6106d3b5cd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 13 05:11:41 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 13 05:12:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8d185b2

sys-cluster/mpich: add 3.4.2

No expert on MPI but at least this builds!

Closes: https://bugs.gentoo.org/808219
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/mpich/Manifest           |   1 +
 sys-cluster/mpich/mpich-3.4.2.ebuild | 164 +++++++++++++++++++++++++++++++++++
 2 files changed, 165 insertions(+)

diff --git a/sys-cluster/mpich/Manifest b/sys-cluster/mpich/Manifest
index ee2a89453a2..8cba7427970 100644
--- a/sys-cluster/mpich/Manifest
+++ b/sys-cluster/mpich/Manifest
@@ -1,2 +1,3 @@
 DIST mpich-3.0.4.tar.gz 10921075 BLAKE2B 341aaac23277aed05a4448ea03d9caf1ee14cfe327a770c95d620fc1ee1ea7bfa6df36860aa44aad162eb6d630d35fdfb30ae9a866d67680ab71c7b4326c109c SHA512 f9d8b2cf561fe5f85c12512ef4dd7b0cf5ec8b53ddb07bfa0d1db2e3c8ae0382c77e0661f46b82ec96b05d18ea2d25328bb84e9528ac06e5925f30ec8ef030d0
 DIST mpich-3.3.tar.gz 27209008 BLAKE2B 3010f847456ed71a27e728b91887e04303a83b4abea883bf73d9794ff697052efe3bccd238933dc6e5fbc75e0be36004f1ae9fc7695a4e8887984552ae005917 SHA512 1ed6d8d30db4923fd1bd39b6e9622f0db939a45edf8d9f8bdbccfa619fde7fb920c5a0d3f2442f0dd63cf8fda823dbd2983ac5f7c16308bc79e04f61d8e119be
+DIST mpich-3.4.2.tar.gz 32850822 BLAKE2B cbbb7d8b3c6db31c9ee8f59e6a386c000480a738819c8b4398e1299c0fdfce28649a3ebc868aa48517476d0b49d4d58e66407f2116708c3d9e61ce43f6e1c32b SHA512 5f5389071c7d275a864df16aedd19f2b925c9b9ad3b304f9c9f99b5808f6b82def775b4191c03cdd3288c5e4478a40a2aae22c3cf2aabe82be1dd612efd7f2a6

diff --git a/sys-cluster/mpich/mpich-3.4.2.ebuild b/sys-cluster/mpich/mpich-3.4.2.ebuild
new file mode 100644
index 00000000000..d6e74a25650
--- /dev/null
+++ b/sys-cluster/mpich/mpich-3.4.2.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FORTRAN_NEEDED=fortran
+FORTRAN_STANDARD="77 90"
+
+inherit fortran-2 multilib-minimal multilib flag-o-matic autotools
+
+MY_PV=${PV/_/}
+DESCRIPTION="A high performance and portable MPI implementation"
+HOMEPAGE="http://www.mpich.org/"
+SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.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"
+REQUIRED_USE="mpi-threads? ( threads )"
+
+COMMON_DEPEND="
+	>=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
+	>=sys-apps/hwloc-2.0.2[${MULTILIB_USEDEP}]
+	sys-libs/libunwind[${MULTILIB_USEDEP}]
+	romio? ( net-fs/nfs-utils )
+"
+
+DEPEND="${COMMON_DEPEND}
+	dev-lang/perl
+	sys-devel/libtool
+"
+
+RDEPEND="${COMMON_DEPEND}
+	!sys-cluster/mpich2
+	!sys-cluster/openmpi
+	!sys-cluster/nullmpi"
+
+S="${WORKDIR}"/${PN}-${MY_PV}
+
+MULTILIB_WRAPPED_HEADERS=(
+	/usr/include/mpicxx.h
+	/usr/include/mpi.h
+	/usr/include/opa_config.h
+)
+
+#PATCHES=(
+#	"${FILESDIR}"/${PN}-3.3-add-external-libdir-parameter.patch
+#)
+
+src_prepare() {
+	default
+
+	# Using MPICHLIB_LDFLAGS doesn't seem to fully work.
+	sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
+		src/packaging/pkgconfig/mpich.pc.in \
+		src/env/*.in \
+		|| die
+
+	# Fix m4 files to satisfy lib dir with multilib.
+	#touch -r src/pm/hydra/confdb/aclocal_libs.m4 \
+	#	confdb/aclocal_libs.m4 \
+	#	|| die
+	#cp -fp confdb/aclocal_libs.m4 \
+	#	src/pm/hydra/confdb/aclocal_libs.m4 \
+	#	|| die
+	#cp -fp confdb/aclocal_libs.m4 \
+	#	src/pm/hydra/mpl/confdb/aclocal_libs.m4 \
+	#	|| die
+	#cd src/pm/hydra/mpl; eautoreconf; cd -
+	#cd src/pm/hydra; eautoreconf; cd -
+	#eautoreconf
+}
+
+multilib_src_configure() {
+	# The configure statements can be somewhat confusing, as they
+	# don't all show up in the top level configure, however, they
+	# are picked up in the children directories.  Hence the separate
+	# local vars.
+
+	local c=
+	if use mpi-threads; then
+		# MPI-THREAD requries threading.
+		c="${c} --with-thread-package=pthreads"
+		c="${c} --enable-threads=runtime"
+	else
+		if use threads ; then
+			c="${c} --with-thread-package=pthreads"
+		else
+			c="${c} --with-thread-package=none"
+		fi
+		c="${c} --enable-threads=single"
+	fi
+
+	c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
+
+	# GCC 10 compatibility workaround
+	# bug #725842
+	append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
+	export MPICHLIB_CFLAGS="${CFLAGS}"
+	export MPICHLIB_CPPFLAGS="${CPPFLAGS}"
+	export MPICHLIB_CXXFLAGS="${CXXFLAGS}"
+	export MPICHLIB_FFLAGS="${FFLAGS}"
+	export MPICHLIB_FCFLAGS="${FCFLAGS}"
+	export MPICHLIB_LDFLAGS="${LDFLAGS}"
+
+	# dropped w/ bug #725842 fix
+	#unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
+
+	# Forcing Bash as there's quite a few bashisms in the build system
+	CONFIG_SHELL="${BROOT}/bin/bash" ECONF_SOURCE=${S} econf \
+		--enable-shared \
+		--with-hwloc-prefix="${EPREFIX}/usr" \
+		--with-hwloc-libdir="$(get_libdir)" \
+		--with-common-libdir="$(get_libdir)" \
+		--with-prefix-libdir="$(get_libdir)" \
+		--with-izem-libdir="$(get_libdir)" \
+		--with-fiprovider-libdir="$(get_libdir)" \
+		${c} \
+		--with-pm=hydra \
+		 --with-device=ch3 \
+		--disable-fast \
+		--enable-versioning \
+		$(use_enable romio) \
+		$(use_enable cxx) \
+		$(use_enable fortran fortran all)
+}
+
+multilib_src_test() {
+	emake -j1 check
+}
+
+multilib_src_install() {
+	default
+
+	# fortran header cannot be wrapped (bug #540508), workaround part 1
+	if  use fortran; then
+		if multilib_is_native_abi; then
+			mkdir "${T}"/fortran || die
+			mv "${ED}"usr/include/mpif* "${T}"/fortran || die
+			mv "${ED}"usr/include/*.mod "${T}"/fortran || die
+		else
+			rm "${ED}"usr/include/mpif* "${ED}"usr/include/*.mod || die
+		fi
+	fi
+}
+
+multilib_src_install_all() {
+	# fortran header cannot be wrapped (bug #540508), workaround part 2
+	if use fortran; then
+		mv "${T}"/fortran/* "${ED}"usr/include || die
+	fi
+
+	einstalldocs
+	newdoc src/pm/hydra/README README.hydra
+	if use romio; then
+		newdoc src/mpi/romio/README README.romio
+	fi
+
+	if ! use doc; then
+		rm -rf "${ED}"usr/share/doc/${PF}/www* || die
+	fi
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2021-09-23 20:36 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2021-09-23 20:36 UTC (permalink / raw
  To: gentoo-commits

commit:     146fff709a4168bd9011831dfb64ff3a021855e9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 23 20:36:31 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 23 20:36:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=146fff70

sys-cluster/mpich: workaround build failure with GCC 10 (stable)

Bug: https://bugs.gentoo.org/725842
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.0.4.ebuild | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/mpich/mpich-3.0.4.ebuild b/sys-cluster/mpich/mpich-3.0.4.ebuild
index 15abf189bc8..828fec76358 100644
--- a/sys-cluster/mpich/mpich-3.0.4.ebuild
+++ b/sys-cluster/mpich/mpich-3.0.4.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 FORTRAN_NEEDED=fortran
 
-inherit fortran-2
+inherit fortran-2 flag-o-matic
 
 MY_PV=${PV/_/}
 DESCRIPTION="A high performance and portable MPI implementation"
@@ -72,15 +72,21 @@ src_configure() {
 	c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
 	c="${c} --docdir=${EPREFIX}/usr/share/doc/${PF}"
 
+	# GCC 10 compatibility workaround
+	# bug #725842
+	append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
 	export MPICHLIB_CFLAGS=${CFLAGS}
 	export MPICHLIB_CPPFLAGS=${CPPFLAGS}
 	export MPICHLIB_CXXFLAGS=${CXXFLAGS}
 	export MPICHLIB_FFLAGS=${FFLAGS}
 	export MPICHLIB_FCFLAGS=${FCFLAGS}
 	export MPICHLIB_LDFLAGS=${LDFLAGS}
-	unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
+	# dropped w/ bug #725842 fix
+	#unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
 
-	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 \


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2021-09-23 20:31 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2021-09-23 20:31 UTC (permalink / raw
  To: gentoo-commits

commit:     14d08304513db0d19e6b4720d747fbce302074c3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 23 20:20:51 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 23 20:31:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d08304

sys-cluster/mpich: workaround build failure with GCC 10

Closes: https://bugs.gentoo.org/725842
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.3-r1.ebuild | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/mpich/mpich-3.3-r1.ebuild b/sys-cluster/mpich/mpich-3.3-r1.ebuild
index 5aab7b8bb09..f3cd4b9f84d 100644
--- a/sys-cluster/mpich/mpich-3.3-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.3-r1.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=6
@@ -6,7 +6,7 @@ EAPI=6
 FORTRAN_NEEDED=fortran
 FORTRAN_STANDARD="77 90"
 
-inherit fortran-2 multilib-minimal multilib autotools
+inherit fortran-2 multilib-minimal multilib flag-o-matic autotools
 
 MY_PV=${PV/_/}
 DESCRIPTION="A high performance and portable MPI implementation"
@@ -94,15 +94,22 @@ multilib_src_configure() {
 
 	c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
 
+	# GCC 10 compatibility workaround
+	# bug #725842
+	append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
 	export MPICHLIB_CFLAGS="${CFLAGS}"
 	export MPICHLIB_CPPFLAGS="${CPPFLAGS}"
 	export MPICHLIB_CXXFLAGS="${CXXFLAGS}"
 	export MPICHLIB_FFLAGS="${FFLAGS}"
 	export MPICHLIB_FCFLAGS="${FCFLAGS}"
 	export MPICHLIB_LDFLAGS="${LDFLAGS}"
-	unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
 
-	ECONF_SOURCE=${S} econf \
+	# dropped w/ bug #725842 fix
+	#unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
+
+	# Forcing Bash as there's quite a few bashisms in the build system
+	CONFIG_SHELL="${BROOT}/bin/bash" ECONF_SOURCE=${S} econf \
 		--enable-shared \
 		--with-hwloc-prefix="${EPREFIX}/usr" \
 		--with-hwloc-libdir="$(get_libdir)" \


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2020-12-21 19:34 Jonas Stein
  0 siblings, 0 replies; 36+ messages in thread
From: Jonas Stein @ 2020-12-21 19:34 UTC (permalink / raw
  To: gentoo-commits

commit:     fe02b5be2a62ce4b7d5f41e2d56d4db3c1a5f416
Author:     Jonas Stein <jstein <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 21 19:33:41 2020 +0000
Commit:     Jonas Stein <jstein <AT> gentoo <DOT> org>
CommitDate: Mon Dec 21 19:33:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe02b5be

sys-cluster/mpich: drop maintainer

balaji <AT> mcs... has no bugzilla account and was likely added as
package maintainer by mistake. No commits since we use git.

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Jonas Stein <jstein <AT> gentoo.org>

 sys-cluster/mpich/metadata.xml | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/sys-cluster/mpich/metadata.xml b/sys-cluster/mpich/metadata.xml
index 6884ae20d36..d943200fcdc 100644
--- a/sys-cluster/mpich/metadata.xml
+++ b/sys-cluster/mpich/metadata.xml
@@ -1,11 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="person">
-		<email>balaji@mcs.anl.gov</email>
-		<name>Pavan Balaji</name>
-		<description>Upstream Contact</description>
-	</maintainer>
 	<maintainer type="project">
 		<email>cluster@gentoo.org</email>
 		<name>Gentoo Cluster Project</name>


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2020-11-14 22:47 David Seifert
  0 siblings, 0 replies; 36+ messages in thread
From: David Seifert @ 2020-11-14 22:47 UTC (permalink / raw
  To: gentoo-commits

commit:     4ace770098e8e3bc0880c2845c6c427223d7fd8b
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sat Nov 14 22:47:16 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 14 22:47:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ace7700

sys-cluster/mpich: various fixes

* mpi-threads forces threads
* fix automagic dependency on libunwind
* build with romio by default

Bug: https://bugs.gentoo.org/686134
Closes: https://github.com/gentoo/gentoo/pull/18085
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-cluster/mpich/{mpich-3.3.ebuild => mpich-3.3-r1.ebuild} | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/mpich/mpich-3.3.ebuild b/sys-cluster/mpich/mpich-3.3-r1.ebuild
similarity index 95%
rename from sys-cluster/mpich/mpich-3.3.ebuild
rename to sys-cluster/mpich/mpich-3.3-r1.ebuild
index 7f8f685b41a..5aab7b8bb09 100644
--- a/sys-cluster/mpich/mpich-3.3.ebuild
+++ b/sys-cluster/mpich/mpich-3.3-r1.ebuild
@@ -16,16 +16,20 @@ SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.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"
+IUSE="+cxx doc fortran mpi-threads +romio threads"
+REQUIRED_USE="mpi-threads? ( threads )"
 
 COMMON_DEPEND="
 	>=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
 	>=sys-apps/hwloc-2.0.2[${MULTILIB_USEDEP}]
-	romio? ( net-fs/nfs-utils )"
+	sys-libs/libunwind[${MULTILIB_USEDEP}]
+	romio? ( net-fs/nfs-utils )
+"
 
 DEPEND="${COMMON_DEPEND}
 	dev-lang/perl
-	sys-devel/libtool"
+	sys-devel/libtool
+"
 
 RDEPEND="${COMMON_DEPEND}
 	!sys-cluster/mpich2


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2019-09-04 14:21 Justin Bronder
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Bronder @ 2019-09-04 14:21 UTC (permalink / raw
  To: gentoo-commits

commit:     c98ff5431eebfcb160a6eb7743daf41e39522483
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  4 14:01:15 2019 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 14:20:51 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c98ff543

sys-cluster/mpich: remove jsbronder as maintainer

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

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

diff --git a/sys-cluster/mpich/metadata.xml b/sys-cluster/mpich/metadata.xml
index 6cbe440faf2..6884ae20d36 100644
--- a/sys-cluster/mpich/metadata.xml
+++ b/sys-cluster/mpich/metadata.xml
@@ -1,10 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="person">
-		<email>jsbronder@gentoo.org</email>
-		<name>Justin Bronder</name>
-	</maintainer>
 	<maintainer type="person">
 		<email>balaji@mcs.anl.gov</email>
 		<name>Pavan Balaji</name>


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2019-04-15 14:53 Justin Bronder
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Bronder @ 2019-04-15 14:53 UTC (permalink / raw
  To: gentoo-commits

commit:     749d4bc2ae7b988259d652e444e128b52ef57611
Author:     Jian Cao <sworden.cao <AT> gmail <DOT> com>
AuthorDate: Sun Apr  7 18:20:17 2019 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Apr 15 14:53:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=749d4bc2

sys-cluster/mpich: Enable fortran for multilib

Closes: https://bugs.gentoo.org/680236
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jian Cao <sworden.cao <AT> gmail.com>
Signed-off-by: Justin Bronder <jsbronder <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/mpich/mpich-3.2-r1.ebuild b/sys-cluster/mpich/mpich-3.2-r1.ebuild
index ed837625e33..01bbbaa9867 100644
--- a/sys-cluster/mpich/mpich-3.2-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -90,7 +90,7 @@ multilib_src_configure() {
 		--enable-versioning \
 		$(use_enable romio) \
 		$(use_enable cxx) \
-		$(multilib_native_use_enable fortran fortran all)
+		$(use_enable fortran fortran all)
 }
 
 multilib_src_test() {


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2018-09-21 13:42 Justin Bronder
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Bronder @ 2018-09-21 13:42 UTC (permalink / raw
  To: gentoo-commits

commit:     129c642f382736c1b95f7aadda15ed7f0fbed6b7
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 21 13:41:37 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Fri Sep 21 13:42:03 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=129c642f

sys-cluster/mpich: dep on hwloc-1

The new hwloc api is not supported yet, upstream is working on it.
https://lists.mpich.org/pipermail/discuss/2017-November/005333.html

Fixes #665752.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-cluster/mpich/mpich-3.0.4.ebuild  | 2 +-
 sys-cluster/mpich/mpich-3.2-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/mpich/mpich-3.0.4.ebuild b/sys-cluster/mpich/mpich-3.0.4.ebuild
index c6a40b9fc6a..906a2494626 100644
--- a/sys-cluster/mpich/mpich-3.0.4.ebuild
+++ b/sys-cluster/mpich/mpich-3.0.4.ebuild
@@ -19,7 +19,7 @@ IUSE="+cxx doc fortran mpi-threads romio threads"
 
 COMMON_DEPEND="
 	dev-libs/libaio
-	sys-apps/hwloc
+	<sys-apps/hwloc-2
 	romio? ( net-fs/nfs-utils )"
 
 DEPEND="${COMMON_DEPEND}

diff --git a/sys-cluster/mpich/mpich-3.2-r1.ebuild b/sys-cluster/mpich/mpich-3.2-r1.ebuild
index aa21fd7acae..ed837625e33 100644
--- a/sys-cluster/mpich/mpich-3.2-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.2-r1.ebuild
@@ -20,7 +20,7 @@ IUSE="+cxx doc fortran mpi-threads romio threads"
 
 COMMON_DEPEND="
 	>=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
-	>=sys-apps/hwloc-1.10.0-r2[${MULTILIB_USEDEP}]
+	<sys-apps/hwloc-2[${MULTILIB_USEDEP}]
 	romio? ( net-fs/nfs-utils )"
 
 DEPEND="${COMMON_DEPEND}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2018-09-21 13:42 Justin Bronder
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Bronder @ 2018-09-21 13:42 UTC (permalink / raw
  To: gentoo-commits

commit:     19a1f30c072fc49a1ce347ab01ba4d7ec40be332
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 21 13:39:54 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Fri Sep 21 13:42:03 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19a1f30c

sys-cluster/mpich: remove old

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-cluster/mpich/Manifest           |   2 -
 sys-cluster/mpich/mpich-3.1.3.ebuild | 113 -----------------------------------
 sys-cluster/mpich/mpich-3.1.4.ebuild | 113 -----------------------------------
 sys-cluster/mpich/mpich-3.2.ebuild   | 113 -----------------------------------
 4 files changed, 341 deletions(-)

diff --git a/sys-cluster/mpich/Manifest b/sys-cluster/mpich/Manifest
index c6215e61316..2f46ebaf024 100644
--- a/sys-cluster/mpich/Manifest
+++ b/sys-cluster/mpich/Manifest
@@ -1,4 +1,2 @@
 DIST mpich-3.0.4.tar.gz 10921075 BLAKE2B 341aaac23277aed05a4448ea03d9caf1ee14cfe327a770c95d620fc1ee1ea7bfa6df36860aa44aad162eb6d630d35fdfb30ae9a866d67680ab71c7b4326c109c SHA512 f9d8b2cf561fe5f85c12512ef4dd7b0cf5ec8b53ddb07bfa0d1db2e3c8ae0382c77e0661f46b82ec96b05d18ea2d25328bb84e9528ac06e5925f30ec8ef030d0
-DIST mpich-3.1.3.tar.gz 11487313 BLAKE2B 15d39d8617e7b503bd1cb7d05ef098898736c2d634da2e50f33d7d3a92f2c0aeeb72ec152ee1907ab0658e5c485bd7ed8c2639b8d2abf1839981c542cfe2fc29 SHA512 3071d75e925808c13ea528aaff81a2ee44a4eb9732c74005a0cedd5a710aeafc691d30c7a035ae0aba14bd2b837c1c788202a7612599d3ffac8e5a9299467c09
-DIST mpich-3.1.4.tar.gz 11325036 BLAKE2B 606003f4a9120930841a261698ff9c572f289a88d1db40bf02c8ed89f67a7ba1081652ce39acbf995b7c42e7becb9336fbb262c04873f25a939e5f963eec7de3 SHA512 55bd4d12a42b9ebc116016bd777eb2b8ed8c51e69f5ea5faf823eba0aeb7eadfe2848c4cca3032aa38841a25a4902c07cec2409811149a057c4aa99a25c6b6da
 DIST mpich-3.2.tar.gz 11862150 BLAKE2B 2e0414b2e11b08a59497fa255d464a2130c754ba8798b99a8b84f7232179906bb27906abbe58b9546833541c238f42ae06df90bfe1133d3ff2d85921d9736452 SHA512 083c51655b4355827bd7fa4fe528046e2bc77b7747d869ff87b79fa324c3cc2a9b5640ccb7271490ccc0dd627e354a33a449bbab448501bbfddcfe5f999ee717

diff --git a/sys-cluster/mpich/mpich-3.1.3.ebuild b/sys-cluster/mpich/mpich-3.1.3.ebuild
deleted file mode 100644
index 196aa6b6cfe..00000000000
--- a/sys-cluster/mpich/mpich-3.1.3.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit fortran-2
-
-MY_PV=${PV/_/}
-DESCRIPTION="A high performance and portable MPI implementation"
-HOMEPAGE="http://www.mpich.org/"
-SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="mpich2"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+cxx doc fortran mpi-threads romio threads"
-
-COMMON_DEPEND="
-	dev-libs/libaio
-	>=sys-apps/hwloc-1.9
-	romio? ( net-fs/nfs-utils )"
-
-DEPEND="${COMMON_DEPEND}
-	dev-lang/perl
-	sys-devel/libtool"
-
-RDEPEND="${COMMON_DEPEND}
-	!sys-cluster/mpich2
-	!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() {
-	# Using MPICHLIB_LDFLAGS doesn't seem to fully work.
-	sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
-		src/packaging/pkgconfig/mpich.pc.in \
-		src/env/*.in \
-		|| die
-}
-
-src_configure() {
-	local c="--enable-shared"
-
-	# The configure statements can be somewhat confusing, as they
-	# don't all show up in the top level configure, however, they
-	# are picked up in the children directories.
-
-	if use mpi-threads; then
-		# MPI-THREAD requries threading.
-		c="${c} --with-thread-package=pthreads"
-		c="${c} --enable-threads=runtime"
-	else
-		if use threads ; then
-			c="${c} --with-thread-package=pthreads"
-		else
-			c="${c} --with-thread-package=none"
-		fi
-		c="${c} --enable-threads=single"
-	fi
-
-	c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
-	c="${c} --docdir=${EPREFIX}/usr/share/doc/${PF}"
-
-	export MPICHLIB_CFLAGS=${CFLAGS}
-	export MPICHLIB_CPPFLAGS=${CPPFLAGS}
-	export MPICHLIB_CXXFLAGS=${CXXFLAGS}
-	export MPICHLIB_FFLAGS=${FFLAGS}
-	export MPICHLIB_FCFLAGS=${FCFLAGS}
-	export MPICHLIB_LDFLAGS=${LDFLAGS}
-	unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
-
-	econf ${c} \
-		--with-pm=hydra \
-		--disable-mpe \
-		--disable-fast \
-		--enable-smpcoll \
-		--enable-versioning \
-		--with-hwloc-prefix=/usr \
-		$(use_enable romio) \
-		$(use_enable cxx) \
-		$(use_enable fortran f77) \
-		$(use_enable fortran fc)
-}
-
-src_test() {
-	emake -j1 check
-}
-
-src_install() {
-	default
-
-	dodir /usr/share/doc/${PF}
-	dodoc README{,.envvar} CHANGES RELEASE_NOTES
-	newdoc src/pm/hydra/README README.hydra
-	if use romio; then
-		newdoc src/mpi/romio/README README.romio
-	fi
-
-	if ! use doc; then
-		rm -rf "${D}"usr/share/doc/${PF}/www*
-	fi
-}

diff --git a/sys-cluster/mpich/mpich-3.1.4.ebuild b/sys-cluster/mpich/mpich-3.1.4.ebuild
deleted file mode 100644
index f7a59bdf3f5..00000000000
--- a/sys-cluster/mpich/mpich-3.1.4.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit fortran-2
-
-MY_PV=${PV/_/}
-DESCRIPTION="A high performance and portable MPI implementation"
-HOMEPAGE="http://www.mpich.org/"
-SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="mpich2"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+cxx doc fortran mpi-threads romio threads"
-
-COMMON_DEPEND="
-	dev-libs/libaio
-	>=sys-apps/hwloc-1.9
-	romio? ( net-fs/nfs-utils )"
-
-DEPEND="${COMMON_DEPEND}
-	dev-lang/perl
-	sys-devel/libtool"
-
-RDEPEND="${COMMON_DEPEND}
-	!sys-cluster/mpich2
-	!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() {
-	# Using MPICHLIB_LDFLAGS doesn't seem to fully work.
-	sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
-		src/packaging/pkgconfig/mpich.pc.in \
-		src/env/*.in \
-		|| die
-}
-
-src_configure() {
-	local c="--enable-shared"
-	local hydra_c="--with-hwloc-prefix=/usr"
-
-	# The configure statements can be somewhat confusing, as they
-	# don't all show up in the top level configure, however, they
-	# are picked up in the children directories.  Hence the separate
-	# local vars.
-
-	if use mpi-threads; then
-		# MPI-THREAD requries threading.
-		c="${c} --with-thread-package=pthreads"
-		c="${c} --enable-threads=runtime"
-	else
-		if use threads ; then
-			c="${c} --with-thread-package=pthreads"
-		else
-			c="${c} --with-thread-package=none"
-		fi
-		c="${c} --enable-threads=single"
-	fi
-
-	c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
-	c="${c} --docdir=${EPREFIX}/usr/share/doc/${PF}"
-
-	export MPICHLIB_CFLAGS=${CFLAGS}
-	export MPICHLIB_CPPFLAGS=${CPPFLAGS}
-	export MPICHLIB_CXXFLAGS=${CXXFLAGS}
-	export MPICHLIB_FFLAGS=${FFLAGS}
-	export MPICHLIB_FCFLAGS=${FCFLAGS}
-	export MPICHLIB_LDFLAGS=${LDFLAGS}
-	unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
-
-	econf ${c} \
-		--with-pm=hydra \
-		--disable-fast \
-		--enable-versioning \
-		${hydra_c}
-		$(use_enable romio) \
-		$(use_enable cxx) \
-		$(use_enable fortran f77) \
-		$(use_enable fortran fc)
-}
-
-src_test() {
-	emake -j1 check
-}
-
-src_install() {
-	default
-
-	dodir /usr/share/doc/${PF}
-	dodoc README{,.envvar} CHANGES RELEASE_NOTES
-	newdoc src/pm/hydra/README README.hydra
-	if use romio; then
-		newdoc src/mpi/romio/README README.romio
-	fi
-
-	if ! use doc; then
-		rm -rf "${D}"usr/share/doc/${PF}/www*
-	fi
-}

diff --git a/sys-cluster/mpich/mpich-3.2.ebuild b/sys-cluster/mpich/mpich-3.2.ebuild
deleted file mode 100644
index f7a59bdf3f5..00000000000
--- a/sys-cluster/mpich/mpich-3.2.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-inherit fortran-2
-
-MY_PV=${PV/_/}
-DESCRIPTION="A high performance and portable MPI implementation"
-HOMEPAGE="http://www.mpich.org/"
-SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="mpich2"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+cxx doc fortran mpi-threads romio threads"
-
-COMMON_DEPEND="
-	dev-libs/libaio
-	>=sys-apps/hwloc-1.9
-	romio? ( net-fs/nfs-utils )"
-
-DEPEND="${COMMON_DEPEND}
-	dev-lang/perl
-	sys-devel/libtool"
-
-RDEPEND="${COMMON_DEPEND}
-	!sys-cluster/mpich2
-	!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() {
-	# Using MPICHLIB_LDFLAGS doesn't seem to fully work.
-	sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
-		src/packaging/pkgconfig/mpich.pc.in \
-		src/env/*.in \
-		|| die
-}
-
-src_configure() {
-	local c="--enable-shared"
-	local hydra_c="--with-hwloc-prefix=/usr"
-
-	# The configure statements can be somewhat confusing, as they
-	# don't all show up in the top level configure, however, they
-	# are picked up in the children directories.  Hence the separate
-	# local vars.
-
-	if use mpi-threads; then
-		# MPI-THREAD requries threading.
-		c="${c} --with-thread-package=pthreads"
-		c="${c} --enable-threads=runtime"
-	else
-		if use threads ; then
-			c="${c} --with-thread-package=pthreads"
-		else
-			c="${c} --with-thread-package=none"
-		fi
-		c="${c} --enable-threads=single"
-	fi
-
-	c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
-	c="${c} --docdir=${EPREFIX}/usr/share/doc/${PF}"
-
-	export MPICHLIB_CFLAGS=${CFLAGS}
-	export MPICHLIB_CPPFLAGS=${CPPFLAGS}
-	export MPICHLIB_CXXFLAGS=${CXXFLAGS}
-	export MPICHLIB_FFLAGS=${FFLAGS}
-	export MPICHLIB_FCFLAGS=${FCFLAGS}
-	export MPICHLIB_LDFLAGS=${LDFLAGS}
-	unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
-
-	econf ${c} \
-		--with-pm=hydra \
-		--disable-fast \
-		--enable-versioning \
-		${hydra_c}
-		$(use_enable romio) \
-		$(use_enable cxx) \
-		$(use_enable fortran f77) \
-		$(use_enable fortran fc)
-}
-
-src_test() {
-	emake -j1 check
-}
-
-src_install() {
-	default
-
-	dodir /usr/share/doc/${PF}
-	dodoc README{,.envvar} CHANGES RELEASE_NOTES
-	newdoc src/pm/hydra/README README.hydra
-	if use romio; then
-		newdoc src/mpi/romio/README README.romio
-	fi
-
-	if ! use doc; then
-		rm -rf "${D}"usr/share/doc/${PF}/www*
-	fi
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2018-06-11 10:51 Ulrich Müller
  0 siblings, 0 replies; 36+ messages in thread
From: Ulrich Müller @ 2018-06-11 10:51 UTC (permalink / raw
  To: gentoo-commits

commit:     560d743fba27c1fa84132a436a6effd435997e12
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 11 10:49:22 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jun 11 10:49:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=560d743f

sys-cluster/mpich: Update LICENSE.

The mpich license is a duplicate of mpich2.

Bug: https://bugs.gentoo.org/657686
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-cluster/mpich/mpich-3.0.4.ebuild  | 4 ++--
 sys-cluster/mpich/mpich-3.1.3.ebuild  | 4 ++--
 sys-cluster/mpich/mpich-3.1.4.ebuild  | 4 ++--
 sys-cluster/mpich/mpich-3.2-r1.ebuild | 4 ++--
 sys-cluster/mpich/mpich-3.2.ebuild    | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/sys-cluster/mpich/mpich-3.0.4.ebuild b/sys-cluster/mpich/mpich-3.0.4.ebuild
index 63dee55d2a0..c6a40b9fc6a 100644
--- a/sys-cluster/mpich/mpich-3.0.4.ebuild
+++ b/sys-cluster/mpich/mpich-3.0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -13,7 +13,7 @@ HOMEPAGE="http://www.mpich.org/"
 SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
 
 SLOT="0"
-LICENSE="mpich"
+LICENSE="mpich2"
 KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="+cxx doc fortran mpi-threads romio threads"
 

diff --git a/sys-cluster/mpich/mpich-3.1.3.ebuild b/sys-cluster/mpich/mpich-3.1.3.ebuild
index 0ed79526c4a..196aa6b6cfe 100644
--- a/sys-cluster/mpich/mpich-3.1.3.ebuild
+++ b/sys-cluster/mpich/mpich-3.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -13,7 +13,7 @@ HOMEPAGE="http://www.mpich.org/"
 SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
 
 SLOT="0"
-LICENSE="mpich"
+LICENSE="mpich2"
 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="+cxx doc fortran mpi-threads romio threads"
 

diff --git a/sys-cluster/mpich/mpich-3.1.4.ebuild b/sys-cluster/mpich/mpich-3.1.4.ebuild
index 81b842d0f03..f7a59bdf3f5 100644
--- a/sys-cluster/mpich/mpich-3.1.4.ebuild
+++ b/sys-cluster/mpich/mpich-3.1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -13,7 +13,7 @@ HOMEPAGE="http://www.mpich.org/"
 SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
 
 SLOT="0"
-LICENSE="mpich"
+LICENSE="mpich2"
 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="+cxx doc fortran mpi-threads romio threads"
 

diff --git a/sys-cluster/mpich/mpich-3.2-r1.ebuild b/sys-cluster/mpich/mpich-3.2-r1.ebuild
index 7a865b38f33..aa21fd7acae 100644
--- a/sys-cluster/mpich/mpich-3.2-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ HOMEPAGE="http://www.mpich.org/"
 SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
 
 SLOT="0"
-LICENSE="mpich"
+LICENSE="mpich2"
 KEYWORDS="amd64 ~arm64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="+cxx doc fortran mpi-threads romio threads"
 

diff --git a/sys-cluster/mpich/mpich-3.2.ebuild b/sys-cluster/mpich/mpich-3.2.ebuild
index 81b842d0f03..f7a59bdf3f5 100644
--- a/sys-cluster/mpich/mpich-3.2.ebuild
+++ b/sys-cluster/mpich/mpich-3.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -13,7 +13,7 @@ HOMEPAGE="http://www.mpich.org/"
 SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
 
 SLOT="0"
-LICENSE="mpich"
+LICENSE="mpich2"
 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="+cxx doc fortran mpi-threads romio threads"
 


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2017-06-23 19:26 Alexis Ballier
  0 siblings, 0 replies; 36+ messages in thread
From: Alexis Ballier @ 2017-06-23 19:26 UTC (permalink / raw
  To: gentoo-commits

commit:     647d54ba77e8f80a848a36dc91c31bc613b30e85
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 23 19:26:10 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 19:26:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=647d54ba

sys-cluster/mpich: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-cluster/mpich/mpich-3.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/mpich/mpich-3.2-r1.ebuild b/sys-cluster/mpich/mpich-3.2-r1.ebuild
index 7e2ba6c0bc6..7a865b38f33 100644
--- a/sys-cluster/mpich/mpich-3.2-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.2-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
 
 SLOT="0"
 LICENSE="mpich"
-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="


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2017-04-15 13:08 Jeroen Roovers
  0 siblings, 0 replies; 36+ messages in thread
From: Jeroen Roovers @ 2017-04-15 13:08 UTC (permalink / raw
  To: gentoo-commits

commit:     3ba332b4d708fa563d15bd98559bbfe6d3488355
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 15 13:08:48 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Apr 15 13:08:48 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ba332b4

sys-cluster/mpich: Stable for HPPA (bug #612232).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --ignore-arches

 sys-cluster/mpich/mpich-3.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/mpich/mpich-3.2-r1.ebuild b/sys-cluster/mpich/mpich-3.2-r1.ebuild
index f862068a14d..7e2ba6c0bc6 100644
--- a/sys-cluster/mpich/mpich-3.2-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.2-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
 
 SLOT="0"
 LICENSE="mpich"
-KEYWORDS="amd64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="+cxx doc fortran mpi-threads romio threads"
 
 COMMON_DEPEND="


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2017-04-12 20:43 Justin Bronder
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Bronder @ 2017-04-12 20:43 UTC (permalink / raw
  To: gentoo-commits

commit:     18ac817afbb862936e4c4aa3a46d15b7eddd9dae
Author:     Michael Gilroy <michael.gilroy24 <AT> gmail <DOT> com>
AuthorDate: Wed Apr 12 15:14:23 2017 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Wed Apr 12 20:42:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18ac817a

sys-cluster/mpich: Fixed multilib_src_install() logic

Previously in the case where compiles used -fortran and
multilib_is_native_abi was true, the rm would fail and the build would
die. The nested conditional prevents this.

Bug: #612564

 sys-cluster/mpich/mpich-3.2-r1.ebuild | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/sys-cluster/mpich/mpich-3.2-r1.ebuild b/sys-cluster/mpich/mpich-3.2-r1.ebuild
index 48ddf87a919..f862068a14d 100644
--- a/sys-cluster/mpich/mpich-3.2-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.2-r1.ebuild
@@ -101,13 +101,14 @@ multilib_src_install() {
 	default
 
 	# fortran header cannot be wrapped (bug #540508), workaround part 1
-	if multilib_is_native_abi && use fortran; then
-		mkdir "${T}"/fortran || die
-		mv "${ED}"usr/include/mpif* "${T}"/fortran || die
-		mv "${ED}"usr/include/*.mod "${T}"/fortran || die
-	else
-		# some fortran files get installed unconditionally
-		rm "${ED}"usr/include/mpif* "${ED}"usr/include/*.mod || die
+	if  use fortran; then
+		if multilib_is_native_abi; then
+			mkdir "${T}"/fortran || die
+			mv "${ED}"usr/include/mpif* "${T}"/fortran || die
+			mv "${ED}"usr/include/*.mod "${T}"/fortran || die
+		else
+			rm "${ED}"usr/include/mpif* "${ED}"usr/include/*.mod || die
+		fi
 	fi
 }
 


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2017-03-16  7:12 Michael Weber
  0 siblings, 0 replies; 36+ messages in thread
From: Michael Weber @ 2017-03-16  7:12 UTC (permalink / raw
  To: gentoo-commits

commit:     03ecbe84905c1183fdbf3554197c6cbbbfd6d9f4
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 16 07:10:00 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 07:12:00 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03ecbe84

sys-cluster/mpich: ppc ppc64 stable (bug 612232).

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 sys-cluster/mpich/mpich-3.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/mpich/mpich-3.2-r1.ebuild b/sys-cluster/mpich/mpich-3.2-r1.ebuild
index 5a2a306396e..48ddf87a919 100644
--- a/sys-cluster/mpich/mpich-3.2-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.2-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
 
 SLOT="0"
 LICENSE="mpich"
-KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="+cxx doc fortran mpi-threads romio threads"
 
 COMMON_DEPEND="


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2017-03-11 13:42 Agostino Sarubbo
  0 siblings, 0 replies; 36+ messages in thread
From: Agostino Sarubbo @ 2017-03-11 13:42 UTC (permalink / raw
  To: gentoo-commits

commit:     a0b95b992dea901234016d3ee02a821194ec7ace
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 11 13:41:58 2017 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 13:41:58 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0b95b99

sys-cluster/mpich: x86 stable wrt bug #612232

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/mpich/mpich-3.2-r1.ebuild b/sys-cluster/mpich/mpich-3.2-r1.ebuild
index 67c38397a58..5a2a306396e 100644
--- a/sys-cluster/mpich/mpich-3.2-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.2-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
 
 SLOT="0"
 LICENSE="mpich"
-KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="+cxx doc fortran mpi-threads romio threads"
 
 COMMON_DEPEND="


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2017-03-11 13:31 Agostino Sarubbo
  0 siblings, 0 replies; 36+ messages in thread
From: Agostino Sarubbo @ 2017-03-11 13:31 UTC (permalink / raw
  To: gentoo-commits

commit:     dedb771633ff2f29fa9551bff16034554e51060f
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 11 13:30:41 2017 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 13:30:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dedb7716

sys-cluster/mpich: amd64 stable wrt bug #612232

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/mpich/mpich-3.2-r1.ebuild b/sys-cluster/mpich/mpich-3.2-r1.ebuild
index 1e1892faf14..67c38397a58 100644
--- a/sys-cluster/mpich/mpich-3.2-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -15,7 +15,7 @@ SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
 
 SLOT="0"
 LICENSE="mpich"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="+cxx doc fortran mpi-threads romio threads"
 
 COMMON_DEPEND="


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2016-09-06  0:18 Christoph Junghans
  0 siblings, 0 replies; 36+ messages in thread
From: Christoph Junghans @ 2016-09-06  0:18 UTC (permalink / raw
  To: gentoo-commits

commit:     6f882b879ce3e725c376a6250454332438e36fe7
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  6 00:02:49 2016 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Tue Sep  6 00:06:16 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f882b87

sys-cluster/mpich: mask nullmpi

Package-Manager: portage-2.2.28

 sys-cluster/mpich/mpich-3.2-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/mpich/mpich-3.2-r1.ebuild b/sys-cluster/mpich/mpich-3.2-r1.ebuild
index a61ef87..16fac14 100644
--- a/sys-cluster/mpich/mpich-3.2-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.2-r1.ebuild
@@ -30,7 +30,8 @@ DEPEND="${COMMON_DEPEND}
 
 RDEPEND="${COMMON_DEPEND}
 	!sys-cluster/mpich2
-	!sys-cluster/openmpi"
+	!sys-cluster/openmpi
+	!sys-cluster/nullmpi"
 
 S="${WORKDIR}"/${PN}-${MY_PV}
 


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2016-08-29 20:58 Christoph Junghans
  0 siblings, 0 replies; 36+ messages in thread
From: Christoph Junghans @ 2016-08-29 20:58 UTC (permalink / raw
  To: gentoo-commits

commit:     45e8f6896672681be46532ea45b46d4975d2832a
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 20:54:50 2016 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 20:58:02 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45e8f689

sys-cluster/mpich: re-add keyword for multilib ebuild

Package-Manager: portage-2.2.28

 sys-cluster/mpich/mpich-3.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/mpich/mpich-3.2-r1.ebuild b/sys-cluster/mpich/mpich-3.2-r1.ebuild
index 90b3ee3..a61ef87 100644
--- a/sys-cluster/mpich/mpich-3.2-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.2-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
 
 SLOT="0"
 LICENSE="mpich"
-KEYWORDS=""
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="+cxx doc fortran mpi-threads romio threads"
 
 COMMON_DEPEND="


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2016-08-29 20:13 Christoph Junghans
  0 siblings, 0 replies; 36+ messages in thread
From: Christoph Junghans @ 2016-08-29 20:13 UTC (permalink / raw
  To: gentoo-commits

commit:     4a826e16ad44b9bdb3cf60ffde8bd9aef310730b
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 20:13:06 2016 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 20:13:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a826e16

sys-cluster/mpich: drop REQUIRED_USE

See discussion on gentoo-science/sci#664

Package-Manager: portage-2.2.28

 sys-cluster/mpich/mpich-3.2-r1.ebuild | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

diff --git a/sys-cluster/mpich/mpich-3.2-r1.ebuild b/sys-cluster/mpich/mpich-3.2-r1.ebuild
index 382b2ca..90b3ee3 100644
--- a/sys-cluster/mpich/mpich-3.2-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.2-r1.ebuild
@@ -18,7 +18,6 @@ SLOT="0"
 LICENSE="mpich"
 KEYWORDS=""
 IUSE="+cxx doc fortran mpi-threads romio threads"
-REQUIRED_USE="mpi-threads? ( threads )"
 
 COMMON_DEPEND="
 	>=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
@@ -54,7 +53,25 @@ src_prepare() {
 multilib_src_configure() {
 	# The configure statements can be somewhat confusing, as they
 	# don't all show up in the top level configure, however, they
-	# are picked up in the children directories.
+	# are picked up in the children directories.  Hence the separate
+	# local vars.
+
+	local c=
+	if use mpi-threads; then
+		# MPI-THREAD requries threading.
+		c="${c} --with-thread-package=pthreads"
+		c="${c} --enable-threads=runtime"
+	else
+		if use threads ; then
+			c="${c} --with-thread-package=pthreads"
+		else
+			c="${c} --with-thread-package=none"
+		fi
+		c="${c} --enable-threads=single"
+	fi
+
+	c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
+	c="${c} --docdir=${EPREFIX}/usr/share/doc/${PF}"
 
 	export MPICHLIB_CFLAGS="${CFLAGS}"
 	export MPICHLIB_CPPFLAGS="${CPPFLAGS}"
@@ -66,10 +83,8 @@ multilib_src_configure() {
 
 	ECONF_SOURCE=${S} econf \
 		--enable-shared \
-		--sysconfdir="${EPREFIX}/etc/${PN}" \
 		--with-hwloc-prefix="${EPREFIX}/usr" \
-		--enable-threads=$(usex mpi-threads runtime single) \
-		--with-thread-package=$(usex threads pthreads none) \
+		${c} \
 		--with-pm=hydra \
 		--disable-fast \
 		--enable-versioning \


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2016-08-11  7:55 David Seifert
  0 siblings, 0 replies; 36+ messages in thread
From: David Seifert @ 2016-08-11  7:55 UTC (permalink / raw
  To: gentoo-commits

commit:     ade38d7a718260d0a2600a2421ea5959a12b4f43
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 10 17:07:58 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 07:54:46 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ade38d7a

sys-cluster/mpich: add multilib version

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/2062

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.2-r1.ebuild | 114 ++++++++++++++++++++++++++++++++++
 1 file changed, 114 insertions(+)

diff --git a/sys-cluster/mpich/mpich-3.2-r1.ebuild b/sys-cluster/mpich/mpich-3.2-r1.ebuild
new file mode 100644
index 0000000..382b2ca
--- /dev/null
+++ b/sys-cluster/mpich/mpich-3.2-r1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+FORTRAN_NEEDED=fortran
+FORTRAN_STANDARD="77 90"
+
+inherit fortran-2 multilib-minimal
+
+MY_PV=${PV/_/}
+DESCRIPTION="A high performance and portable MPI implementation"
+HOMEPAGE="http://www.mpich.org/"
+SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="mpich"
+KEYWORDS=""
+IUSE="+cxx doc fortran mpi-threads romio threads"
+REQUIRED_USE="mpi-threads? ( threads )"
+
+COMMON_DEPEND="
+	>=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
+	>=sys-apps/hwloc-1.10.0-r2[${MULTILIB_USEDEP}]
+	romio? ( net-fs/nfs-utils )"
+
+DEPEND="${COMMON_DEPEND}
+	dev-lang/perl
+	sys-devel/libtool"
+
+RDEPEND="${COMMON_DEPEND}
+	!sys-cluster/mpich2
+	!sys-cluster/openmpi"
+
+S="${WORKDIR}"/${PN}-${MY_PV}
+
+MULTILIB_WRAPPED_HEADERS=(
+	/usr/include/mpicxx.h
+	/usr/include/mpi.h
+	/usr/include/opa_config.h
+)
+
+src_prepare() {
+	default
+
+	# Using MPICHLIB_LDFLAGS doesn't seem to fully work.
+	sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
+		src/packaging/pkgconfig/mpich.pc.in \
+		src/env/*.in \
+		|| die
+}
+
+multilib_src_configure() {
+	# The configure statements can be somewhat confusing, as they
+	# don't all show up in the top level configure, however, they
+	# are picked up in the children directories.
+
+	export MPICHLIB_CFLAGS="${CFLAGS}"
+	export MPICHLIB_CPPFLAGS="${CPPFLAGS}"
+	export MPICHLIB_CXXFLAGS="${CXXFLAGS}"
+	export MPICHLIB_FFLAGS="${FFLAGS}"
+	export MPICHLIB_FCFLAGS="${FCFLAGS}"
+	export MPICHLIB_LDFLAGS="${LDFLAGS}"
+	unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
+
+	ECONF_SOURCE=${S} econf \
+		--enable-shared \
+		--sysconfdir="${EPREFIX}/etc/${PN}" \
+		--with-hwloc-prefix="${EPREFIX}/usr" \
+		--enable-threads=$(usex mpi-threads runtime single) \
+		--with-thread-package=$(usex threads pthreads none) \
+		--with-pm=hydra \
+		--disable-fast \
+		--enable-versioning \
+		$(use_enable romio) \
+		$(use_enable cxx) \
+		$(multilib_native_use_enable fortran fortran all)
+}
+
+multilib_src_test() {
+	emake -j1 check
+}
+
+multilib_src_install() {
+	default
+
+	# fortran header cannot be wrapped (bug #540508), workaround part 1
+	if multilib_is_native_abi && use fortran; then
+		mkdir "${T}"/fortran || die
+		mv "${ED}"usr/include/mpif* "${T}"/fortran || die
+		mv "${ED}"usr/include/*.mod "${T}"/fortran || die
+	else
+		# some fortran files get installed unconditionally
+		rm "${ED}"usr/include/mpif* "${ED}"usr/include/*.mod || die
+	fi
+}
+
+multilib_src_install_all() {
+	# fortran header cannot be wrapped (bug #540508), workaround part 2
+	if use fortran; then
+		mv "${T}"/fortran/* "${ED}"usr/include || die
+	fi
+
+	einstalldocs
+	newdoc src/pm/hydra/README README.hydra
+	if use romio; then
+		newdoc src/mpi/romio/README README.romio
+	fi
+
+	if ! use doc; then
+		rm -rf "${ED}"usr/share/doc/${PF}/www* || die
+	fi
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
@ 2015-12-21 13:54 Justin Bronder
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Bronder @ 2015-12-21 13:54 UTC (permalink / raw
  To: gentoo-commits

commit:     fe5bc51af6f3cd61a00b469f7bab95e038a3dc46
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 21 13:54:29 2015 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Mon Dec 21 13:54:29 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe5bc51a

sys-cluster/mpich:  bump 3.2

Package-Manager: portage-2.2.20.1

 sys-cluster/mpich/Manifest         |   1 +
 sys-cluster/mpich/mpich-3.2.ebuild | 114 +++++++++++++++++++++++++++++++++++++
 2 files changed, 115 insertions(+)

diff --git a/sys-cluster/mpich/Manifest b/sys-cluster/mpich/Manifest
index f630841..ac95bab 100644
--- a/sys-cluster/mpich/Manifest
+++ b/sys-cluster/mpich/Manifest
@@ -1,3 +1,4 @@
 DIST mpich-3.0.4.tar.gz 10921075 SHA256 cf638c85660300af48b6f776e5ecd35b5378d5905ec5d34c3da7a27da0acf0b3 SHA512 f9d8b2cf561fe5f85c12512ef4dd7b0cf5ec8b53ddb07bfa0d1db2e3c8ae0382c77e0661f46b82ec96b05d18ea2d25328bb84e9528ac06e5925f30ec8ef030d0 WHIRLPOOL 52c811d1adcba26424bb3f05b7b97faff16ab3762782474fcde5f49e9ca77155fb91d80967120d9277eed2adb116443afe444671eb6315a610587d55ac4ec9ed
 DIST mpich-3.1.3.tar.gz 11487313 SHA256 afb690aa828467721e9d9ab233fe00c68cae2b7b930d744cb5f7f3eb08c8602c SHA512 3071d75e925808c13ea528aaff81a2ee44a4eb9732c74005a0cedd5a710aeafc691d30c7a035ae0aba14bd2b837c1c788202a7612599d3ffac8e5a9299467c09 WHIRLPOOL ade5a2ab7a98a3ee353a0b41ad8c57b8676ea7e381e625c01237519c88e9e16c5330cf6c569707ded26462022dd8647ba0a24dc2c1559240781b0e4fa1c69511
 DIST mpich-3.1.4.tar.gz 11325036 SHA256 f68b5330e94306c00ca5a1c0e8e275c7f53517d01d6c524d51ce9359d240466b SHA512 55bd4d12a42b9ebc116016bd777eb2b8ed8c51e69f5ea5faf823eba0aeb7eadfe2848c4cca3032aa38841a25a4902c07cec2409811149a057c4aa99a25c6b6da WHIRLPOOL 243ea40dd67b7f8e6fecde58740c21703833ca2857922ad59c5744888145bbf0ee934a69128818cd5bb91f39a3e842c26b2eced20ba23e08c8968b903f1f9992
+DIST mpich-3.2.tar.gz 11862150 SHA256 0778679a6b693d7b7caff37ff9d2856dc2bfc51318bf8373859bfa74253da3dc SHA512 083c51655b4355827bd7fa4fe528046e2bc77b7747d869ff87b79fa324c3cc2a9b5640ccb7271490ccc0dd627e354a33a449bbab448501bbfddcfe5f999ee717 WHIRLPOOL 4196be94f5f5766f06e3f5893153e6d44fe93a5ef17dfcf3fce075b1506d5b762ba175dceeac0668284adc9f4a846917801f2138ed2d81f464d3a191b3f88f1c

diff --git a/sys-cluster/mpich/mpich-3.2.ebuild b/sys-cluster/mpich/mpich-3.2.ebuild
new file mode 100644
index 0000000..3b08bfb
--- /dev/null
+++ b/sys-cluster/mpich/mpich-3.2.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit fortran-2
+
+MY_PV=${PV/_/}
+DESCRIPTION="A high performance and portable MPI implementation"
+HOMEPAGE="http://www.mpich.org/"
+SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="mpich"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+cxx doc fortran mpi-threads romio threads"
+
+COMMON_DEPEND="
+	dev-libs/libaio
+	>=sys-apps/hwloc-1.9
+	romio? ( net-fs/nfs-utils )"
+
+DEPEND="${COMMON_DEPEND}
+	dev-lang/perl
+	sys-devel/libtool"
+
+RDEPEND="${COMMON_DEPEND}
+	!sys-cluster/mpich2
+	!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() {
+	# Using MPICHLIB_LDFLAGS doesn't seem to fully work.
+	sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
+		src/packaging/pkgconfig/mpich.pc.in \
+		src/env/*.in \
+		|| die
+}
+
+src_configure() {
+	local c="--enable-shared"
+	local hydra_c="--with-hwloc-prefix=/usr"
+
+	# The configure statements can be somewhat confusing, as they
+	# don't all show up in the top level configure, however, they
+	# are picked up in the children directories.  Hence the separate
+	# local vars.
+
+	if use mpi-threads; then
+		# MPI-THREAD requries threading.
+		c="${c} --with-thread-package=pthreads"
+		c="${c} --enable-threads=runtime"
+	else
+		if use threads ; then
+			c="${c} --with-thread-package=pthreads"
+		else
+			c="${c} --with-thread-package=none"
+		fi
+		c="${c} --enable-threads=single"
+	fi
+
+	c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
+	c="${c} --docdir=${EPREFIX}/usr/share/doc/${PF}"
+
+	export MPICHLIB_CFLAGS=${CFLAGS}
+	export MPICHLIB_CPPFLAGS=${CPPFLAGS}
+	export MPICHLIB_CXXFLAGS=${CXXFLAGS}
+	export MPICHLIB_FFLAGS=${FFLAGS}
+	export MPICHLIB_FCFLAGS=${FCFLAGS}
+	export MPICHLIB_LDFLAGS=${LDFLAGS}
+	unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
+
+	econf ${c} \
+		--with-pm=hydra \
+		--disable-fast \
+		--enable-versioning \
+		${hydra_c}
+		$(use_enable romio) \
+		$(use_enable cxx) \
+		$(use_enable fortran f77) \
+		$(use_enable fortran fc)
+}
+
+src_test() {
+	emake -j1 check
+}
+
+src_install() {
+	default
+
+	dodir /usr/share/doc/${PF}
+	dodoc README{,.envvar} CHANGES RELEASE_NOTES
+	newdoc src/pm/hydra/README README.hydra
+	if use romio; then
+		newdoc src/mpi/romio/README README.romio
+	fi
+
+	if ! use doc; then
+		rm -rf "${D}"usr/share/doc/${PF}/www*
+	fi
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2023-05-16  1:53 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-12  7:42 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/ Agostino Sarubbo
  -- strict thread matches above, loose matches on Subject: below --
2023-05-16  1:52 Sam James
2023-01-12 21:50 Yixun Lan
2023-01-12 21:50 Yixun Lan
2022-01-12  9:41 Andreas Sturmlechner
2022-01-10 22:59 Sam James
2022-01-10 11:16 Arthur Zamarin
2022-01-10 11:14 Arthur Zamarin
2022-01-09 22:13 Andreas Sturmlechner
2021-12-18  8:08 Sam James
2021-12-18  8:08 Sam James
2021-10-29 22:44 Sam James
2021-10-15 22:01 Sam James
2021-10-15 21:43 Sam James
2021-10-13  5:26 Sam James
2021-10-13  5:12 Sam James
2021-09-23 20:36 Sam James
2021-09-23 20:31 Sam James
2020-12-21 19:34 Jonas Stein
2020-11-14 22:47 David Seifert
2019-09-04 14:21 Justin Bronder
2019-04-15 14:53 Justin Bronder
2018-09-21 13:42 Justin Bronder
2018-09-21 13:42 Justin Bronder
2018-06-11 10:51 Ulrich Müller
2017-06-23 19:26 Alexis Ballier
2017-04-15 13:08 Jeroen Roovers
2017-04-12 20:43 Justin Bronder
2017-03-16  7:12 Michael Weber
2017-03-11 13:42 Agostino Sarubbo
2017-03-11 13:31 Agostino Sarubbo
2016-09-06  0:18 Christoph Junghans
2016-08-29 20:58 Christoph Junghans
2016-08-29 20:13 Christoph Junghans
2016-08-11  7:55 David Seifert
2015-12-21 13:54 Justin Bronder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox