benchmarks/vkmark: add new port

vkmark is an extensible Vulkan benchmarking suite with targeted,
configurable scenes.

https://github.com/vkmark/vkmark
This commit is contained in:
Jan Beich 2020-12-27 12:22:44 +00:00
parent 801730772c
commit 4b79f1f039
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559353
5 changed files with 104 additions and 0 deletions

View File

@ -102,6 +102,7 @@
SUBDIR += unixbench
SUBDIR += uperf
SUBDIR += vegeta
SUBDIR += vkmark
SUBDIR += webbench
SUBDIR += wrk

View File

@ -0,0 +1,49 @@
# $FreeBSD$
PORTNAME= vkmark
DISTVERSION= 2017.08-21
DISTVERSIONSUFFIX= -ge8c0720
CATEGORIES= benchmarks
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Vulkan benchmark
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING-LGPL2.1
BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers \
glm>0:math/glm
LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader \
libassimp.so:multimedia/assimp
USES= compiler:c++14-lang localbase meson pkgconfig
USE_GITHUB= yes
OPTIONS_DEFINE= DRM WAYLAND X11
OPTIONS_DEFAULT=DRM WAYLAND X11
OPTIONS_EXCLUDE=DRM # not supported yet
OPTIONS_SUB= yes
DRM_DESC= Windowless KMS/DRM support via GBM
DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm
DRM_USES= gl
DRM_USE= GL=gbm
DRM_MESON_TRUE= kms
WAYLAND_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
wayland-protocols>=1.12:graphics/wayland-protocols
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
WAYLAND_MESON_TRUE= wayland
X11_LIB_DEPENDS= libxcb-icccm.so:x11/xcb-util-wm
X11_USES= xorg
X11_USE= XORG=xcb
X11_MESON_TRUE= xcb
post-patch:
# Extract (snapshot) version from the port instead of meson.build
@${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \
-e '/project_version/s/@0@/${DISTVERSIONFULL}/' \
${WRKSRC}/meson.build
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1588522805
SHA256 (vkmark-vkmark-2017.08-21-ge8c0720_GH0.tar.gz) = e6d4d76e113f604d7bb07c142cfc705d4f9f9157482cac075c55da08befd5016
SIZE (vkmark-vkmark-2017.08-21-ge8c0720_GH0.tar.gz) = 718577

View File

@ -0,0 +1,4 @@
vkmark is an extensible Vulkan benchmarking suite with targeted,
configurable scenes.
WWW: https://github.com/vkmark/vkmark

View File

@ -0,0 +1,47 @@
bin/vkmark
%%DRM%%lib/vkmark/kms.so
%%WAYLAND%%lib/vkmark/wayland.so
%%X11%%lib/vkmark/xcb.so
man/man1/vkmark.1.gz
%%DATADIR%%/models/cat.3ds
%%DATADIR%%/models/cube.3ds
%%DATADIR%%/models/horse.3ds
%%DATADIR%%/models/kmscube.ply
%%DATADIR%%/shaders/desktop.frag
%%DATADIR%%/shaders/desktop.frag.spv
%%DATADIR%%/shaders/desktop.vert
%%DATADIR%%/shaders/desktop.vert.spv
%%DATADIR%%/shaders/effect2d-blur.frag
%%DATADIR%%/shaders/effect2d-blur.frag.spv
%%DATADIR%%/shaders/effect2d-edge.frag
%%DATADIR%%/shaders/effect2d-edge.frag.spv
%%DATADIR%%/shaders/effect2d-none.frag
%%DATADIR%%/shaders/effect2d-none.frag.spv
%%DATADIR%%/shaders/effect2d.vert
%%DATADIR%%/shaders/effect2d.vert.spv
%%DATADIR%%/shaders/light-advanced.frag
%%DATADIR%%/shaders/light-advanced.frag.spv
%%DATADIR%%/shaders/light-advanced.vert
%%DATADIR%%/shaders/light-advanced.vert.spv
%%DATADIR%%/shaders/light-basic-tex.frag
%%DATADIR%%/shaders/light-basic-tex.frag.spv
%%DATADIR%%/shaders/light-basic-tex.vert
%%DATADIR%%/shaders/light-basic-tex.vert.spv
%%DATADIR%%/shaders/light-basic.frag
%%DATADIR%%/shaders/light-basic.frag.spv
%%DATADIR%%/shaders/light-basic.vert
%%DATADIR%%/shaders/light-basic.vert.spv
%%DATADIR%%/shaders/light-cel.frag
%%DATADIR%%/shaders/light-cel.frag.spv
%%DATADIR%%/shaders/light-phong.frag
%%DATADIR%%/shaders/light-phong.frag.spv
%%DATADIR%%/shaders/light-phong.vert
%%DATADIR%%/shaders/light-phong.vert.spv
%%DATADIR%%/shaders/vkcube.frag
%%DATADIR%%/shaders/vkcube.frag.spv
%%DATADIR%%/shaders/vkcube.vert
%%DATADIR%%/shaders/vkcube.vert.spv
%%DATADIR%%/textures/crate-base.jpg
%%DATADIR%%/textures/desktop-background-1920x1080.png
%%DATADIR%%/textures/desktop-background-800x600.png
%%DATADIR%%/textures/desktop-window.png