mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
98a5bad457
../src/vkoverhead.c:859:18: error: incompatible pointer to integer conversion initializing 'VkPipeline' (aka 'unsigned long long') with an expression of type 'void *' [-Werror,-Wint-conversion] VkPipeline pipeline = he->data; ^ ~~~~~~~~ ../src/vkoverhead.c:3084:63: error: incompatible integer to pointer conversion passing 'VkPipeline' (aka 'unsigned long long') to parameter of type 'void *' [-Werror,-Wint-conversion] _mesa_hash_table_insert(&gpl_pipeline_table, key, pipeline_gpl_vert_final[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../util/hash_table.h:92:71: note: passing argument to parameter 'data' here _mesa_hash_table_insert(struct hash_table *ht, const void *key, void *data); ^ Reported by: pkg-fallout
33 lines
959 B
Makefile
33 lines
959 B
Makefile
PORTNAME= vkoverhead
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.2
|
|
CATEGORIES= benchmarks
|
|
|
|
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
|
PATCHFILES+= 1a37beb59ac8.patch:-p1 # https://github.com/zmike/vkoverhead/pull/18
|
|
PATCHFILES+= 62c8ad1a795f.patch:-p1 # https://github.com/zmike/vkoverhead/pull/12
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
COMMENT= Evaluate CPU overhead of Vulkan drivers
|
|
WWW= https://github.com/zmike/vkoverhead
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BROKEN_armv7= fails to build due -Werror=int-conversion
|
|
BROKEN_i386= fails to build due -Werror=int-conversion
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR}
|
|
RUN_DEPENDS= vulkan-loader>0:graphics/vulkan-loader
|
|
|
|
USES= compiler:c11 meson python:build
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= zmike
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
post-patch:
|
|
# Derive Python version from Meson
|
|
@${REINPLACE_CMD} -e "s,'python3',," ${WRKSRC}/meson.build
|
|
|
|
.include <bsd.port.mk>
|