Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metapackages: pkg_config backend support; HDF5 #1055

Open
wants to merge 45 commits into
base: main
Choose a base branch
from

Conversation

perazz
Copy link
Contributor

@perazz perazz commented Jun 24, 2024

  • pkg-config based metapackage instantiation
  • HDF5 metapackage support via pkg-config
  • testing
  • Ubuntu pkg-config is broken for hdf5-fortran: add the Fortran High-Level (hl_fortran) libraries manually (see meson)
  • oneAPI compilers: upgrade to 2024.1.0 (HDF5 build fails with <=2023), move to setup-fortran action
  • oneAPI + HDF5: install HDF5 using CMake (apt version uses gfortran only)
  • oneAPI: remove -standard-semantics from default flags: it changes module name mangling from _mp_ to _MP_ which crashes linking against external libraries (HDF5 but also MPI-code can not be built with Intel compiler when using standard flags #1034)

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

@perazz perazz marked this pull request as ready for review June 24, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant