diff options
Diffstat (limited to 'misc/mnn/Makefile')
-rw-r--r-- | misc/mnn/Makefile | 6 |
1 files changed, 4 insertions, 2 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} && \ |