-
Notifications
You must be signed in to change notification settings - Fork 25
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
WIP: automatically build libsndfile 1.1.0 on the CI with MP3 support #11
Conversation
Build and upload Windows libs.
According to the libsndfile documentation, the function sf_open_fd only works on Windows, if the libsndfile DLL is linked against the same version of the Microsoft C runtime DLL as python is. For Python 3.5+, this is Visual Studio 14.x, which is what this commit provides.
this seems to correctly build mpg123 and liblame, but none of the custom-built libraries are picked up by the libsndfile configure script. Possibly due to changes in libsndfile's build scripts?
because 2016 is deprecated and no longer builds
These are the latest CI builds for libsndfile 1.1.0 with MP3 support
The default still seems to be 1.0.31
Maybe that will make libsndfile 1.1.0 available?
@bastibe i was trying to build a macOS arm build on my m1. I had to remove
|
add macos arm64 build
…bsndfile-binaries into faroit-faroit/1.1.0-build-add_mac_arm
That looks promising! As far as I can tell, some people have managed to somehow get M1 runners working in the Github CI! To be honest, I don't fully understand how, though. |
This pull request updates build scripts and dependencies to build version 1.1.0 of libsndfile.
Working:
Workaround:
The windows builds rely on VCPKG to build libsndfile. VCPKG has been updated to libsndfile 1.1.0.
The macOS builder builds libsndfile on an Intel machine, and as far as I know, there aren't any macOS/arm runners available. Presumably, it should be possible to cross-compile arm binaries from an Intel machine, but I do not know how.
If you know how to cross-compile libsndfile and its dependencies from the macOS/Intel runners, please let me know! Providing a hand-built arm binary is also an option.