Builds HDF5 libraries (version 1.12.2) so that they can be used for linking in various Python packages.
This attempts to match the build process used by cibuildwheel
:
- For
manylinux_x86_64
, we create a Docker image based onquay.io/pypa/manylinux2014_x86_64
. These have HDF5 and friends installed in a standard location and should directly work withfind_package()
. One of the versioned images should be used with theCIBW_MANYLINUX_X86_64_IMAGE
option. - For
musllinux_x86_64
, we create a Docker image based onquay.io/pypa/musllinux_1_1_x86_64
. These have HDF5 and friends installed in a standard location and should directly work withfind_package()
. One of the versioned images should be used with theCIBW_MUSLLINUX_X86_64_IMAGE
option. - For
macosx_x86_64
, we build binaries using themacosx-11
runner. The resulting tarball should be unpacked to theinstalled
directory, which can then be set toCMAKE_INSTALL_PREFIX
forfind_package()
. - For
macosx_arm64
, we build binaries manually on an M2 with MacOSX 13 that I have lying around. (Not ideal, but until GitHub offers an M1/2 runner, it's the best I can do.) The resulting tarball should be unpacked to theinstalled
directory, which can then be set toCMAKE_INSTALL_PREFIX
forfind_package()
. - For
windows_x86_64
, we build binaries using thewindows-2019
runner. The resulting tarball should be unpacked to theinstalled
directory, which can then be set toCMAKE_INSTALL_PREFIX
forfind_package()
. Note that MSVC builds should also define theH5_BUILT_AS_DYNAMIC_LIB
macro.