Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2024 09:24:53 +0100
From:      Juraj Lutter <otis@FreeBSD.org>
To:        "Simon J. Gerraty" <sjg@juniper.net>
Cc:        Maku Bex <zagazaw2004@gmail.com>, David Wolfskill <david@catwhisker.org>, "<freebsd-current@freebsd.org>" <freebsd-current@FreeBSD.org>
Subject:   Re: speedup build time
Message-ID:  <B94C0DE0-7C44-46A8-89E4-3A9C143AF7E8@FreeBSD.org>
In-Reply-To: <23313.1730242344@kaos.jnpr.net>
References:  <012d01db28cc$5fc66ac0$1f534040$@gmail.com> <Zx7fqFzbjuCvZgaw@albert.catwhisker.org> <015001db28db$690b03c0$3b210b40$@gmail.com> <23313.1730242344@kaos.jnpr.net>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 29 Oct 2024, at 23:52, Simon J. Gerraty <sjg@juniper.net> wrote:
>=20
> Maku Bex <zagazaw2004@gmail.com> wrote:
>=20
>> * What (if any) "max_jobs" (make's "-j" parameter) are you using? 16
>=20
> 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
>=20
> 1.5C also works pretty well for me (the C isn't strictly needed so =
long
> as arg to -j is a float)
>=20

otis@b14:/usr/src % make WITHOUT_CLEAN=3D1 WITH_META_MODE=3D1 =
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}/..



=E2=80=94
Juraj Lutter
otis@FreeBSD.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B94C0DE0-7C44-46A8-89E4-3A9C143AF7E8>