From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/whisper-cpp/
Date: Tue, 22 Jul 2025 14:14:58 +0000 (UTC) [thread overview]
Message-ID: <1753150975.4164f3d5f13dcb85c1e6ae026c32cf7ce71abdb1.davidroman@gentoo> (raw)
commit: 4164f3d5f13dcb85c1e6ae026c32cf7ce71abdb1
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Tue Jul 22 02:22:55 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jul 22 02:22:55 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4164f3d5
app-accessibility/whisper-cpp: fix backends
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
.../whisper-cpp/whisper-cpp-1.7.6.ebuild | 23 ++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild b/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild
index 10391ce207..3ee2ef8265 100644
--- a/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild
+++ b/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild
@@ -17,17 +17,19 @@ S="${WORKDIR}/${MyP}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="blas cuda hip opencl sdl2"
+IUSE="blas cuda hip opencl sdl2 vulkan"
-DEPEND="blas? ( virtual/blas )
+CDEPEND="blas? ( sci-libs/openblas )
cuda? ( dev-util/nvidia-cuda-toolkit:= )
hip? ( sci-libs/hipBLAS:= )
opencl? ( sci-libs/clblast:= )
sdl2? ( media-libs/libsdl2:= )"
-RDEPEND="${DEPEND}"
-
-# Enabling multiple may lead to build failures, whisper-cpp won't use more than one either way
-REQUIRED_USE="?? ( blas cuda hip opencl )"
+DEPEND="${CDEPEND}
+ vulkan? ( dev-util/vulkan-headers )
+"
+RDEPEND="${CDEPEND}
+ vulkan? ( media-libs/vulkan-loader )
+"
src_configure() {
# Note: CUDA and HIP are currently untested. Build failures may occur.
@@ -35,10 +37,11 @@ src_configure() {
# -DWHISPER_BUILD_TESTS=$(usex test)
local mycmakeargs=(
-DWHISPER_BUILD_EXAMPLES=ON
- -DWHISPER_BLAS=$(usex blas)
- -DWHISPER_CLBLAST=$(usex opencl)
- -DWHISPER_CUBLAS=$(usex cuda)
- -DWHISPER_HIPBLAS=$(usex hip)
+ -DGGML_BLAS=$(usex blas)
+ -DGGML_CLBLAST=$(usex opencl)
+ -DGGML_CUBLAS=$(usex cuda)
+ -DGGML_HIPBLAS=$(usex hip)
+ -DGGML_VULKAN=$(usex vulkan)
-DWHISPER_SDL2=$(usex sdl2)
)
cmake_src_configure
next reply other threads:[~2025-07-22 14:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-22 14:14 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-22 9:09 [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/whisper-cpp/ David Roman
2025-07-14 0:03 Haelwenn Monnier
2025-07-13 11:42 Lucio Sauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1753150975.4164f3d5f13dcb85c1e6ae026c32cf7ce71abdb1.davidroman@gentoo \
--to=davidroman96@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox