Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jun 2006 16:30:27 +0400
From:      Sergey Matveychuk <sem@FreeBSD.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Lev Serebryakov <lev@FreeBSD.org>, freebsd-ports@FreeBSD.org
Subject:   Re: portupgrade ideas page
Message-ID:  <44881863.2040008@FreeBSD.org>
In-Reply-To: <20060607214537.GA40788@xor.obsecurity.org>
References:  <4485DBF5.3070705@FreeBSD.org>	<1903867106.20060607001337@serebryakov.spb.ru>	<4485E6AE.9070208@FreeBSD.org> <44868D3C.4040102@FreeBSD.org>	<44869E97.5090608@FreeBSD.org> <20060607214537.GA40788@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote:
> FYI, you might like to check out the 'makeparallel' pointyhat script
> (in /usr/ports/Tools).  This takes an INDEX as input and spits out an
> enormous makefile with all dependencies enumerated, so you can just
> use make -j for parallel builds in correct dependency order.  You
> wouldn't have to construct the full makefile, only the subset
> corresponding to the ports that are going to be updated.
> 
> You'd still need mutual exclusion around e.g. the pkgdb, but you
> wouldn't have to add mutual exclusion throughout bsd.port.mk since
> make guarantees there will be none (if the index is accurate).

I going to add locking for in next version. So 'makeparallel' script
could be useful.

-- 
Dixi.
Sem.




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