[ ] lld can be easily added as it is already supported. We just need to add a CLI and actions option for it. It should be treated the same as clangtidy, etc.
[ ] mold
[ ] sold
[ ] gold
Description
Hi,
I was using setup-cpp with project_options (in my docker build) and custemize the linker option, see find_linker.
Would be nice to install mold or one of the other (better) Linker, rather then (gcc) ld or gold.
Tasks
lld
can be easily added as it is already supported. We just need to add a CLI and actions option for it. It should be treated the same asclangtidy
, etc.Description
Hi, I was using
setup-cpp
with project_options (in my docker build) and custemize the linker option, seefind_linker
.Would be nice to install
mold
or one of the other (better) Linker, rather then (gcc)ld
orgold
.Improving C++ Compilation Times: Tools & Techniques - Vittorio Romeo - ACCU 2023
So install (?) ...
mold
(e.g. whencompiler
isgcc
)lld
whencompiler
isllvm
(default)sold
for Mac OSMore Context
I was getting this Error:
/usr/bin/ld.gold: separate-code: unknown -z option
.CMakeOptions.cmake
After that I just installed
mold
and everything works:Upvote & Fund
@aminya is using Polar.sh so you can upvote and help fund this issue. The funding is received once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog!