BUG: Handle --f77flags and --f90flags for meson [wheel build] #26870
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport of #26703, #26706, and #26812.
Closes #25784. Background and notes:
fc_flags
to the Meson backend they weren't being used--f77flags
or--f90flags
fortran_args
for themeson.build
(distutils
used to have separate handling for the two cases)--fflags
argument (basically since they're now redundant post-distutils)distutils
will need to have both CLI options-ffixed-form
but is otherwise junkf2py
andgfortran
to compile without-ffixed-form
.f
file, thereby signalling to F2PY that this is a Fortran 77 fileIt does make sense to handle
fortran_args
this way though, since it is more robust than settingFFLAGS
(which anyway won't work due to ameson
bug, mesonbuild/meson#13327).Squashed commit of the following:
commit bbc198b48b79417f210bd38de6c60ab98d18857d
Author: Rohit Goswami [email protected]
Date: Fri Jun 28 19:43:41 2024 +0200
commit fffa296b7a611de1ab25f85619e92e6d6c5185a4
Author: Rohit Goswami [email protected]
Date: Fri Jun 28 14:54:50 2024 +0200
commit 807e898e80e544e720512f9feccc9c897cd55f08
Author: Rohit Goswami [email protected]
Date: Sun Jun 16 09:40:06 2024 +0000
commit cbcb6c2c4340f5bbca46e2c6d8474bbed7d90664
Author: Rohit Goswami [email protected]
Date: Sun Jun 16 04:06:16 2024 +0000
commit 09e3eb004b0e076271817384a92d489b3b0cc0eb
Author: Rohit Goswami [email protected]
Date: Sun Jun 16 03:44:17 2024 +0000
commit 04d53b44b75537fc5b411cf9e54c2f169198419f
Author: Rohit Goswami [email protected]
Date: Sun Jun 16 00:14:54 2024 +0000
commit 6f736b0cbe977ba9270c45f7cc22b7ae8ce06ed2
Author: Rohit Goswami [email protected]
Date: Sat Jun 15 23:36:55 2024 +0000