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

Draft: Metapackage for NetCDF #1120

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

Conversation

krystophny
Copy link

@krystophny krystophny commented Apr 5, 2025

This is based on the refactored version of #1119 . Apply once #1119 is merged. Docs in fortran-lang/fpm-docs#160

Besides NetCDF support and refactoring the way pkg-config is used from there and HDF5, there are modifications on the way flags are handled. Now all are converted from strings to arrays on the way. This was required because Intel Fortran dies on empty "-I" flags returned by pkg-config. In addition that allowed to avoid duplicate flags - a feature that could later be added more generally (there are a few also generated in other parts of the code, see fpm build --verbose) @perazz if you have time, please check if I use your split function correctly.

@krystophny krystophny changed the title Metapackage for NetCDF Draft: Metapackage for NetCDF Apr 5, 2025
@krystophny krystophny force-pushed the metapackage_netcdf branch 2 times, most recently from 53f90ed to c2fea1d Compare April 5, 2025 20:14
@krystophny krystophny changed the title Draft: Metapackage for NetCDF Metapackage for NetCDF Apr 5, 2025
@krystophny krystophny force-pushed the metapackage_netcdf branch from 0593b5c to 15d4e0b Compare April 6, 2025 10:58
@krystophny krystophny force-pushed the metapackage_netcdf branch from 15d4e0b to 6a61a70 Compare April 6, 2025 11:08
@krystophny krystophny changed the title Metapackage for NetCDF Draft: Metapackage for NetCDF Apr 6, 2025
@krystophny
Copy link
Author

... on hold for now, the tokenization of the flags still causes some issues.

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.

1 participant