From owner-freebsd-ports@FreeBSD.ORG Thu Oct 19 13:01:33 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9E5A16A412 for ; Thu, 19 Oct 2006 13:01:33 +0000 (UTC) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6098F43D5D for ; Thu, 19 Oct 2006 13:01:28 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from db2.internal (db2.internal [10.202.2.12]) by frontend1.messagingengine.com (Postfix) with ESMTP id 2737FDB64CE for ; Thu, 19 Oct 2006 09:01:27 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by db2.internal (MEProxy); Thu, 19 Oct 2006 09:01:29 -0400 X-Sasl-enc: rSfwLj9YBk3GL0s2gybcgrGJmcFvLBR6zrxMWboYC1QO 1161262889 Received: from gumby.localdomain (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mail.messagingengine.com (Postfix) with ESMTP id 5D98113E2B for ; Thu, 19 Oct 2006 09:01:29 -0400 (EDT) From: RW To: freebsd-ports@freebsd.org Date: Thu, 19 Oct 2006 14:01:21 +0100 User-Agent: KMail/1.9.4 References: <200610191124.39379.mail@maxlor.com> In-Reply-To: <200610191124.39379.mail@maxlor.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610191401.23753.list-freebsd-2004@morbius.sent.com> Subject: Re: Parallel Builds 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: Thu, 19 Oct 2006 13:01:33 -0000 On Thursday 19 October 2006 10:24, Benjamin Lutz wrote: >.. > o Mark the ports that allow parallel building by adding a new flag > that can be used in ports makefiles, eg. PARALLEL_BUILDING=yes. > With such a port, the build target would call, say > "gmake -j${PARALLEL_NUM}" instead of just "gmake". PARALLEL_NUM > would be set in /etc/make.conf. If it is undefined, the build > target would fall back to the old behavior. I'll call this > "micro-parallelism" for now. > > ... > Disadvantages: > - Each port would have to be marked with PARALLEL_BUILDING=yes > individually. This means more work for the maintainers, and will > mean that introduction of this feature will take time. I suggested something like this, with the addition of something like FORCE_PARALLEL_BUILDING=yes, so that individual users could easily experiment and see which ports cause problems.