Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 May 2022 07:52:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237290] [PATCH] build(7): PORTS_MODULES does not build in parallel
Message-ID:  <bug-237290-227-n6fu1xUbFx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237290-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237290-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237290

Tatsuki Makino <tatsuki_makino@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tatsuki_makino@hotmail.com

--- Comment #12 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
If the -B of make -B is only to prevent parallel execution, I think it is
excessive.
For example, the value of .MAKE.MODE changes from normal to compat.

Just make -- and make -j 1 also makes a difference.
Options like -J 15,16 come across in the MAKEFLAGS environment variable.

Wouldn't it be better to pass MAKEFLAGS with the -[Jj] option dropped in the
environment variable?

MAKEFLAGS=3D"${MAKEFLAGS:M*:C/((^| )-[Jjm]) /\1/gW:N-[Jjm]*:NMK_AUTO_OBJ=3D=
*}"

The number of jobs when building ports is left to MAKE_JOBS_NUMBER on the p=
orts
side.
If make buildkernel is executed with -j 1, but MAKE_JOBS_NUMBER is 4, then
build the port with 4 jobs.


(In reply to Ivan Rozhuk from comment #11)

:M*@*:C/.*@/FLAVOR=3D/g is great :)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237290-227-n6fu1xUbFx>