mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-16 07:18:30 +02:00
This commit adds a check for `WHISPER_SDL2` to the deprecation warning examples. This is to prevent the examples from being built when WHISPER_SDL2 is not enabled. The motivation for this is that currently these deprecation executables are generate and when run they refer the user to examples with other names, for example `whisper-command` but unless they have built with `WHISPER_SDL2` those executable will not be present: ```console $ ls build/bin/ bench command main quantize stream whisper-bench whisper-cli whisper-server $ ./build/bin/command WARNING: The binary 'command' is deprecated. Please use 'whisper-command' instead. See https://github.com/ggerganov/whisper.cpp/tree/master/examples/deprecation-warning/README.md for more information. ``` |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
deprecation-warning.cpp | ||
README.md |
Migration notice for binary filenames
Important
[2024 Dec 20] Binaries have been renamed w/ a
whisper-
prefix.main
is nowwhisper-cli
,server
iswhisper-server
, etc (https://github.com/ggerganov/whisper.cpp/pull/2648)
This migration was important, but it is a breaking change that may not always be immediately obvious to users.
Please update all scripts and workflows to use the new binary names.
Old Filename | New Filename |
---|---|
main | whisper-cli |
bench | whisper-bench |
stream | whisper-stream |
command | whisper-command |
server | whisper-server |
talk-llama | whisper-talk-llama |