Questions about tinderbox

Chris Rees crees at marcuscom.com
Wed Jun 15 15:55:28 EDT 2011


On 15 June 2011 20:43, Stephen Montgomery-Smith <stephen at missouri.edu> wrote:
> Chris Rees wrote:
>> On 15 June 2011 18:07, Ion-Mihai Tetcu<itetcu at freebsd.org>  wrote:

>>> Populate make.conf for the jail / build / PT ... with
>>> MAKE_JOBS_NUMBER=2 via one of the early hooks (ie. postJailExtract).

>>
>> So ./tc updateHookCmd -h postJailExtract -c 'echo MAKE_JOBS_NUMBER=2 ${DESTDIR}/etc/make.conf' would be OK?
>
> I can see that this would limit the number of parallel build processes
> within each port.
>
> But does tinderbox build all the ports one at a time, or does it try to
> build several at once?  Looking at the output of top, I had the impression
> that it was trying to do several things at once.  This is what I would
> really like to control.  But maybe I am wrong.
>
> And if it doesn't do many builds at once, how does it work on a cluster?
>  Can you run many tinderbox builds at once, and they make sure that they
> stay out of each others' way (i.e. they don't both try to build the same
> dependency at once)?
>
> Thanks, Stephen
>

Tinderbox locks a build when a tinderbuild is running -- you can check
for the existence of a lockfile in the builds/${build_name} directory.

This is why we have a queue for tinderd to deal with.

Have you installed the webui? Have you read the README (try the online
HTML version)? These are both extremely useful for setting up your
environment -- I hardly ever call tc in my general usage.

Chris



More information about the tinderbox-list mailing list