Doesn't ccache work? install the package and put WITh_CCACHE_BUILD=yes in /etc/make.conf. With a lot of ccache hits i cann build kernel and world with 4 cores onn a vm in about ab hour.

On 10/27/2024 5:00 PM, Maku Bex wrote:

Hello,

I’m trying to figure out a way to decrease build time of -CURRENT and/or -STABLE but it is not working out that well.

I’ve tried the following:

  * Tuning /etc/make.conf and /etc/src-env.conf based on their
    manpages (make.conf(5), make(1), src.conf(5)).
  * Removed certain options from GENERIC, which reduced the kernel
    build time significantly.

Hardware specs:

  * I7-10700T 8C/16T @2.0GHz.
  * 16GB RAM.
  * 256GB NVMe.

Currently, ‘make buildworld’ has been running for 7hrs and counting. Is there anything else I can do to speed up world build?

thx,

Reply via email to