[whisper-cpp] add optional backends as feature (#47377)

This commit is contained in:
_ _ 2025-09-18 22:48:33 +01:00 committed by GitHub
parent 007ac1eef3
commit f156fbc269
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 47 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"name": "whisper-cpp",
"version": "1.7.6",
"port-version": 1,
"port-version": 2,
"description": "Port of OpenAI's Whisper model in C/C++",
"homepage": "https://github.com/ggml-org/whisper.cpp",
"license": "MIT",
@ -15,5 +15,44 @@
"name": "vcpkg-cmake-config",
"host": true
}
]
],
"features": {
"cuda": {
"description": "Enable CUDA support for GPU acceleration",
"dependencies": [
"cuda",
{
"name": "ggml",
"features": [
"cuda"
]
}
]
},
"metal": {
"description": "Enable Metal support for GPU acceleration on macOS",
"supports": "osx",
"dependencies": [
{
"name": "ggml",
"features": [
"metal"
]
}
]
},
"vulkan": {
"description": "Enable Vulkan support for GPU acceleration",
"dependencies": [
{
"name": "ggml",
"features": [
"vulkan"
]
},
"vulkan",
"vulkan-headers"
]
}
}
}

View File

@ -10306,7 +10306,7 @@
},
"whisper-cpp": {
"baseline": "1.7.6",
"port-version": 1
"port-version": 2
},
"wiiuse": {
"baseline": "0.15.6",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "bf8841b8b8c125a25648f10f46ad37070775eba9",
"version": "1.7.6",
"port-version": 2
},
{
"git-tree": "4c0a04c25cdbeac34d8f47761d39c2a529234148",
"version": "1.7.6",