Skip to content

Support setting of link arguments #415

Closed
@awvwgk

Description

@awvwgk

Currently we only support --flag arguments to set compile arguments which are also added to the link line. The --flag argument could be used to add link arguments in the hope they will be silently ignored by the compiler when not linking, but we preferably provide a command-line option to add link arguments as well rather than relying on the compiler.

See https://github.com/PIK-ICoN/NetworkDynamicsBenchmarks#compile-fortran-program for such a misuse of the --flag option from Haskell fpm.

A common usage of link arguments would would be the selection of a different sysroot in a conda-build setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions