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

Reply via email to