Skip to content

Link to precompiled system-wide archives #119

@MarkWieczorek

Description

@MarkWieczorek

fpm is great for including external fortran projects as dependencies (typically downloaded at github).

However, it often arises that a fortran project needs to link to an already compiled system-wide archive, such as lapack or fftw. At present, to the best of my knowledge, there is no simple way to link to such files in fpm. It is possible that this might be possible using a Makefile, but that would be non-optimal.

Ideally, the libraries to link to would be placed in the fpm.toml file, something like this:

link = 'fftw, lapack'

Metadata

Metadata

Assignees

Labels

specificationIssue regarding fpm manifest and model

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions