fpm icon indicating copy to clipboard operation
fpm copied to clipboard

Specify Fortran standard in fpm.toml

Open coriollis-nico opened this issue 10 months ago • 1 comments

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 avatar Apr 26 '25 20:04 coriollis-nico

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

perazz avatar Apr 27 '25 10:04 perazz