Skip to content

Releases: geospace-code/h5fortran

add HDF5 softlink creation

25 Nov 21:22
9b56bd6
Compare
Choose a tag to compare

also, make H5pubconf.h detection and action more robust--if we can't detect the HDF5 configuration, it's better to build our own rather than emit huge amount of link-time errors.

Cmake / CI template

22 Nov 19:27
fa95c81
Compare
Choose a tag to compare
v3.4.2

cmake policy template

enhanced FindHDF5 and build_hdf5.py

02 Nov 20:23
560ff69
Compare
Choose a tag to compare
  • build_hdf5.py now works much better, building in paralllel across more compilers and operating systems, including MacOS, Linux, Windows with GCC or Intel compilers
  • FindHDF5.cmake finds optional f90 stubs that some HDF5 implementations require
  • Zlib is now optional--but naturally h5fortran can't read/write compressed files without zlib

New FindHDF5.cmake

02 Nov 02:13
a8a1c06
Compare
Choose a tag to compare

Since CMake FindHDF5.cmake targets different use cases than are important for h5fortran, we created from scratch a new FindHDF5.cmake that addresses key needs including

  • don't use compiler wrapper, pkg-config as these are too often broken
  • test that each language links before declaring HDF5_FOUND

This allows removing numerous hacks and makes finding a working HDF5 much more robust.
Please let us know if this is not finding your expected HDF5 library.

more robust compiler finding

28 Oct 20:47
b9cb727
Compare
Choose a tag to compare

use templateable approach to ensuring compatible compilers are detected, especially on MacOS.
This helps avoid need for users to manually specify compiler (unless desired).

zlib: use externalProjectAddStep instead of hack

26 Oct 21:26
f33c7a1
Compare
Choose a tag to compare

improve autobuild linking to zlib

23 Oct 02:39
fcea06a
Compare
Choose a tag to compare
  • improve link to zlib for autobuild HDF5
  • correct szip typo

dudupe, robust

21 Oct 23:45
91b2e63
Compare
Choose a tag to compare
  • deduplicate logic
  • use modern link interface between targets, this helps avoid link-time failures

further fix autobuild HDF5

21 Oct 21:19
6fb3374
Compare
Choose a tag to compare
  • simplify and correct the logic used to autobuild HDF5
  • remove shaky, broken GNU Octave test

update HDF5 Git URL

16 Oct 18:49
e64d68c
Compare
Choose a tag to compare

For those autobuilding the HDF5 library itself, the HDF Group thankfully moved to community-friendly development by moving to GitHub. This broke the HDF5 download however, so we updated the URL.

We also corrected CMake script to disallow in-source builds, which are deprecated by CMake and just make a big mess of your directories.