-
Notifications
You must be signed in to change notification settings - Fork 143
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
Update to use BinaryProvider #555
Conversation
Can we also now remove https://github.com/JuliaIO/HDF5.jl/blob/master/.travis.yml the hdf5 package downloads there ? |
There's a problem with Windows; investigating. It's more complex than just missing the MSVCR90 runtime, unfortunately. |
Do these release notes at all help from https://portal.hdfgroup.org/display/support/HDF5%201.10.4#releasenotes
|
Windows issues may be resolved through a new BP release, which is currently making its way into |
HDF5 version is 1.8 on windows, is this expected? |
Yes. We're getting it via msys2, which only builds version 1.8. I think that's not a problem for this package; HDF5.jl can deal with both versions. |
Ok I'm working on trying to build HDF5 using a Cygwin Host environment and mingw, the build is just taking forever. Would we be able to utilize those? I believe it should be compatible with Julia. |
Likely, yes. When you finish building it, upload them somewhere and I'll shove them through a BB audit pass to double-check. |
The windows tests work locally for me, but they're failing on Travis 32-bit, so I'm trying to figure out why that is. |
Okay so these are working now across all platforms. Yay! Here are the details:
In the future, it may be worthwhile to just manually compile tarballs with the compilers we know and trust, and bundle those up. Long-term, we should continue to improve BB to add in emulation capabilities such that the HDF5 cross-compilation process can actually be completed within the BB environment. |
4d55fdc
to
c14709f
Compare
If there are only small changes required to the HDF5 build process, we could also try to upstream those changes as well. |
The problem is that the HDF5 build process requires a lot of bootstrapped execution; they use their (compiled for target) binaries to generate source code that must then be compiled. The "manual compilation" here is not because the build system is broken, it's because we can't do it inside of BB, because we can't run things like windows executables inside of BB (yet). |
😱 |
steven johnson has been attempting to remove the compile-and-run checks to autoconf checks. He thinks it's feasible, but its a long slog. see https://github.com/stevengj/HDF5builder and its forks for progress. |
Pinging @stevengj so he knows about this. |
I've been trying to build windows binaries using a cygwin host and mingw-w64 compiler
Unfortunately the build stalls at
|
https://github.com/live-clones/hdf5/blob/f97ea92fe5450cefd4c4d9fb266e7f42a952f2f9/src/H5I.c#L2341 wow, they seem to just assume that |
@musm have you tried doing a verbose build? Try setting |
LGTM! |
Unfortunately the build keeps freezing. I will try through MSYS2 and see if that works. Thanks so much for this fantastic PR. |
Let's see if this passes tests!