From owner-freebsd-stable Thu Feb 26 07:03:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA00340 for freebsd-stable-outgoing; Thu, 26 Feb 1998 07:03:03 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from netcom1.netcom.com (mvh@netcom6.netcom.com [192.100.81.114]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA00332 for ; Thu, 26 Feb 1998 07:02:58 -0800 (PST) (envelope-from mvh@netcom.com) Received: (from mvh@localhost) by netcom1.netcom.com (8.8.8/8.8.8) id HAA00344; Thu, 26 Feb 1998 07:02:47 -0800 (PST) (envelope-from mvh) Date: Thu, 26 Feb 1998 07:02:47 -0800 (PST) Message-Id: <199802261502.HAA00344@netcom1.netcom.com> From: "Michael V. Harding" To: mvh@netcom.com CC: freebsd-stable@FreeBSD.ORG In-reply-to: <199802260027.QAA02724@netcom1.netcom.com> (mvh@netcom.com) Subject: Re: A 'make world' suggestion... References: <199802260027.QAA02724@netcom1.netcom.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk Whoops! Of course I meant 'rm -rf /usr/obj' below... -- mvh Date: Wed, 25 Feb 1998 16:27:24 -0800 (PST) From: "Michael V. Harding" Sender: owner-freebsd-stable@FreeBSD.ORG X-UIDL: 6ce24729da61409608f3ef9f9d9f8cfb The following occurred to me while after doing a 'make -DNOCLEAN buildworld' on a populated /usr/obj with only one file change: for my system, (K6 200, IDE) the timing goes as follows for a 'make buildworld': 1. ~2.5 hrs: a regular 'make buildworld' 2. ~1.5 hrs: 'make -DNOCLEAN buildworld' with an empty /usr/src/obj tree, including (parallel) removal of the old /usr/src/obj data. 3. ~1.0 hrs: 'make buildworld' with a populated /usr/src/obj Option 2 is all I use - it saves an hour and does a complete build. Option 3 is 'risky' and not worth the extra half hour. Option 1 provides no benefit over option 2. Could we codify option 2 with a -DQUICKCLEAN flag or something, where the steps I do by hand are incorporated into the makefile? The only difference would be that a 'rm -rf /usr/src' would get done at the beginning, and the rest would work like a -DNOCLEAN. Also, could the following line be done at the END of installworld, or of buildworld, so that it's possible to remove the object tree with a simple 'rm -rf /usr/src/obj/*' ? chflags -R noschg ${WORLDTMP}/ The flags could be set in 'installworld' rather than 'buildworld', and reset after the install... Thanks, Mike Harding To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message