mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
science/ncnn: enable Vulkan support
Required by graphics/waifu2x-ncnn-vulkan PR: 241114 Approved by: yuri (maintainer)
This commit is contained in:
parent
4f9ebd5d92
commit
4769195fda
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=514864
@ -11,8 +11,6 @@ COMMENT= Scale and denoise images using convolutional neural networks
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BROKEN= https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241114
|
||||
|
||||
BUILD_DEPENDS= glslangValidator:devel/glslang \
|
||||
${LOCALBASE}/include/vulkan/vulkan.h:devel/vulkan-headers \
|
||||
${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader \
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= ncnn
|
||||
DISTVERSION= 20190908
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
@ -14,4 +15,13 @@ USES= cmake compiler:c11
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= Tencent
|
||||
|
||||
OPTIONS_DEFINE= VULKAN
|
||||
OPTIONS_DEFAULT=VULKAN
|
||||
|
||||
VULKAN_DESC= Vulkan compute support
|
||||
VULKAN_BUILD_DEPENDS= glslangValidator:devel/glslang \
|
||||
${LOCALBASE}/include/vulkan/vulkan.h:devel/vulkan-headers \
|
||||
${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader
|
||||
VULKAN_CMAKE_BOOL= NCNN_VULKAN
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user