From owner-freebsd-current@FreeBSD.ORG Sun Jan 27 21:46:20 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96B2716A417 for ; Sun, 27 Jan 2008 21:46:20 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9A413C458 for ; Sun, 27 Jan 2008 21:46:20 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 648941B10EA4; Sun, 27 Jan 2008 22:46:18 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from [10.1.1.2] (unknown [192.168.25.10]) by blah.sun-fish.com (Postfix) with ESMTP id BFA6F1B10EEE; Sun, 27 Jan 2008 22:46:15 +0100 (CET) Message-ID: <479CFBA6.7070800@moneybookers.com> Date: Sun, 27 Jan 2008 23:46:14 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: "Aryeh M. Friedman" References: <479BB50E.2080703@gmail.com> <479BE36E.5090408@mac.com> <479CF392.2040609@paradise.net.nz> <479CF7E2.6060109@gmail.com> In-Reply-To: <479CF7E2.6060109@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5574/Sun Jan 27 11:03:42 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-current@freebsd.org, Mark Kirkwood Subject: Re: build/installworld break under -j n for n>1 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, 27 Jan 2008 21:46:20 -0000 Greetings, Aryeh M. Friedman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Mark Kirkwood wrote: > >> Chuck Swiger wrote: >> >>> While I find your confidence in doing an installworld without >>> checking for whether the build completed sucessfully and without >>> doing a human review to be admirable :-), perhaps consider doing >>> this instead: >>> >>> make -j n buildworld && make installworld >>> This will do almost the same as make buildworld installworld, because if make failed on the build part it will never continue with the install. Also I do not have problems with make -j6 installworld. If I remember correctly the real gain is when running -j NumerOfCPUs+1, but only during compilation e.g. build part. >>> ...? >>> >>> >> Just out of interest, is it actually correct to so this? I usually do: >> >> make buildworld >> make kernel >> reboot (single user etc) >> make installworld >> This is exactly what documentation suggest :) I personally have the habit to skip the reboot to single user step ;) But do not forget the mergemaster. >> >> I'm guessing you would only do the make buildworld && make >> installworld if you had *not* changed the kernel sources? >> >> > It is normally safe if you update frequently ( Changes in kernel are normally backward compatible, which means that in most cases you should be able to run "old" world with new kernel. The opposite is not true and you do not know when you will get bitten. In all cases you should look at /usr/src/UPDATING, for special events :)