Skip to content

fpm #26

Closed
Closed
@tkoskela

Description

@tkoskela
  • We created a fpm.toml file in the root of the repository and succesffully built the applications and tests with fpm build
    • gfortran on ubuntu systems requires the -ffree-line-length-none flag, MacOS doesn't
  • We investigated how to pass compiler flags through the toml file.
    • the [project.<compiler>.<os>].flag field does not seem to work
    • @connoraird implemented a work-around in fpm and opened an issue and a PR
    • you can pass compiler flags through and environment variable or on the command line
  • Adding other fpm packages as dependencies is trivial. Adding non-fpm packages as dependencies is difficult
    • You can use metapackages.
    • Metapackages are hard-coded in fpm source code. There are about 5 of them.
  • We wrote a test suite with garden https://github.com/UCL-ARC/fortran-tooling/tree/4-add-garden-tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions