2019-11-20 07:09:23 +01:00
|
|
|
PORTNAME= ensmallen
|
2021-08-04 04:48:03 +02:00
|
|
|
DISTVERSION= 2.17.0
|
2021-09-21 11:23:00 +02:00
|
|
|
PORTREVISION= 1
|
2019-11-20 07:09:23 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= https://ensmallen.org/files/
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Flexible C++ library for efficient mathematical optimization
|
|
|
|
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
|
2020-03-08 22:56:36 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/armadillo_bits/config.hpp:math/armadillo
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/include/armadillo_bits/config.hpp:math/armadillo
|
2019-11-20 07:09:23 +01:00
|
|
|
|
2020-03-30 01:11:38 +02:00
|
|
|
USES= cmake compiler:c++11-lang localbase
|
2021-08-04 06:46:21 +02:00
|
|
|
CMAKE_ON= BUILD_TESTS # will be removed
|
2019-11-20 07:09:23 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_ARCH= yes
|
|
|
|
|
2021-08-04 06:46:21 +02:00
|
|
|
do-test:
|
2019-11-20 07:09:23 +01:00
|
|
|
@cd ${BUILD_WRKSRC} && \
|
2021-08-04 06:46:21 +02:00
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ensmallen_tests && \
|
|
|
|
./ensmallen_tests
|
2019-11-20 07:09:23 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|