Using Preferences.jl for the settings to use custom binaries is great! But the method to set this up is now less convenient. Instead of being able to do something short like
ENV["JULIA_HDF5_PATH"] = "/path/to/hdf5/dir"
using Pkg, Pkg.build()
it is now necessary to import Preferences, create two separate paths, and give them both to set_preferences!(). It would be lovely to wrap up the process in a convenience function (copying the name from the MPI.jl equivalent), e.g.
using HDF5
HDF5.use_system_binary("/path/to/hdf5/dir")
If it was possible to auto-detect the directory for system binaries in common cases, that would be awesome, but I don't know how possible that is - maybe parse the output of h5cc -show?
Using
Preferences.jl
for the settings to use custom binaries is great! But the method to set this up is now less convenient. Instead of being able to do something short likeit is now necessary to import
Preferences
, create two separate paths, and give them both toset_preferences!()
. It would be lovely to wrap up the process in a convenience function (copying the name from the MPI.jl equivalent), e.g.If it was possible to auto-detect the directory for system binaries in common cases, that would be awesome, but I don't know how possible that is - maybe parse the output of
h5cc -show
?