blob: e4b0e42928414d2b8fbb11f2a7d3cb96502679b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="The Open Fabrics Interfaces (OFI) framework"
HOMEPAGE="http://libfabric.org/ https://github.com/ofiwg/libfabric"
SRC_URI="https://github.com/ofiwg/${PN}/releases/download/v${PV}/${P}.tar.bz2"
LICENSE="BSD GPL-2"
SLOT="0/1"
KEYWORDS="~amd64"
IUSE="cuda efa usnic rocr verbs"
DEPEND="
rocr? ( dev-libs/rocr-runtime:= )
usnic? ( dev-libs/libnl:= )
verbs? ( sys-fabric/libibverbs:= )
"
RDEPEND="
${DEPEND}
cuda? ( dev-util/nvidia-cuda-sdk )
"
BDEPEND="
virtual/pkgconfig
"
DOCS=(
AUTHORS
#CONTRIBUTORS
NEWS.md
README
#README.md
)
src_prepare() {
default
eautoreconf
}
src_configure() {
local myeconfargs=(
--disable-static
# let's try to avoid automagic deps
--enable-bgq=no
--enable-cuda-dlopen=$(usex cuda yes no)
--enable-efa=$(usex efa yes no)
--enable-gni=no
#--enable-gdrcopy-dlopen=no
--enable-mrail=yes
--enable-perf=no
# no psm libraries packaged that I can find (patches accepted)
--enable-psm=no
--enable-psm2=no
#--enable-psm3=no
--enable-rocr-dlopen=$(usex rocr yes no)
--enable-rstream=yes
--enable-rxd=yes
--enable-rxm=yes
--enable-sockets=yes
--enable-shm=yes
--enable-tcp=yes
--enable-udp=yes
--enable-usnic=$(usex usnic yes no)
--enable-verbs=$(usex verbs yes no)
--enable-xpmem=no
)
econf "${myeconfargs[@]}"
}
src_install() {
default
# no static archives
find "${ED}" -name '*.la' -delete || die
}
|