blob: b05a200f5b2b32bbc7452a2a779cb4d99b84422e (
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
|
PORTNAME= taskflow
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.0
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Header-only library for parallel tasks in modern C++
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake compiler:c++17-lang
USE_GITHUB= yes
CMAKE_OFF= TF_BUILD_CUDA TF_BUILD_TESTS TF_BUILD_EXAMPLES
NO_ARCH= yes
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON -DTF_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
.include <bsd.port.mk>
|