summaryrefslogtreecommitdiff
path: root/net-p2p/aeron/Makefile
blob: 29e494e63b970fc10cc31f6e2ba6d1b7cb0a3a9f (plain) (blame)
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
PORTNAME=	aeron
DISTVERSION=	1.47.3
CATEGORIES=	net-p2p

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Reliable UDP unicast, UDP multicast, and IPC message transport
WWW=		https://aeron.io/ \
		https://github.com/real-logic/aeron

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

ONLY_FOR_ARCHS=	aarch64 amd64 # limited in aeron-client/src/main/c/concurrent/aeron_atomic.h

LIB_DEPENDS=	libuuid.so:misc/e2fsprogs-libuuid # only for uuid_generate
TEST_DEPENDS=	googletest>0:devel/googletest

USES=		cmake:testing localbase:ldflags

USE_GITHUB=	yes
GH_ACCOUNT=	real-logic

CMAKE_OFF=	${CMAKE_TESTING_ON} \
		AERON_BUILD_SAMPLES \
		BUILD_AERON_ARCHIVE_API
CMAKE_OFF+=	FETCHCONTENT_FULLY_DISCONNECTED

CMAKE_TESTING_ON=	AERON_TESTS \
			AERON_UNIT_TESTS \
			AERON_SYSTEM_TESTS \
			AERON_SLOW_SYSTEM_TESTS

LDFLAGS+=	-lm \
		-luuid

TESTING_UNSAFE=	tests as of 1.44.6: 89% tests passed, 15 tests failed out of 131, see https://github.com/real-logic/aeron/issues/1696

.include <bsd.port.mk>