mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
sys-cluster/portals4: ofed is gone, remove IB transport
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
<flag name="pmi">Enable PMI support</flag>
|
||||
<flag name="ppe">Enable process-offload engine for Portals. Experimental</flag>
|
||||
<flag name="reliable-udp">Use reliable UDP for remote communication</flag>
|
||||
<flag name="transport-ib">Use IB for remote communication</flag>
|
||||
<flag name="transport-shmem">Use Shared memory for on-node communication. This is currently experimental and should be avoided</flag>
|
||||
<flag name="transport-udp">Use UDP for remote communication</flag>
|
||||
<flag name="zero-mrs">Enable this when using MOFED V2.2+ or Qlogic InfiniPath Hardware of IB communication</flag>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -22,7 +22,6 @@ LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE_TRANSPORT="
|
||||
transport-ib
|
||||
transport-shmem
|
||||
+transport-udp
|
||||
"
|
||||
@@ -35,7 +34,6 @@ RDEPEND="
|
||||
knem? ( sys-cluster/knem )
|
||||
pmi? ( sys-cluster/pmix[pmi] )
|
||||
ppe? ( sys-kernel/xpmem )
|
||||
transport-ib? ( sys-fabric/ofed )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
@@ -46,7 +44,6 @@ PATCHES=( "${FILESDIR}/${PN}-fix-PPE-related-compile-and-link-errors.patch" )
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="
|
||||
?? ( ppe transport-shmem )
|
||||
^^ ( transport-ib transport-udp )
|
||||
|
||||
knem? ( transport-shmem )
|
||||
reliable-udp? ( transport-udp )
|
||||
@@ -64,13 +61,14 @@ src_configure() {
|
||||
--disable-picky
|
||||
--disable-pmi-from-portals
|
||||
--disable-static
|
||||
--disable-transport-ib
|
||||
--with-ev="${EPREFIX}/usr"
|
||||
--without-ofed
|
||||
|
||||
$(use_enable me-triggered)
|
||||
$(use_enable ppe)
|
||||
$(use_enable reliable-udp)
|
||||
$(use_enable test testing)
|
||||
$(use_enable transport-ib)
|
||||
$(use_enable transport-shmem)
|
||||
$(use_enable transport-udp)
|
||||
$(use_enable unordered-matching)
|
||||
@@ -92,11 +90,6 @@ src_configure() {
|
||||
else
|
||||
myconf+=( "--without-pmi" )
|
||||
fi
|
||||
if use transport-ib; then
|
||||
myconf+=( "--with-ofed=${EPREFIX}/usr" )
|
||||
else
|
||||
myconf+=( "--without-ofed" )
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
Reference in New Issue
Block a user