git: 183706c5225d - main - audio/whisper.cpp: Fix tests when Vulkan is used

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 05 Sep 2025 05:08:32 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=183706c5225d2169ecb8805b443d3b3aee504036

commit 183706c5225d2169ecb8805b443d3b3aee504036
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-09-04 07:55:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-09-05 05:08:29 +0000

    audio/whisper.cpp: Fix tests when Vulkan is used
---
 audio/whisper.cpp/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/audio/whisper.cpp/Makefile b/audio/whisper.cpp/Makefile
index 93e68f87929e..757869e17f2a 100644
--- a/audio/whisper.cpp/Makefile
+++ b/audio/whisper.cpp/Makefile
@@ -12,7 +12,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libggml.so:misc/ggml
 
-USES=		cmake
+USES=		cmake:testing
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
@@ -31,6 +31,8 @@ OPTIONS_SUB=		yes
 
 EXAMPLES_CMAKE_BOOL=	WHISPER_BUILD_EXAMPLES
 
+MAKE_JOBS_UNSAFE=	yes # for tests to suceed on smaller Vulkan devices: they fail to allocate memory otherwise
+
 post-install:
 	${INSTALL_SCRIPT} \
 		${WRKSRC}/models/download-ggml-model.sh \