From owner-freebsd-ports@FreeBSD.ORG Thu Apr 12 20:34:04 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C7AF016A409 for ; Thu, 12 Apr 2007 20:34:04 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.freebsd.org (Postfix) with ESMTP id A524713C465 for ; Thu, 12 Apr 2007 20:34:04 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from hymn03.u.washington.edu (hymn03.u.washington.edu [140.142.12.169]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l3CKY45L032005 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 12 Apr 2007 13:34:04 -0700 Received: from localhost (localhost [127.0.0.1]) by hymn03.u.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l3CKY3HE013586 for ; Thu, 12 Apr 2007 13:34:03 -0700 X-Auth-Received: from [192.55.52.4] by hymn03.u.washington.edu via HTTP; Thu, 12 Apr 2007 13:34:03 PDT Date: Thu, 12 Apr 2007 13:34:03 -0700 (PDT) From: youshi10@u.washington.edu To: freebsd-ports@freebsd.org In-Reply-To: <200704122228.47040.mail@maxlor.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.4.12.132233 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='SUPERLONG_LINE 0.05, NO_REAL_NAME 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HIGHBITS 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Subject: Re: parallel builds revisited 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, 12 Apr 2007 20:34:04 -0000 On Thu, 12 Apr 2007, Benjamin Lutz wrote: > On Thursday 12 April 2007 22:20, Pav Lucistnik wrote: >> Benjamin Lutz p=C3=AD=C5=A1e v =C4=8Dt 12. 04. 2007 v 21:07 +0200: >>> On Thursday 12 April 2007 11:06, Garrett Cooper wrote: >>> > I dunno how you want to approach this, but gmake does recommend 2 >>> > jobs be run in parallel for HTT enabled chips, and 3 or 4 jobs >>> > for a dual core machines. >>> > -Garrett >>> >>> So far the approach is one job per CPU. I'll do some benchmarks >>> lateron to determine wether it really helps to run more jobs. For >>> the KDE ports, >> >> Sadly, Qt blows up with -j2, so here comes KDE hopes... > > Must be a result of their qmake generated makefiles. Fortunately, moth > software using autotools (kde*, and also xorg7) seems to build just > fine with -j. > > A bigger blow than Qt is that OOo doesn't work with -j though :( That's > probably the port that would need it the most... (the failure seems to > happen very late in the build process though, which gives me hope that > it's something reasonably easy to fix. If only the development cycles > (code, build, test) weren't so extremely long...) > > Cheers > Benjamin Their make system needs to be seriously revised though, as well as their so= urce base IMHO. They're still using Mozilla from 2k3 (1.7b) instead of contemporary Mozilla= browsers by default, I noticed. It's a mess how everything's done.. OOo could be mapped out as modular components though, instead of a straight= line of dependencies, and once there are no longer any core dependencies, = the make jobs can diverge building things like Calc, Graph, Writer, etc. This requires a threaded or fork / waitpid based gmake though that doesn't = currently exist AFAIK. -Garrett