blob: 4bd29fec8f2a7860a76c8696579463ded0df03c5 (
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
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
COMMIT="77f54fac21cb4452057b2b9c8d285e9084309dbc"
DESCRIPTION="EVpath is an event transport middleware layer"
HOMEPAGE="https://github.com/GTkorvo/evpath"
SRC_URI="https://github.com/GTKorvo/${PN}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="enet infiniband libfabric test udt4" # nvml nnti
RDEPEND="
dev-libs/atl
dev-libs/dill
dev-libs/ffs
enet? ( net-libs/enet )
infiniband? ( sys-block/libfabric )
libfabric? ( sys-block/libfabric )
test? ( virtual/mpi[cxx] )
udt4? ( >net-libs/udt-4.11 )
"
DEPEND="${RDEPEND}"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DEVPATH_INSTALL_HEADERS=ON
-DEVPATH_INSTALL_PKGCONFIG=ON
-DEVPATH_QUIET=OFF
-DEVPATH_USE_NNTI=OFF
-DEVPATH_USE_NVML=OFF
-DBUILD_TESTING=$(usex test)
-DEVPATH_USE_ENET=$(usex enet)
-DEVPATH_USE_IBVERBS=$(usex infiniband)
-DEVPATH_USE_LIBFABRIC=$(usex libfabric)
-DEVPATH_USE_UDT4=$(usex udt4)
)
# -DEVPATH_USE_ZPL_ENET=$(usex enet)
cmake_src_configure
}
|