Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cross-compile for Apple Silicon #14

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

tiero
Copy link

@tiero tiero commented Oct 17, 2023

This adds an aarch64-apple-darwin target to run on Apple Silicon devices

@tiero tiero marked this pull request as draft October 17, 2023 21:58
@tiero
Copy link
Author

tiero commented Oct 17, 2023

This didn't worked due this crate that does not provide and arm64 binary. Any pointer on this?

   = note: ld: in /Users/runner/work/whisper-cli-rs/whisper-cli-rs/target/aarch64-apple-darwin/release/deps/libwhisper_rs_sys-0b7fe0e9fb057516.rlib(whisper.cpp.o), archive member 'whisper.cpp.o' with length 370760 is not mach-o or llvm bitcode for architecture arm64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `whisper_cli` (bin "whisper") due to previous error
Error: Process completed with exit code 101.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant