Skip to content
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

Support setting of link arguments #415

Closed
awvwgk opened this issue Mar 28, 2021 · 0 comments · Fixed by #549
Closed

Support setting of link arguments #415

awvwgk opened this issue Mar 28, 2021 · 0 comments · Fixed by #549
Labels
enhancement New feature or request

Comments

@awvwgk
Copy link
Member

awvwgk commented Mar 28, 2021

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.

@awvwgk awvwgk added the enhancement New feature or request label Mar 28, 2021
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
1 participant