draft windows arm support

This commit is contained in:
WarmUpTill
2026-07-13 21:19:02 +02:00
parent 3b63db2bde
commit 44f18d930e
12 changed files with 259 additions and 20 deletions

View File

@@ -12,6 +12,16 @@ if(NOT EXISTS "${WHISPER_DIR}/CMakeLists.txt")
return()
endif()
# whisper.cpp's ggml CPU backend requires clang on Windows ARM64 and fails with
# MSVC
if(OS_WINDOWS AND CMAKE_GENERATOR_PLATFORM STREQUAL "ARM64")
message(
WARNING
"Speech plugin is not supported on Windows ARM64 (requires clang)!\n"
"Speech condition will be disabled!")
return()
endif()
set(WHISPER_BUILD_TESTS
OFF
CACHE BOOL "" FORCE)