diff --git a/CMakeLists.txt b/CMakeLists.txt index be6db903..80e2785b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,6 +88,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux") option(WHISPER_FFMPEG "whisper: support building and linking with ffmpeg libs (avcodec, swresample, ...)" 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 783e4dbb..577a1fb6 100644 --- a/README.md +++ b/README.md @@ -330,6 +330,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 +``` ## BLAS CPU support via OpenBLAS