blob: becebbac2e95af8ea039a1230e9cdbffc2c3d526 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
PORTNAME= nn-insight
DISTVERSION= 1.0.7
PORTREVISION= 6
CATEGORIES= misc # machine-learning
MAINTAINER= yuri@FreeBSD.org
COMMENT= Neural network visualization software
WWW= https://github.com/yurivict/nn-insight
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= avir>0:graphics/avir \
${LOCALBASE}/include/exprtk.hpp:math/exprtk \
flatc:devel/flatbuffers \
half>0:math/half \
nlohmann-json>0:devel/nlohmann-json \
png++>0:graphics/png++
LIB_DEPENDS= libcgraph.so:graphics/graphviz \
libpng.so:graphics/png \
libQCustomPlot-qt5.so:graphics/qcustomplot-qt5 \
libtcmalloc.so:devel/google-perftools
USES= compiler:c++17-lang cmake pkgconfig qt:5
USE_QT= core gui svg widgets buildtools:build qmake:build
USE_GITHUB= yes
GH_ACCOUNT= yurivict
PLIST_FILES= bin/nn-insight \
libexec/nn-insight/tf-lite-plugin.so
PORTSCOUT= limit:^.*[1-9]\. # prevent hashes
OPTIONS_DEFINE= NATIVE
NATIVE_DESC= Build with native optimizations (-march=native)
NATIVE_CMAKE_BOOL= ENABLE_NATIVE_OPTIMIZATIONS
.include <bsd.port.mk>
|