Skip to content

Conversation

@mwichmann
Copy link
Collaborator

@mwichmann mwichmann commented Jun 16, 2022

The documentation hinted that $FORTRANFLAGS was included in the build lines for all dialects, but it was not. Turns out, the test suite quite explicitly checks that FORTRANFLAGS doesn't leak through to other variants, so instead define a new FORTRANCOMMONFLAGS to serve the purpose of a flag that applies to all variants.

Assorted cleanup. And f-strings.

Fixes #2257

Signed-off-by: Mats Wichmann [email protected]

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt (and read the README.rst)
  • I have updated the appropriate documentation

The documentation suggested $FORTRANFLAGS was included in the build
lines for all variants, but it was not.  Turns out the test suite
quite explicitly checks that FORTRANFLAGS doesn't leak through to other
variants, so instead define a new FORTRANCOMMONFLAGS to serve the purpose
of a flag that applies to all variants.

Assorted cleanup. And f-strings.

Fixes SCons#2257

Signed-off-by: Mats Wichmann <[email protected]>
@mwichmann mwichmann added Tools Issues related to tools subsystem Fortran Fortran support issues labels Jun 16, 2022
@mwichmann mwichmann changed the title Fortran vairants now include FORTRANCOMMONFLAGS Fortran variants now include FORTRANCOMMONFLAGS Jun 16, 2022
Remove leftover debugging debris.
Fix sider complaint

Signed-off-by: Mats Wichmann <[email protected]>
@mwichmann mwichmann force-pushed the feature/fortrancommonflags branch from abf6c87 to 847ea0c Compare June 17, 2022 13:41
@bdbaddog bdbaddog merged commit ce25fd3 into SCons:master Jun 20, 2022
@mwichmann mwichmann added this to the 4.4 milestone Jun 20, 2022
@mwichmann mwichmann deleted the feature/fortrancommonflags branch June 20, 2022 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fortran Fortran support issues Tools Issues related to tools subsystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FORTRANFLAGS not included when compiling .f90 files

2 participants