diff options
author | Sam James <sam@gentoo.org> | 2023-05-16 02:25:47 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-16 02:52:18 +0100 |
commit | c0a799a70cabea58fcaab2443906d1ead7ff704c (patch) | |
tree | 31e8598415618fdd5d904c236a521be1f6bf5601 /sys-cluster/mpich | |
parent | net-libs/libslirp: add Valgrind annotation support (diff) | |
download | gentoo-c0a799a70cabea58fcaab2443906d1ead7ff704c.tar.gz gentoo-c0a799a70cabea58fcaab2443906d1ead7ff704c.tar.bz2 gentoo-c0a799a70cabea58fcaab2443906d1ead7ff704c.zip |
sys-cluster/mpich: add Valgrind annotation support
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-cluster/mpich')
-rw-r--r-- | sys-cluster/mpich/mpich-3.4.3.ebuild | 26 |
1 files 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() { |