public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/
Date: Tue, 16 May 2023 01:52:55 +0000 (UTC)	[thread overview]
Message-ID: <1684201938.c0a799a70cabea58fcaab2443906d1ead7ff704c.sam@gentoo> (raw)

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() {


             reply	other threads:[~2023-05-16  1:53 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-16  1:52 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-12 21:50 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/mpich/ Yixun Lan
2023-01-12 21:50 Yixun Lan
2022-01-12  9:41 Andreas Sturmlechner
2022-01-12  7:42 Agostino Sarubbo
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1684201938.c0a799a70cabea58fcaab2443906d1ead7ff704c.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox