rasterio / rasterio-wheels

MIT License
11 stars 16 forks source link

HDF5 cross-compilation issues block macosx arm64 wheels #75

Closed sgillies closed 1 year ago

sgillies commented 2 years ago

HDF5's configure needs to run some system tests, but when cross compiling the test programs can't be run on the build host. It looks like the conda-forge project has a solution in https://github.com/conda-forge/hdf5-feedstock/pull/145/files. We need much of this, but not all (no fortran or MPI needed), if we want to make macosx arm64 wheels with HDF5/netcdf drivers on an ordinary GitHub Actions x86_64 runner.

Kicking HDF5/netcdf out of these wheel profiles is another option.

snowman2 commented 2 years ago

Is this still possible in Travis? If so, maybe run OSX builds in Travis until a workaround is found?

sgillies commented 2 years ago

It's an option. Not a free one, though.

dg0yt commented 2 years ago

FTR it is possible to cross-build hdf5 if someone could provide the output of the test programs from a native build. (And I think it could be integrated in the vcpkg port...)

snowman2 commented 2 years ago

Cirrus CI has ARM64 runners: https://github.com/pyproj4/pyproj/pull/1173

sgillies commented 1 year ago

Checking out Cirrus today.

sgillies commented 1 year ago

Sorta making some progress https://cirrus-ci.com/github/rasterio/rasterio-wheels/issue75 maybe?

snowman2 commented 1 year ago

Thanks @sgillies :+1:

https://github.com/rasterio/rasterio-wheels/pull/99