2018-03-12 09:56:30 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xtensor
|
2019-04-25 09:23:24 +02:00
|
|
|
DISTVERSION= 0.20.4
|
2018-03-12 09:56:30 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Multi-dimensional arrays with broadcasting and lazy computing
|
|
|
|
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2018-08-12 18:43:32 +02:00
|
|
|
BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json \
|
|
|
|
xtl-quant-stack>0:devel/xtl-quant-stack
|
|
|
|
RUN_DEPENDS= nlohmann-json>0:devel/nlohmann-json \
|
|
|
|
xtl-quant-stack>0:devel/xtl-quant-stack
|
|
|
|
TEST_DEPENDS= nlohmann-json>0:devel/nlohmann-json \
|
|
|
|
xtl-quant-stack>0:devel/xtl-quant-stack \
|
|
|
|
googletest>0:devel/googletest
|
2018-03-12 09:56:30 +01:00
|
|
|
|
|
|
|
USES= cmake
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= QuantStack
|
2018-12-23 00:22:49 +01:00
|
|
|
|
2018-03-12 09:56:30 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
NO_ARCH= yes
|
|
|
|
|
2018-03-14 03:14:19 +01:00
|
|
|
do-test:
|
2018-03-12 09:56:30 +01:00
|
|
|
@${RLN} ${STAGEDIR}${PREFIX}/include ${WRKSRC}/test/staged-include
|
|
|
|
@cd ${WRKSRC}/test && \
|
2018-03-21 04:45:55 +01:00
|
|
|
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} . && \
|
2018-03-14 03:14:19 +01:00
|
|
|
${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} && \
|
|
|
|
${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} xtest
|
2018-03-12 09:56:30 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|