From 911f21ad6f5d29e21574ce8b825a695cc7c85dda Mon Sep 17 00:00:00 2001 From: Raivis Dejus Date: Sun, 3 Nov 2024 15:52:59 +0200 Subject: [PATCH] Will build coreml support also with X86, so wheels build does not fail --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b05a7db07..0b1f78029 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ endif ifeq ($(shell uname -m), arm64) ifeq ($(shell uname -s), Darwin) rm -rf whisper.cpp/build || true - cmake -S whisper.cpp -B whisper.cpp/build/ $(CMAKE_FLAGS) -DWHISPER_COREML=1 -DCMAKE_OSX_ARCHITECTURES="arm64" + cmake -S whisper.cpp -B whisper.cpp/build/ $(CMAKE_FLAGS) -DWHISPER_COREML=1 cmake --build whisper.cpp/build --verbose cp whisper.cpp/build/bin/Debug/$(LIBWHISPER) buzz/libwhisper-coreml.dylib || true cp whisper.cpp/build/$(LIBWHISPER) buzz/libwhisper-coreml.dylib || true