diff options
author | Sam James <sam@gentoo.org> | 2023-05-16 03:53:56 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-16 04:35:55 +0100 |
commit | c4e92548c4fe135f7717994566059d3c7526038e (patch) | |
tree | 341bf8369812b953ad2b7d8a8ae8e5dfd36b803f /sys-cluster/openmpi | |
parent | net-misc/freerdp: add Valgrind annotation support (diff) | |
download | gentoo-c4e92548c4fe135f7717994566059d3c7526038e.tar.gz gentoo-c4e92548c4fe135f7717994566059d3c7526038e.tar.bz2 gentoo-c4e92548c4fe135f7717994566059d3c7526038e.zip |
sys-cluster/openmpi: add Valgrind annotation support
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-cluster/openmpi')
-rw-r--r-- | sys-cluster/openmpi/openmpi-4.1.4-r1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-cluster/openmpi/openmpi-4.1.4-r1.ebuild b/sys-cluster/openmpi/openmpi-4.1.4-r1.ebuild index 339560c3b179..79fe1e97a75c 100644 --- a/sys-cluster/openmpi/openmpi-4.1.4-r1.ebuild +++ b/sys-cluster/openmpi/openmpi-4.1.4-r1.ebuild @@ -31,7 +31,7 @@ SRC_URI="https://www.open-mpi.org/software/ompi/v$(ver_cut 1-2)/downloads/${MY_P LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~ppc ppc64 ~riscv sparc x86 ~amd64-linux" -IUSE="cma cuda cxx fortran ipv6 java libompitrace peruse romio +IUSE="cma cuda cxx fortran ipv6 java libompitrace peruse romio valgrind ${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}" REQUIRED_USE=" @@ -61,7 +61,8 @@ RDEPEND="${CDEPEND} java? ( >=virtual/jre-1.8:* )" DEPEND="${CDEPEND} - java? ( >=virtual/jdk-1.8:* )" + java? ( >=virtual/jdk-1.8:* ) + valgrind? ( dev-util/valgrind )" MULTILIB_WRAPPED_HEADERS=( /usr/include/mpi.h @@ -137,6 +138,7 @@ multilib_src_configure() { $(multilib_native_use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) $(multilib_native_use_with cuda cuda "${EPREFIX}"/opt/cuda) + $(multilib_native_use_with valgrind) $(multilib_native_use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) $(multilib_native_use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) $(multilib_native_use_with openmpi_rm_pbs tm) |