| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/misc/frugally-deep/ |
Upload File : |
PORTNAME= frugally-deep
DISTVERSIONPREFIX= v
DISTVERSION= 0.15.18-p0
CATEGORIES= misc # deep-learning
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ header-only library to use Keras models in C++ with ease
WWW= https://github.com/Dobiasd/frugally-deep
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
HPP_DEPENDS= functionalplus>0:devel/functionalplus \
nlohmann-json>0:devel/nlohmann-json
BUILD_DEPENDS= ${HPP_DEPENDS}
RUN_DEPENDS= ${HPP_DEPENDS}
TEST_DEPENDS= doctest>0:devel/doctest \
${PYTHON_PKGNAMEPREFIX}keras>0:math/py-keras@${PY_FLAVOR}
USES= cmake compiler:c++14-lang eigen:3,build,run python:3.6+,test
USE_GITHUB= yes
GH_ACCOUNT= Dobiasd
NO_BUILD= yes
NO_ARCH= yes
BINARY_ALIAS= python3=${PYTHON_CMD}
do-test: # tests are broken because they require tensorflow which is currently not available on FreeBSD
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DFDEEP_BUILD_UNITTEST: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>