Replies: 1 comment 1 reply
-
The order is not reversed by fpm, but the documentation is in error here. It should read [build]
link = ["lapack", "blas"] |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was watching the
fpm
tutorial from DJ's Office Hours and noticed the manifest reference sayswhich if I'm not mistaken is opposite order than if compiling manually (
-llapack -lblas
), since the linker is supposed to satisfy dependencies going from the left to right. (I'm assuming that internallyfpm
adds the flags in reverse order as the one in the TOML file).Have there been any previous discussions related to selecting the link library order convention? I'm worried that using the "opposite" convention than the linker itself could be confusing for developers familiar with compiling manually.
Beta Was this translation helpful? Give feedback.
All reactions