diff --git a/CMakeLists.txt b/CMakeLists.txt index 4c43e65b9..52e87b370 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,6 +89,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux") option(WHISPER_COMMON_FFMPEG "whisper: examples link with ffmpeg libs in order to decode more audio formats" OFF) endif() +option(GGML_VULKAN "ggml: support for Vulkan" OFF) option(WHISPER_COREML "whisper: enable Core ML framework" OFF) option(WHISPER_COREML_ALLOW_FALLBACK "whisper: allow non-CoreML fallback" OFF) option(WHISPER_OPENVINO "whisper: support for OpenVINO" OFF) diff --git a/README.md b/README.md index 2b62a6379..953c1bde0 100644 --- a/README.md +++ b/README.md @@ -340,6 +340,11 @@ Now build `whisper.cpp` with Vulkan support: cmake -B build -DGGML_VULKAN=1 cmake --build build -j --config Release ``` +with cmake +``` +cmake -B build -DGGML_VULKAN=1 +cmake --build build -j --config Release +``` ## AMD ROCm GPU support