mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
sys-cluster/openmpi: move ucx dependency out of cuda to toplevel flag
ucx is variously used in openmpi and isn't actually specific to cuda suppport. Pass the dedicated ./configure flag for it, and add it as a top-level USE-dep. Currently it is an automagic dependency. Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
<flag name="libompitrace">Enable support for contributed package libompitrace</flag>
|
||||
<flag name="peruse">Enable PERUSE interface</flag>
|
||||
<flag name="romio">Build the ROMIO MPI-IO component</flag>
|
||||
<flag name="ucx">Enable Unified Communication X library support</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">open-mpi/ompi</remote-id>
|
||||
|
||||
+3
-2
@@ -24,7 +24,7 @@ S="${WORKDIR}/${MY_P}"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 -arm arm64 -ppc ppc64 -x86"
|
||||
IUSE="cma cuda fortran peruse romio valgrind
|
||||
IUSE="cma cuda fortran peruse romio ucx valgrind
|
||||
${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM}"
|
||||
|
||||
REQUIRED_USE="
|
||||
@@ -45,13 +45,13 @@ RDEPEND="
|
||||
>=virtual/zlib-1.2.8-r1:=
|
||||
cuda? (
|
||||
>=dev-util/nvidia-cuda-toolkit-6.5.19-r1:=
|
||||
sys-cluster/ucx
|
||||
x11-drivers/nvidia-drivers
|
||||
)
|
||||
openmpi_fabrics_ofed? ( sys-cluster/rdma-core )
|
||||
openmpi_fabrics_knem? ( sys-cluster/knem )
|
||||
openmpi_rm_pbs? ( sys-cluster/torque )
|
||||
openmpi_rm_slurm? ( sys-cluster/slurm )
|
||||
ucx? ( sys-cluster/ucx )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
valgrind? ( dev-debug/valgrind )"
|
||||
@@ -133,6 +133,7 @@ src_configure() {
|
||||
$(use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr)
|
||||
$(use_with openmpi_rm_pbs tm)
|
||||
$(use_with openmpi_rm_slurm slurm)
|
||||
$(use_with ucx)
|
||||
)
|
||||
|
||||
CONFIG_SHELL="${BROOT}"/bin/bash econf "${myconf[@]}"
|
||||
Reference in New Issue
Block a user