From owner-cvs-all Mon Mar 25 7:37:50 2002 Delivered-To: cvs-all@freebsd.org Received: from squall.waterspout.com (squall.waterspout.com [208.13.56.12]) by hub.freebsd.org (Postfix) with ESMTP id E80D937B419; Mon, 25 Mar 2002 07:37:34 -0800 (PST) Received: by squall.waterspout.com (Postfix, from userid 1050) id 6E7FC9B73; Mon, 25 Mar 2002 10:37:30 -0500 (EST) Date: Mon, 25 Mar 2002 10:37:30 -0500 From: Will Andrews To: Maxim Sobolev Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.port.mk Message-ID: <20020325153730.GP22998@squall.waterspout.com> Mail-Followup-To: Maxim Sobolev , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200203250848.g2P8mlf77991@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200203250848.g2P8mlf77991@freefall.freebsd.org> User-Agent: Mutt/1.3.26i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 25, 2002 at 12:48:47AM -0800, Maxim Sobolev wrote: > sobomax 2002/03/25 00:48:47 PST > > Modified files: > Mk bsd.port.mk > Log: > - Significantly reduce overhead associated with bsd.port.mk by replacing .USE > macro, which was invoking separate make(1) process for each of the main > targets, with explicit make(1) targets and specifying the dependencies on > those targets in normal Makefile way. This gives up to 4x speedup. For the > ports relying on the old functionality (i.e. each main target in a separate > make(1) process) provide a USE_SUBMAKE knob, which provides old behaviour; > > - speed-up dependency registration process by the factor of two, which > could be a great win especially for things like GNOME and KDE with very long > dependency chains; > > - clean-up internal structure of the file, so that it is easier to understand > and extend it when necessary. > > Inspired by: NetBSD > Reviewed by: freebsd-ports@ > Tested by: bento Thank you, Maxim. Very nice work. Regards, -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message