aboutsummaryrefslogtreecommitdiff
path: root/misc/ncnn/Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-10-03 04:22:08 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-10-03 04:23:16 +0000
commitfd1baafab6fcc07776431b26eb32df272efa19a0 (patch)
tree67253e6096bdf067f1cc8a2e07772566eab4968f /misc/ncnn/Makefile
parent7b233cfb3f64f3fde445acefefad567da245367c (diff)
downloadports-fd1baafab6fcc07776431b26eb32df272efa19a0.tar.gz
ports-fd1baafab6fcc07776431b26eb32df272efa19a0.zip
misc/ncnn: Update 20220701 -> 20220729
Reported by: portscout
Diffstat (limited to 'misc/ncnn/Makefile')
-rw-r--r--misc/ncnn/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/misc/ncnn/Makefile b/misc/ncnn/Makefile
index 3e4a4fa32524..9fba11e04e01 100644
--- a/misc/ncnn/Makefile
+++ b/misc/ncnn/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ncnn
-DISTVERSION= 20220701
+DISTVERSION= 20220729
CATEGORIES= misc # machine-learning
MAINTAINER= yuri@FreeBSD.org
@@ -11,11 +11,15 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libprotobuf.so:devel/protobuf
-USES= cmake compiler:c11
+USES= cmake:testing
+USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= Tencent
+#CMAKE_ON= NCNN_SHARED_LIB NCNN_ENABLE_LTO # NCNN_SHARED_LIB=ON causes variability in the shared library name, see https://github.com/Tencent/ncnn/issues/4234
+CMAKE_TESTING_ON= NCNN_BUILD_TESTS # in order to run tests please disable NCNN_SHARED_LIB above; many tests fail, see https://github.com/Tencent/ncnn/issues/4233
+
OPTIONS_DEFINE= VULKAN
OPTIONS_DEFAULT= VULKAN