fortran-lang / fpm

Fortran Package Manager (fpm)
https://fpm.fortran-lang.org
MIT License
844 stars 95 forks source link

Metapackages: `pkg_config` backend support; HDF5 #1055

Open perazz opened 1 week ago

perazz commented 1 week ago

HDF5 comes with compiler wrappers (h5fc, h5cc, h5cxx). These are often unreliable. For example, they do not work when the library is built with CMake for Homebrew. So, do like meson: get hdf5 information via pkg-config. To achieve that, implement a pkg-config backend for the metapackages.

cc: @henilp105 @arteevraina @awvwgk @gnikit @fortran-lang/fpm