Fix for Intel macs for whisper.cpp (#1225)

This commit is contained in:
Raivis Dejus 2025-08-30 10:46:45 +03:00 committed by GitHub
commit 15bbd010f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,7 +103,8 @@ ifeq ($(shell uname -s), Darwin)
ifeq ($(shell uname -m), arm64)
cmake -S whisper.cpp -B whisper.cpp/build/ -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DWHISPER_COREML=1
else
cmake -S whisper.cpp -B whisper.cpp/build/ -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
# Intel
cmake -S whisper.cpp -B whisper.cpp/build/ -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DGGML_VULKAN=0 -DGGML_METAL=0
endif
cmake --build whisper.cpp/build -j --config Release --verbose