-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
whisper-rs-sys fails to build on macOS #180
Comments
ec609f1 this seems to be the root cause, you can disable the default features (which enable openmp, which causes this link failures), especially if you're planning on using metal, and it should start building! |
I am experiencing the same build error:
This error occurs when I build with the following entry in my Cargo.toml:
However, the build works fine with the previous commit 67924ca. @arizhih |
@arizhih |
Thanks all! |
Hitting the error described below … happy to help debug further!
Tried building
full_usage
at first. I changedCargo.toml
to include:Then tried reproducing it trying to build In the
sys
directory for the same result.Not sure if it's still required, but I have in
~/.cargo/config.toml
, doesn't seem to change the output either way.I looked in the
target/debug/build/whsiper-rs-sys-xxx/out
directory and foundbuild/src/libwhisper.coreml.a
which was not present inlib
. I tried copying that file over, but then get a different linking error:I can build
whisper-cpp
from its top of tree just fine, withWHSPER_COREML=1
set as an environment variable. So I knowwhisper-cpp
does work on this system.The text was updated successfully, but these errors were encountered: