On 2023-02-15 2:22 a.m., Khem Raj via lists.yoctoproject.org wrote:
On Tue, Feb 14, 2023 at 9:36 PM Joel Winarske<joel.winar...@gmail.com>  wrote:
Has anyone played around with the mold linker?

https://github.com/rui314/mold


Curious what the build time difference might be on a large multi-core machine.
Yes, lightly. I found it similar to lld in many cases, only used it on
native links for chromium
it seems to be better at parallelization.

Has anyone checked recently, there's been quite a bit of work since Feb 2023 (1)

Narpat might try this out for Chromium.

I'd expect that the overall build time isn't reduced much even on our 100+ core systems since there are just soooooo many .cpp files to compile but it's worth checking.

../Randy


1)

mold.git on main
❯ TZ=$(date +%z) git log --reverse --date-order --format="%cd" --date=iso-local 9615b8b962edc659f7113029c5c85a81b173e4dc... \
        | cut -d- -f1-2 \
        | uniq -c \
        | column -t \
        | perl -pwe 's{\s+}{\t}'
145    2023-01
34    2023-02
37    2023-03
11    2023-04
12    2023-06
55    2023-07
143    2023-08
43    2023-09
105    2023-10
95    2023-11
12    2023-12


Joel







--
# Randy MacLeod
# Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61807): https://lists.yoctoproject.org/g/yocto/message/61807
Mute This Topic: https://lists.yoctoproject.org/mt/96977773/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to