portupgrade ideas page

Sergey Matveychuk sem at FreeBSD.org
Thu Jun 8 07:35:40 PDT 2006

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.


More information about the freebsd-ports mailing list