Index: head/misc/mnn/Makefile =================================================================== --- head/misc/mnn/Makefile (revision 527317) +++ head/misc/mnn/Makefile (revision 527318) @@ -1,43 +1,45 @@ # $FreeBSD$ PORTNAME= mnn -DISTVERSION= 0.2.1.7 -PORTREVISION= 1 +DISTVERSION= 0.2.1.8 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Lightweight deep neural network inference engine LICENSE= APACHE20 BROKEN_i386= always_inline function '_mm_set1_ps' requires target feature 'sse', but would be inlined into function 'Vec4' that is compiled without support for 'sse' BUILD_DEPENDS= bash:shells/bash USES= cmake compiler:c++11-lang shebangfix USE_GITHUB= yes GH_ACCOUNT= alibaba GH_PROJECT= MNN SHEBANG_GLOB= *.sh USE_LDCONFIG= yes CXXFLAGS+= -pthread LDFLAGS+= -pthread CFLAGS+= -fPIC # workaround for https://github.com/alibaba/MNN/issues/553 CXXFLAGS+= -fPIC .include .if ${ARCH} != amd64 && ${ARCH} != i386 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} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ cd ${BUILD_WRKSRC} && ./run_test.out .include Index: head/misc/mnn/distinfo =================================================================== --- head/misc/mnn/distinfo (revision 527317) +++ head/misc/mnn/distinfo (revision 527318) @@ -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 Index: head/misc/mnn/pkg-plist =================================================================== --- head/misc/mnn/pkg-plist (revision 527317) +++ head/misc/mnn/pkg-plist (revision 527318) @@ -1,16 +1,17 @@ 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 include/MNN/MNNDefine.h include/MNN/MNNForwardType.h include/MNN/Matrix.h include/MNN/Rect.h include/MNN/Tensor.hpp include/MNN/expr/Expr.hpp include/MNN/expr/ExprCreator.hpp include/MNN/expr/MathOp.hpp include/MNN/expr/NeuralNetWorkOp.hpp include/MNN/expr/Optimizer.hpp lib/libMNN.so