svn commit: r521406 - in head/misc: . mnn
Yuri Victorovich
yuri at FreeBSD.org
Sun Dec 29 18:52:49 UTC 2019
Author: yuri
Date: Sun Dec 29 18:52:47 2019
New Revision: 521406
URL: https://svnweb.freebsd.org/changeset/ports/521406
Log:
New port: misc/mnn: Lightweight deep neural network inference engine
Added:
head/misc/mnn/
head/misc/mnn/Makefile (contents, props changed)
head/misc/mnn/distinfo (contents, props changed)
head/misc/mnn/pkg-descr (contents, props changed)
head/misc/mnn/pkg-plist (contents, props changed)
Modified:
head/misc/Makefile
Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile Sun Dec 29 17:47:31 2019 (r521405)
+++ head/misc/Makefile Sun Dec 29 18:52:47 2019 (r521406)
@@ -250,6 +250,7 @@
SUBDIR += mirmon
SUBDIR += mmdnn
SUBDIR += mmv
+ SUBDIR += mnn
SUBDIR += molequeue
SUBDIR += morse
SUBDIR += mtail
Added: head/misc/mnn/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/mnn/Makefile Sun Dec 29 18:52:47 2019 (r521406)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME= mnn
+DISTVERSION= 0.2.1.5
+CATEGORIES= misc # machine-learning
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Lightweight deep neural network inference engine
+
+LICENSE= APACHE20
+
+BUILD_DEPENDS= bash:shells/bash
+
+USES= cmake shebangfix
+USE_GITHUB= yes
+GH_ACCOUNT= alibaba
+GH_PROJECT= MNN
+SHEBANG_GLOB= *.sh
+USE_LDCONFIG= yes
+
+CXXFLAGS+= -pthread
+LDFLAGS+= -pthread
+
+do-test:
+ @cd ${BUILD_WRKSRC} && \
+ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DMNN_BUILD_TEST:BOOL=ON ${CMAKE_SOURCE_PATH} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+ (cd ${BUILD_WRKSRC} && ./run_test.out)
+
+.include <bsd.port.mk>
Added: head/misc/mnn/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/mnn/distinfo Sun Dec 29 18:52:47 2019 (r521406)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1577642007
+SHA256 (alibaba-MNN-0.2.1.5_GH0.tar.gz) = bc8cb1356533d60b10c8dc14cb9b332ac16e95e41c215cc1dcff00d7731f7513
+SIZE (alibaba-MNN-0.2.1.5_GH0.tar.gz) = 6853015
Added: head/misc/mnn/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/mnn/pkg-descr Sun Dec 29 18:52:47 2019 (r521406)
@@ -0,0 +1,4 @@
+MNN is a lightweight deep neural network inference engine. It loads models and
+do inference on devices.
+
+WWW: https://github.com/alibaba/MNN
Added: head/misc/mnn/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/mnn/pkg-plist Sun Dec 29 18:52:47 2019 (r521406)
@@ -0,0 +1,17 @@
+include/AutoTime.hpp
+include/ErrorCode.hpp
+include/Expr.hpp
+include/ExprCreator.hpp
+include/HalideRuntime.h
+include/ImageProcess.hpp
+include/Interpreter.hpp
+include/MNNDefine.h
+include/MNNForwardType.h
+include/MathOp.hpp
+include/Matrix.h
+include/NeuralNetWorkOp.hpp
+include/Optimizer.hpp
+include/Rect.h
+include/Tensor.hpp
+lib/libMNN.so
+lib/libMNN_Express.so
More information about the svn-ports-all
mailing list