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/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237290

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="${MAKEFLAGS:M*:C/((^| )-[Jjm]) /\1/gW:N-[Jjm]*:NMK_AUTO_OBJ=*}"

The number of jobs when building ports is left to MAKE_JOBS_NUMBER on the ports
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=/g is great :)

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

home | help

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