aboutsummaryrefslogtreecommitdiff
blob: b307cad344e798c88ad807e7ce41d580a413dc7e (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
# 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://evpath.net/
	https://www.cc.gatech.edu/systems/projects/EVPath/
	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"
PROPERTIES="test_network"

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
}