Add ARM build

This commit is contained in:
Chidi Williams 2023-01-20 01:12:39 +00:00
commit 650c8dc5a4
3 changed files with 1342 additions and 1 deletions

2
.gitignore vendored
View file

@ -14,7 +14,7 @@ coverage.xml
/whisper_cpp
/whisper_cpp.exe
/whisper.dll
whisper_cpp.py
buzz/whisper_cpp.py
# Internationalization - compiled binaries
locale/**/*.mo

View file

@ -78,6 +78,7 @@ $(LIBWHISPER) whisper_cpp:
if [ $(UNAME_S) = "Darwin" ] && [ $(MAC_TYPE) = "arm64" ]; then \
cp bin/macos_arm64/libwhisper.dylib .; \
cp bin/macos_arm64/whisper_cpp .; \
cp bin/macos_arm64/whisper_cpp.py buzz; \
else \
cmake -S whisper.cpp -B whisper.cpp/build/ $(CMAKE_FLAGS); \
cmake --build whisper.cpp/build --verbose; \

File diff suppressed because it is too large Load diff