aboutsummaryrefslogtreecommitdiff
path: root/devel/dmlc-core/Makefile
blob: 0d37d5f78eec870104ba7f3a52a38c8bef7af2f8 (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
PORTNAME=	dmlc-core
DISTVERSIONPREFIX=	v
DISTVERSION=	0.3-123
DISTVERSIONSUFFIX=	-gb3a4c71
CATEGORIES=	devel # machine-learning

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Common library for scalable and portable distributed machine learning
WWW=		https://github.com/dmlc/dmlc-core

LICENSE=	APACHE20

USES=		cmake compiler:c++11-lang
USE_GITHUB=	yes
GH_ACCOUNT=	dmlc
USE_LDCONFIG=	yes

CMAKE_ON=	BUILD_SHARED_LIBS

.if !exists(/usr/include/omp.h)
CMAKE_ARGS+=	-DUSE_OPENMP:BOOL=OFF
.endif

.include <bsd.port.mk>