blob: d5a031355fcc486d4ae552eb4f1033e5b09f0529 (
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
|
PORTNAME= mlpack
DISTVERSION= 4.0.1
PORTREVISION= 4
CATEGORIES= math # machine-learning
MASTER_SITES= https://mlpack.org/files/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fast, flexible machine learning library
WWW= https://www.mlpack.org/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_i386= undefined symbol: __atomic_load
HPP_DEPENDS= armadillo>0:math/armadillo \
cereal>0:devel/cereal \
ensmallen>0:math/ensmallen \
${LOCALBASE}/include/stb/stb_image.h:devel/stb
BUILD_DEPENDS= ${HPP_DEPENDS}
RUN_DEPENDS= ${HPP_DEPENDS}
USES= cmake:testing compiler:c++14-lang pkgconfig
CMAKE_ARGS= -DSTB_IMAGE_INCLUDE_DIR=${LOCALBASE}/include/stb
CMAKE_OFF= BUILD_PYTHON_BINDINGS BUILD_TESTS
CMAKE_TESTING_ON= BUILD_TESTS
BINARY_ALIAS= git=false
OPTIONS_DEFINE= EXECUTABLES
OPTIONS_DEFAULT= EXECUTABLES
OPTIONS_SUB= yes
EXECUTABLES_DESC= Build command-line executables
EXECUTABLES_CMAKE_BOOL= BUILD_CLI_EXECUTABLES
EXECUTABLES_VARS_OFF= NO_ARCH=yes
.include <bsd.port.mk>
|