Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2006 14:01:21 +0100
From:      RW <list-freebsd-2004@morbius.sent.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Parallel Builds
Message-ID:  <200610191401.23753.list-freebsd-2004@morbius.sent.com>
In-Reply-To: <200610191124.39379.mail@maxlor.com>
References:  <200610191124.39379.mail@maxlor.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 19 October 2006 10:24, Benjamin Lutz wrote:
>..
>  o Mark the ports that allow parallel building by adding a new flag
>    that can be used in ports makefiles, eg. PARALLEL_BUILDING=yes.
>    With such a port, the build target would call, say
>    "gmake -j${PARALLEL_NUM}" instead of just "gmake". PARALLEL_NUM
>    would be set in /etc/make.conf. If it is undefined, the build
>    target would fall back to the old behavior. I'll call this
>    "micro-parallelism" for now.
>
> ...
>    Disadvantages:
>    - Each port would have to be marked with PARALLEL_BUILDING=yes
>      individually. This means more work for the maintainers, and will
>      mean that introduction of this feature will take time. 

I suggested something like this, with the addition of something like 
FORCE_PARALLEL_BUILDING=yes, so that individual users could easily experiment 
and see which ports cause problems. 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610191401.23753.list-freebsd-2004>