[Buildroot] Speeding up builds
Thomas De Schampheleire
patrickdepinguin at gmail.com
Mon Nov 4 19:06:21 UTC 2013
Hi Dallas,
Dallas Clement <dallas.a.clement at gmail.com> wrote:
>Hi All,
>
>I'm just looking for some tips on how to speed up my build times. My
>rootfs contains many packages with lots of dependencies. Even with 8 fast
>Xeon cores, 64GB of RAM, SSDs, and SAS drives, my builds are taking 1 hour
>and 50 minutes.
>
>When I observe CPU utilization with htop, I rarely see more than one CPU
>core getting worked hard. Occasionally, I will see all 8 cores maxed at
>100%.
>
>make -j 16 seems to make little difference.
>
>What can I do to get all my CPU cores working all the time?
What is the value of BR2_JLEVEL in your .config?
And have you tried enabling ccache?
What takes a significant amount of time are the configure steps of all packages, which are not parallelized.
Best regards,
Thomas
More information about the buildroot
mailing list