From owner-freebsd-current@FreeBSD.ORG Sun Jan 25 07:18:15 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AC2A106564A for ; Sun, 25 Jan 2009 07:18:15 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFEC8FC24 for ; Sun, 25 Jan 2009 07:18:15 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id F19F773098; Sun, 25 Jan 2009 08:23:41 +0100 (CET) Date: Sun, 25 Jan 2009 08:23:41 +0100 From: Luigi Rizzo To: Giorgos Keramidas Message-ID: <20090125072341.GA22319@onelab2.iet.unipi.it> References: <20090123233611.GA58363@onelab2.iet.unipi.it> <877i4lo046.fsf@kobe.laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <877i4lo046.fsf@kobe.laptop> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org Subject: Re: quickly build a single program ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2009 07:18:15 -0000 On Sat, Jan 24, 2009 at 05:26:33AM +0200, Giorgos Keramidas wrote: > On Sat, 24 Jan 2009 00:36:11 +0100, Luigi Rizzo wrote: > > how hard would it be to modify the build scripts so that they only try > > to rebuild a single program from a tree where you already made a buildworld ? > > > > i usually do modifications to a single program at a time and it is > > slightly annoying to wait for the build process to scan through all > > the already-built programs to find there is nothing to do for them. > > Most of the time, when there are small changes I just change into the > program's directory and `make'. But this doesn't work when there are > dependencies with other parts of buildworld. ... or when you work on a different tree than the one installed, unless there is an easy way to set the environment variables to point to the correct toolchain and headers/libraries ? Maybe that's all i need in the end. cheers luigi