-
Notifications
You must be signed in to change notification settings - Fork 558
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
HDF5: Cross-compile #6551
HDF5: Cross-compile #6551
Conversation
Now that this is working I'd be happy about feedback: Questions:
|
CC @mkitti |
Oh neat. We're still filling in predetermined values though, right? |
You should use the C API.
This is due to the read-only S3 driver, ROS3. If you enable that you will pick up the dependency. Also, we should enable SZIP.
|
Cc: @simonbyrne @musm |
@simonbyrne are you interested in doing anything with MPI here? |
@mkitti Yes, we're using predetermined values. The values mostly describe floating point layouts, in particular for long double. For Linux I used Docker and QEMU to determine the values, for Apple they are documented, and for Windows they seem to be the same as for Linux. HDF5 offers different APIs (called I can add the S3 driver and SZIP. I also want to enable the C++ and Fortran APIs so that other packages can be built against this HDF5 library. I'm also thinking of enabling MPI. |
Woohoo! Thanks @eschnett!
I don't think that's right:
These are for backward compatibility (i.e.
That would be very handy! |
Ah, that is for MSVC; we're using mingw so i guess it is 80-bit (this is all confusing) |
I just upgraded NetCDF_jll to version 4.9.2 (but leaving the HDF5 compat bound unchanged I did not notice any issues running my package NCDatasets.jl with this NetCDF_jll. https://github.com/Alexander-Barth/NCDatasets.jl/actions/runs/4830631528
Yes, I think there was an issue on Windows if I remember correctly. |
Can you try with https://github.com/eschnett/HDF5_jll.jl? |
But the fact that the soname changed |
So I did this #6707, with a |
See what I did here for OpenSSL: @DilumAluthge also has this tool: https://github.com/JuliaRegistries/RetroCap.jl |
HDF5 1.14.1 is now out. |
Of course it is... I'm busy with another project this week so there won't be progress, and the next steps are adding the compat bounds anyway. |
I would not recommend shifting over to HDF5 1.14.1 in this pull request. |
I agree. |
General registry cap at JuliaRegistries/General#84160 |
So now we should be good to go? |
As a HDF5.jl maintainer, this is good to go. |
@eschnett I wanted to bring to attention the latest changes in HDF5 (e.g., HDFGroup/hdf5#3104) |
Oh we're quite aware of that pull request. It may even be a direct consequence of this pull request since I told them what we were doing a few weeks before they committed to it. |
Build HDF5 by cross-compiling instead of by downloading Conda packages.