Add -flto flags in WSClean AMD#165
Conversation
|
Those were not supposed to be there in the Intel recipe. I missed those when looking at the PR. Please make sure changes to compiler flags sneak in with unrelated PRs. I think link time optimisation should be relatively harmless, but this is something that I think should be kept individual track of with some benchmarks ideally. |
|
In fact, maybe it would be even better to do this benchamrks passing the flag globally, not just to WSClean? |
|
Using current master where:
and https://github.com/tikk3r/flocs/blob/fedora-py3/benches/benchmark_image_6asec.sh as a test, but smaller
I got: no LTO LTO at the expanse of much longer compilation time.
But since it does not work for WSClean, maybe we should close it? |
|
Good to see that it doesn't see to have a negative impact at least. I'm not crossing LTO out, but I do want to confirm via benchmarks that it doesn't harm performance and is worth it. With a marginal 0.5% improvement while taking much longer to build. I would put that in the "not worth it" territory. Closing this, because unfortunately it doesn't seem to have a worthwhile benefit. |
Description
-lftowas missing. It is here in Intel recipe.