From owner-freebsd-ports@FreeBSD.ORG Sat Apr 14 07:35:14 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4AD0C16A408 for ; Sat, 14 Apr 2007 07:35:14 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id D38B613C455 for ; Sat, 14 Apr 2007 07:35:13 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so608695ugh for ; Sat, 14 Apr 2007 00:35:12 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to; b=KgwRCZ2N4rzGDqsf5oeGZIU3LrJ4lVkX7muaXDqGHdvo9e7ClqM2x8+EWqJ5sIQlE1F/xZuOzEahQCmdLgd6hUbpeZenbF8SjgakuvEivjbKheNyz/Fs8T5dM/P6jMjMskqM3FiQlYH8eY2Hzfdh4Tp6wgUvod7faFnbdnKkC/w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to; b=ORd2JLlSFpOskP/6gwlmxh8SuZoXWYtxn5qAeQriUj3APz9BOvKvY0bBnI4SmdBq827rmlTLkpnyV4vAG2axMokmB1fSlOU+ie/KAU0rUqQdnhN15z1/fTeDAf7ANHv3lUjPfSZu6njqI6UyoEkJ2Z8AOwJOKuSykuNypZUy4VQ= Received: by 10.66.242.20 with SMTP id p20mr2591475ugh.1176536112674; Sat, 14 Apr 2007 00:35:12 -0700 (PDT) Received: from roadrunner.q.local ( [85.180.178.67]) by mx.google.com with ESMTP id u9sm3015947muf.2007.04.14.00.35.09; Sat, 14 Apr 2007 00:35:12 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.8/8.13.8) with ESMTP id l3E7Z01m080269; Sat, 14 Apr 2007 09:35:00 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.8/8.13.8/Submit) id l3E7YxA4080160; Sat, 14 Apr 2007 09:34:59 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Sat, 14 Apr 2007 09:34:59 +0200 From: Ulrich Spoerlein To: Pav Lucistnik Message-ID: <20070414073459.GD6042@roadrunner.q.local> Mail-Followup-To: Pav Lucistnik , Benjamin Lutz , ports@FreeBSD.org References: <200704100452.40574.mail@maxlor.com> <1176227087.27233.8.camel@ikaros.oook.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1176227087.27233.8.camel@ikaros.oook.cz> Cc: Benjamin Lutz , ports@FreeBSD.org Subject: Re: parallel builds revisited X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Apr 2007 07:35:14 -0000 Pav Lucistnik wrote: > Benjamin Lutz pí¨e v út 10. 04. 2007 v 04:52 +0200: > > > Some time ago, after buying a Core 2 Duo system, I've become interested > > in doing something about the inherent single-threadedness of the ports. > > Even though I have a dualcore machine, ports builds only ever use one > > core. I started thinking about various approaches to introduce > > parallelism to ports builds and wrote down my thoughts here: > > http://marc.info/?l=freebsd-ports&m=116124997126657&w=2 > > I have same thoughts, and I wrote about it on Project Ideas page. > That text materialized into a Summer of Code proposal, which is most > probably going to get funded. So stay tuned. However, the proposal > concentrates mainly on allowing several ports to build in parallel. I do have a script/Makefile ready, that can be used to build several ports in parallel (taking inter-dependencies into account). It _could_ be hacked into the current ports infrastructure, if we augment INDEX with additional fields. It is aimed mainly at release building/pointyhat but comes with almost no software requirements (screen and zsh are the only external tools). I'm having some problems with unionfs though, and need to implement two different strategies first, before releasing an early version to the public. Ulrich Spoerlein -- "The trouble with the dictionary is you have to know how the word is spelled before you can look it up to see how it is spelled." -- Will Cuppy