Large builds with poudriere

Mark Millard marklmi at yahoo.com
Thu May 20 18:11:13 UTC 2021


Andrea Venturoli ml at netfence.it wrote on
Thu May 20 14:54:50 UTC 2021 :

> On 5/20/21 4:11 PM, Alexis Praga wrote:
> > 
> > Thanks for the suggestions.
> > 
> >> At least, if your machine is powerful enough, you can edit your
> >> /usr/local/etc/poudriere.conf and list these big ports in
> >> ALLOW_MAKE_JOBS_PACKAGES.
> > I'm using ALLOW_MAKE_JOBS=yes already so it won't help unfortunately, I think.
> 
> Those are not the same things. Check the docs.
> 
> Briefly, ALLOW_MAKE_JOBS will allow building several packages at once 
> (one per core) with one core dedicated to each.

Nope: /usr/local/etc/poudriere.conf.sample reports that it enables
more than one process per cpu:

# By default MAKE_JOBS is disabled to allow only one process per cpu
# Use the following to allow it anyway   
# ALLOW_MAKE_JOBS=yes

> ALLOW_MAKE_JOBS_PACKAGES will let a single package build using more cores.


Even when MAKE_JOBS is otherwise disabled:

# List of packages that will always be allowed to use MAKE_JOBS      
# regardless of ALLOW_MAKE_JOBS. This is useful for allowing ports 
# which holdup the rest of the queue to build more quickly.
#ALLOW_MAKE_JOBS_PACKAGES="pkg ccache py*"

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the freebsd-ports mailing list