Re: speedup build time
- In reply to: Simon J. Gerraty: "Re: speedup build time"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Oct 2024 08:24:53 UTC
> On 29 Oct 2024, at 23:52, Simon J. Gerraty <sjg@juniper.net> wrote:
>
> Maku Bex <zagazaw2004@gmail.com> wrote:
>
>> * What (if any) "max_jobs" (make's "-j" parameter) are you using? 16
>
> BTW if you use 'buildworld-jobs' jobs.mk will default to -j 1.33C (1.33 *
> ncpu) and also save the output to ../buildworld.log
>
> 1.5C also works pretty well for me (the C isn't strictly needed so long
> as arg to -j is a float)
>
otis@b14:/usr/src % make WITHOUT_CLEAN=1 WITH_META_MODE=1 buildworld-jobs buildkernel-jobs
make: "/usr/src/share/mk/jobs.mk" line 45:
@ 1730276561 [2024-10-30 09:22:41] Start buildworld-jobs buildkernel-jobs
tee: /usr/buildworld.log: Permission denied
JOB_LOGDIR seems to need to be set to a directory writable by non-root user in this case
or it defaults to ${SRCTOP}/..
—
Juraj Lutter
otis@FreeBSD.org