-
Notifications
You must be signed in to change notification settings - Fork 142
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
Switch to Preferences for using system hdf5 #1037
Comments
Unfortunately setting the HDF5_jll paths can then break other packages, like NetCDF_jll. |
How so? |
Because the library in NetCDF_jll is linked against the library name which includes the version number, and this may not be the same as on the system: |
Ah yes. That situation is particularly confusing. Would a symlink work? Is there another solution that works better? |
I'm this particular case perhaps you should just rebuild the NetCDF and HDF5 JLLs... then maintain a fork. |
Also have we considered using Preferences.jl separately from the JLL override mechanism? |
What's the status of this issue? It would indeed be nice to switch to Preferences. |
This is probably the easiest option for now. PRs welcome? |
Technically this is already possible, by overriding the HDF5_jll paths, e.g. https://github.com/CliMA/ClimaCore.jl/blob/3e250b1f75d3bd3f4f7353cb9c1892e318b9e809/.buildkite/JuliaProject.toml
However I'm not sure that this will work on systems where JLL's aren't already available.
The text was updated successfully, but these errors were encountered: