Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jun 2002 21:43:21 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        arch@FreeBSD.ORG, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Removing wait union
Message-ID:  <XFMail.20020603214321.jhb@FreeBSD.org>
In-Reply-To: <3CFC1905.BF824FF3@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 04-Jun-2002 Terry Lambert wrote:
> Kris Kennaway wrote:
>> > I think the problem needs something other than the ports cluster.
>> >
>> > The ports cluster is designed to keep dependencies seperate, so it
>> > serializes a lot of things that could otherwise be done in parallel,
>> > to ensure dependency order is maintained.
>> 
>> In practise this isn't an issue.  I haven't obtained accurate
>> statistics, but the cluster runs at full capacity for pretty much the
>> entire build.
> 
> You need to keep statistics of how many times each individual port
> is built, in the cluster case (i.e. you need a combinatoric dependency
> map and a way to factor out permutations that are necessary for
> solving the ports problem, but not necessary for solving the "what
> breaks?" problem).

Each port should be built once.

> When you build a given port on its own little virtual box, you
> also build all the ports on which it depends.  This is by design,
> since it avoid the problem of finding dependencies which are not
> explicitly called out.

Erm, nope, dependencies are pkg_add'd and then the port is built (IIRC).
If a port doesn't specify a dependency that it needs then that is an error.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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