Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 1998 16:04:28 -0800 (PST)
From:      asami@FreeBSD.ORG (Satoshi Asami)
To:        sprice@hiwaay.net
Cc:        ports@FreeBSD.ORG, msmith@FreeBSD.ORG
Subject:   Re: auto ports build script
Message-ID:  <199811120004.QAA17185@silvia.hip.berkeley.edu>
In-Reply-To: <Pine.OSF.4.02.9811111742390.9547-100000@fly.HiWAAY.net> (message from Steve Price on Wed, 11 Nov 1998 17:53:01 -0600 (CST))

next in thread | previous in thread | raw e-mail | index | archive | help
 * Yes they are DAG's.  And yes parallelizing within a DAG might
 * be difficult to achieve, but with 746 of these little beasties
 * it is trivial to do it among them.  That is, theoretically
 * all 746 could be run concurrently. :)

I'm not sure I follow you here.  What exactly do we have 746 of?

 * The recurse method takes care of it.  It would do something
 * like this:
 * 
 * 1) build C's package
 * 2) build B's pacakge
 * 3) build D's package, pkg_delete D
 * 4) build A's package, pkg_delete A B C

I'm not saying your script won't work, I'm just asking how it can be
taught to coordinate between parallel builds.

 * #  * Another example of a more complex tree could be: A depends
 * #  * on C, B depends on C, and C is standalone.  Your approach
 * #  * would do this:
 * #  * 
 * #  * 1) build C's package and pkg_delete C
 * #  * 2) pkg_add C, build A's package, pkg_delete A C
 * #  * 3) pkg_add C, build B's package, pkg_delete B C
 * # 
 * # Note 2 and 3 can be done in parallel.
 * 
 * Yes, they can but only in separate chroot envs.

Sorry, I thought I made it clear that I'm running these on different
machines (and in different chroot envs).

Satoshi

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



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