-
Notifications
You must be signed in to change notification settings - Fork 109
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
Metapackage for NetCDF #1120
Metapackage for NetCDF #1120
Conversation
53f90ed
to
c2fea1d
Compare
15d4e0b
to
6a61a70
Compare
... on hold for now, the tokenization of the flags still causes some issues. |
@krystophny I see you already tested using |
@perazz thanks! Yeah, my problem is that it should support
and split it into 6 parts and keep the spaces between flag and path as well as double quotes (and also single quotes if present)
Is this possible with |
I see. So what we need is an option to retain the quotes from the shell lexer (that are typically removed, see i.e. this.). I guess the best place to do this is from within |
I have deployed a |
bab9dcf
to
01fb971
Compare
01fb971
to
5dd6013
Compare
Alright! A small fix is still needed in
|
Thanks a lot for the prompt review and merge, @perazz ! Now both, NetCDF and BLAS are finished. For BLAS I go in the search order of cmake: Apple Accelerate -> Intel MKL -> OpenBLAS -> Reference BLAS . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this nice addition @krystophny!
I have only removed a couple unused variables from the test program.
LGTM otherwise.
Co-authored-by: Federico Perini <[email protected]>
Co-authored-by: Federico Perini <[email protected]>
Great, thanks @perazz ! |
Apply once #1123 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 yoursplit
function correctly.