summaryrefslogtreecommitdiff
path: root/databases/arrow/Makefile
blob: 0a6a6ad6c8f967cd314f0d395e5dc1a5fdb8aecc (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
PORTNAME=	arrow
DISTVERSION=	1.0.1
CATEGORIES=	databases
MASTER_SITES=	https://mirrors.advancedhosters.com/apache/${PORTNAME}/${PORTNAME}-${DISTVERSION}/
DISTNAME=	apache-${PORTNAME}-${DISTVERSION}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Columnar in-memory analytics layer for big data

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/../LICENSE.txt

BROKEN_riscv64=		fails to compile: /nxb-bin/usr/lib/clang/11.0.0/include/mmintrin.h:33:5: use of undeclared identifier '__builtin_ia32_emms'

LIB_DEPENDS=	libboost_system.so:devel/boost-libs

USES=		cmake compiler:c++11-lang pkgconfig
USE_LDCONFIG=	yes

WRKSRC_SUBDIR=	cpp

CMAKE_OFF=	ARROW_BUILD_STATIC

OPTIONS_GROUP=		COMPRESSION
OPTIONS_GROUP_COMPRESSION=	BROTLI BZ2 LZ4 SNAPPY ZLIB ZSTD
OPTIONS_DEFAULT=	BROTLI BZ2 LZ4 SNAPPY ZLIB ZSTD

COMPRESSION_DESC=	Compression support:

BROTLI_CMAKE_BOOL=	ARROW_WITH_BROTLI
BROTLI_LIB_DEPENDS=	libbrotlicommon.so:archivers/brotli

BZ2_DESC=		bz2 compression support
BZ2_CMAKE_BOOL=		ARROW_WITH_BZ2

LZ4_CMAKE_BOOL=		ARROW_WITH_LZ4
LZ4_LIB_DEPENDS=	liblz4.so:archivers/liblz4

SNAPPY_CMAKE_BOOL=	ARROW_WITH_SNAPPY
SNAPPY_LIB_DEPENDS=	libsnappy.so:archivers/snappy

ZLIB_CMAKE_BOOL=	ARROW_WITH_ZLIB

ZSTD_DESC=		zstd compression support
ZSTD_CMAKE_BOOL=	ARROW_WITH_ZSTD
ZSTD_LIB_DEPENDS=	libzstd.so:archivers/zstd

.include <bsd.port.mk>