aboutsummaryrefslogtreecommitdiff
path: root/misc/mnn
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mnn')
-rw-r--r--misc/mnn/Makefile6
-rw-r--r--misc/mnn/distinfo6
-rw-r--r--misc/mnn/pkg-plist1
3 files changed, 8 insertions, 5 deletions
diff --git a/misc/mnn/Makefile b/misc/mnn/Makefile
index 2d368f1f6a91..215c52e081a3 100644
--- a/misc/mnn/Makefile
+++ b/misc/mnn/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= mnn
-DISTVERSION= 0.2.1.7
-PORTREVISION= 1
+DISTVERSION= 0.2.1.8
CATEGORIES= misc # machine-learning
MAINTAINER= yuri@FreeBSD.org
@@ -34,6 +33,9 @@ CMAKE_ARGS+= -DMNN_USE_AVX:BOOL=OFF \
-DMNN_USE_SSE:BOOL=OFF
.endif
+pre-build: # https://github.com/alibaba/MNN/issues/648
+ @cd ${WRKSRC}/schema && ./generate.sh
+
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DMNN_BUILD_TEST:BOOL=ON ${CMAKE_SOURCE_PATH} && \
diff --git a/misc/mnn/distinfo b/misc/mnn/distinfo
index a8dea9fcf517..4364adc891de 100644
--- a/misc/mnn/distinfo
+++ b/misc/mnn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1579372041
-SHA256 (alibaba-MNN-0.2.1.7_GH0.tar.gz) = 201f777bcc26d9b953e402a4028d026e04db84af89268282120236466b17745d
-SIZE (alibaba-MNN-0.2.1.7_GH0.tar.gz) = 5757531
+TIMESTAMP = 1582818374
+SHA256 (alibaba-MNN-0.2.1.8_GH0.tar.gz) = f8b0b1cac7204400efa28dae18f645d6cda7151f66cd3d805da09da58fb39e77
+SIZE (alibaba-MNN-0.2.1.8_GH0.tar.gz) = 5811539
diff --git a/misc/mnn/pkg-plist b/misc/mnn/pkg-plist
index c75c59f84b14..ce2a9be4ac55 100644
--- a/misc/mnn/pkg-plist
+++ b/misc/mnn/pkg-plist
@@ -1,5 +1,6 @@
include/MNN/AutoTime.hpp
include/MNN/ErrorCode.hpp
+include/MNN/expr/Executor.hpp
include/MNN/HalideRuntime.h
include/MNN/ImageProcess.hpp
include/MNN/Interpreter.hpp