Skip to content

Specify Fortran standard in fpm.toml #1131

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

Open
coriollis-nico opened this issue Apr 26, 2025 · 1 comment
Open

Specify Fortran standard in fpm.toml #1131

coriollis-nico opened this issue Apr 26, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@coriollis-nico
Copy link

Description

In science there is a lot of talk about writing reproducible code, and that's what Fortran standards are designed for. In the same way one can specify versions for python and packages in e.g. venv or conda, specifiying a Fortran standard in the toml and having the relevant flags (e.g. -std=f2008 in gfortran) activated automatically would be nice.

Possible Solution

No response

Additional Information

No response

@coriollis-nico coriollis-nico added the enhancement New feature or request label Apr 26, 2025
@perazz
Copy link
Member

perazz commented Apr 27, 2025

I think it's a nice idea @coriollis-nico, it could be made part of the [fortran] features table in fpm.toml..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants