-
Notifications
You must be signed in to change notification settings - Fork 3
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
Apple Silicon not supported #17
Comments
Is it possible to remove GibbsSeaWater.jl's dependence on BinaryProvider.jl? It has not been updated for over 2 years. This prevents GibbsSeaWater.jl from working on any recent Macs. Most binary dependencies are built as JLL using BinaryBuilder.jl nowadays right? Can GibbsSeaWater.jl work that way as well? My work around is using GSW in python and do a PyCall. It works but I'd like to see a Julia native package. |
As I have no M1 Mac (I want it :)), I have not tested and I'm sorry that I respond to this too late. I have done now (but I can't test it on M1 Mac), please try @truedichotomy (pkg> add GibbsSeaWater#master). |
I just tried the updated master branch and encountered the following:
I see a couple of issues, one is the continued specified dependence on BinaryProvider.jl which presumably can simply be removed as I don't see any real dependence on it at a glance? Second, there is no binaries for aarch64 for macOS provided. Now I can build the binaries directly by compiling the GSW-C library manually on my mac and produce
|
For NCDatasets, we use the NetCDF binaries from by https://github.com/JuliaPackaging/Yggdrasil. Here is an initial test to include GSW: https://github.com/JuliaPackaging/Yggdrasil/blob/master/G/GibbsSeaWater/build_tarballs.jl Everytime you make a PR to this file, the script is run and new binaries are created here: https://github.com/JuliaBinaryWrappers/GibbsSeaWater_jll.jl/releases/tag/GibbsSeaWater-v3.5.0%2B0 (currently without M1 binary, because it was not a supported platform at the time). GibbsSeaWater.jl needs then only dependent on GibbsSeaWater_jll.jl which will define It might be sufficient to add a new line to this file to get a Mac M1 binary (which is now in |
@truedichotomy |
@kouketsu I'm able to install now but it wouldn't precompile.
|
Sorry, I've made a mistake in updating. |
Thank you! |
I was trying to install GibbsSeaWater on an Apple M1 laptop and got the following error:
The text was updated successfully, but these errors were encountered: