On Sat, Jan 21, 2006 at 07:52:20AM +1100, Peter Jeremy wrote:5C

> IMHO, the biggest problem (as des pointed out) is that there's nothing
> to prevent two makes attempting to build the same port (this can
> easily happen when both ports A and B depend on port C).  One possible
> solution would be to create another status file in the work directory
> and hold a file lock (flock/lockf) on it whilst a make is in progress.
> Any parallel attempt to make that port would block.
> 
> If the above was implemented, an enhancement would then be to process
> the port's dependency list in parallel, rather than serially.  This
> would allow a make that was blocked on one dependency to continue with
> a different dependency.

There have been a couple of half-hearted attempts to implement this,
but no complete ones (see an old portmgr PR for details + discussion).
I'd welcome a complete version :)

Kris

Attachment: pgptDcR8KK7mK.pgp
Description: PGP signature

Reply via email to