Skip to content

Releases: geospace-code/h5fortran

autobuild hdf5: also autobuild if HDF5 configure test fails

08 Oct 02:43
d6b1c16
Compare
Choose a tag to compare

CI: all use autobuild, break tasks into flows (parallel runs)

vendor CMake 3.18.3 FindHDF5.cmake

30 Sep 20:13
32d1b6d
Compare
Choose a tag to compare

To greatly increase robustness of FindHDF5, vendor CMake 3.18.3. This is because HDF Group is changing HDF5 library names, and sometimes new bugs are introduced by Kitware when others are fixed.

workaround HDFGroup HDF5 autobuild bugs

30 Sep 13:31
f0ce990
Compare
Choose a tag to compare

beta: workaround for HDFGroup HDF5 CMake bugs to allow HDF5 autobuild.
Tested with

  • Intel Fortran (Windows)
  • GCC (Windows, Linux)

improve HDF5 build script

24 Sep 03:12
e55be0e
Compare
Choose a tag to compare

deduced that HDF5's CMakeLists has problems including

  • cannot always build in parallel
  • rebuild avoidance is completely broken

as a result, workaround these issues by using one-time install scripts. Other projects have forked HDF5 to workaround these issues internally but we would like to avoid yet another HDF5 fork.

HDF5 library manual build scripts

18 Sep 19:31
e4bd6f1
Compare
Choose a tag to compare

If necessary, we provide two ways to build HDF5.

  • CMake: the CMAKE_INSTALL_PREFIX variable defaults to ~/libs/hdf5-*
  • Python

The autobuild option was too shaky as HDF5 itself has shaky CMake script that is not reliable enough to use the technique we use for libraries like Lapack, Scalapack and Mumps.

add h5fortran_BUILD_TESTING variable

16 Sep 04:27
6bdb8d5
Compare
Choose a tag to compare

this allows easier control from externalProject as option() (here implicit) overrides the CMAKE_ARGS

autobuild hdf5: limit parallel build

16 Sep 03:59
61738cc
Compare
Choose a tag to compare

CMake is more correct about using physical CPU core count than GNU Make, so limit with CMake's count when possible. Otherwise the PC can nearly freeze while building HDF5.

HDF5 autobuild option

16 Sep 03:40
23846c7
Compare
Choose a tag to compare

Using the HDF Group HDF5 Git repo, allow autobuilding a recent release of HDF5 if the system HDF5 library is not available or not working

add BUILD_TESTING option, tighten up HDF5::HDF5 target

15 Sep 18:05
c9f7121
Compare
Choose a tag to compare

bugfix and enhancements

08 Sep 13:07
697da92
Compare
Choose a tag to compare
  • bugfix: check read/write shape determination to use if(present(stride)) properly, this avoided runtime errors when stride wasn't specified (read intel, write gcc)
  • add HDF5::HDF5 imported target
  • improve documentation and CMake for Intel Fortran with HDF5.
  • determine need for szip via Hdf5 header