Parallel Builds

RW list-freebsd-2004 at morbius.sent.com
Thu Oct 19 13:01:33 UTC 2006


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. 


More information about the freebsd-ports mailing list