pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/ncnn: Enable vulkan support
Module Name: pkgsrc-wip
Committed By: Frédéric Fauberteau <frederic%fauberteau.org@localhost>
Pushed By: frederic
Date: Sat Dec 14 19:11:48 2024 +0100
Changeset: 2ef6902ac54bf1791ba6c2114109f95dea124b5c
Modified Files:
ncnn/Makefile
Log Message:
misc/ncnn: Enable vulkan support
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2ef6902ac54bf1791ba6c2114109f95dea124b5c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ncnn/Makefile | 9 +++++++++
1 file changed, 9 insertions(+)
diffs:
diff --git a/ncnn/Makefile b/ncnn/Makefile
index 6c46ab24f2..890baac7d1 100644
--- a/ncnn/Makefile
+++ b/ncnn/Makefile
@@ -3,6 +3,7 @@
DISTNAME= ncnn
GITHUB_TAG= 20240820
PKGNAME= ${DISTNAME}-${GITHUB_TAG}
+PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GITHUB:=Tencent/}
@@ -13,7 +14,15 @@ LICENSE= modified-bsd AND zlib AND 2-clause-bsd
USE_LANGUAGES= c c++
+CMAKE_CONFIGURE_ARGS+= -DNCNN_BUILD_TESTS=ON
+CMAKE_CONFIGURE_ARGS+= -DNCNN_SYSTEM_GLSLANG=ON
+CMAKE_CONFIGURE_ARGS+= -DNCNN_VULKAN=ON
+
.include "../../devel/cmake/build.mk"
.include "../../graphics/opencv/buildlink3.mk"
+.include "../../wip/vulkan-loader/buildlink3.mk"
+BUILDLINK_FILES.glslang+= bin/glslang bin/spirv-remap
+.include "../../wip/glslang/buildlink3.mk"
+.include "../../wip/spirv-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index