diff --git a/misc/ncnn/Makefile b/misc/ncnn/Makefile index 9aba054759b3..abead0028a46 100644 --- a/misc/ncnn/Makefile +++ b/misc/ncnn/Makefile @@ -1,28 +1,28 @@ PORTNAME= ncnn -DISTVERSION= 20210720 +DISTVERSION= 20211208 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= High-performance neural network inference framework LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= cmake compiler:c11 USE_GITHUB= yes GH_ACCOUNT= Tencent OPTIONS_DEFINE= VULKAN OPTIONS_DEFAULT= VULKAN VULKAN_DESC= Vulkan compute support VULKAN_BUILD_DEPENDS= glslang>0:graphics/glslang \ - ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers \ - ${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader + ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers +VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_CMAKE_BOOL= NCNN_VULKAN NCNN_SYSTEM_GLSLANG VULKAN_CMAKE_ON= -DGLSLANG_TARGET_DIR:PATH="${LOCALBASE}/lib/cmake" post-patch-VULKAN-on: @${REINPLACE_CMD} 's,/glslang,,' ${WRKSRC}/src/gpu.cpp .include diff --git a/misc/ncnn/distinfo b/misc/ncnn/distinfo index 695b98b04967..6eaf3732388d 100644 --- a/misc/ncnn/distinfo +++ b/misc/ncnn/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1627315803 -SHA256 (Tencent-ncnn-20210720_GH0.tar.gz) = a3f356a4efbdd26bac3f36229efb39d3d87e7d82b3bd855dbd2316152ce27024 -SIZE (Tencent-ncnn-20210720_GH0.tar.gz) = 11727894 +TIMESTAMP = 1640362196 +SHA256 (Tencent-ncnn-20211208_GH0.tar.gz) = 20d63bef0f87ef359d6f5dbd9fcfb7a81c3d98a27ec8ccb8ead6ec08188fe6ef +SIZE (Tencent-ncnn-20211208_GH0.tar.gz) = 11932276 diff --git a/misc/ncnn/pkg-plist b/misc/ncnn/pkg-plist index 4aea9d0b8267..31317569112f 100644 --- a/misc/ncnn/pkg-plist +++ b/misc/ncnn/pkg-plist @@ -1,30 +1,37 @@ +bin/darknet2ncnn +bin/mxnet2ncnn +bin/ncnn2int8 +bin/ncnn2mem +bin/ncnn2table +bin/ncnnmerge +bin/ncnnoptimize include/ncnn/allocator.h include/ncnn/benchmark.h include/ncnn/blob.h include/ncnn/c_api.h include/ncnn/command.h include/ncnn/cpu.h include/ncnn/datareader.h include/ncnn/gpu.h include/ncnn/layer.h include/ncnn/layer_shader_type.h include/ncnn/layer_shader_type_enum.h include/ncnn/layer_type.h include/ncnn/layer_type_enum.h include/ncnn/mat.h include/ncnn/modelbin.h include/ncnn/ncnn_export.h include/ncnn/net.h include/ncnn/option.h include/ncnn/paramdict.h include/ncnn/pipeline.h include/ncnn/pipelinecache.h include/ncnn/platform.h include/ncnn/simpleocv.h include/ncnn/simpleomp.h include/ncnn/simplestl.h include/ncnn/vulkan_header_fix.h lib/cmake/ncnn/ncnn-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/ncnn/ncnn.cmake lib/cmake/ncnn/ncnnConfig.cmake lib/libncnn.a