HDFGroup / hdf5

Official HDF5® Library Repository
https://www.hdfgroup.org/
Other
626 stars 256 forks source link

Add pkg-config Support to Autotools Build #8

Open xanderdunn opened 4 years ago

xanderdunn commented 4 years ago

As per Homebrew/homebrew-core#61490, I am trying to build a Linux and macOS cross-platform library that uses the HDF5 library. The compiler I'm using attempts to find the headers and libraries on both platforms via a pkg-config file. However, currently I can only find the hdf5.pc file on the Ubuntu apt installation of hdf5 and not in the macOS build of hdf5.

sudo apt install libhdf5-dev on Ubuntu 18.04 installs HDF5 1.10.0, while brew install installs 1.12.0. It appears the difference is that the macOS Homebrew build is using autotools rather than cmake for the build and currently HDF5 only produces the pkg-config for the cmake build. Could the HDF5 project potentially include a pkg-config output in its autotools build as well?

tbeu commented 3 years ago
byrnHDF commented 3 years ago
  • Why is this targeting milestone "HDF5 1.8.22 release", which is already released?
  • Why is milestone "HDF5 1.8.22 release" still open after release?

Thank you for pointing this out - we overlooked managing the milestone information.

MarDiehl commented 2 years ago

Note: Arch linux would also benefit from having pkg-config support:

https://github.com/archlinux/svntogit-community/blob/packages/hdf5/trunk/PKGBUILD

derobins commented 1 month ago

We're going to be dropping Autotools support, so this will be closed soon.