From owner-freebsd-ports@FreeBSD.ORG Wed Mar 25 16:32:03 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B9431065673; Wed, 25 Mar 2009 16:32:03 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 02D628FC12; Wed, 25 Mar 2009 16:32:02 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LmW1M-0001iZ-23; Wed, 25 Mar 2009 19:32:04 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 80114C1AF; Wed, 25 Mar 2009 19:30:12 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 6F46C10883C; Wed, 25 Mar 2009 19:30:50 +0300 (MSK) Date: Wed, 25 Mar 2009 19:30:50 +0300 From: Dmitry Marakasov To: Pav Lucistnik Message-ID: <20090325163050.GD32386@hades.panopticon> References: <1237901632.1849.19.camel@pav.hide.vol.cz> <49C8EE21.3080702@gmail.com> <1237906449.1849.25.camel@pav.hide.vol.cz> <1237906705.1741.13.camel@localhost> <1237907945.1849.27.camel@pav.hide.vol.cz> <1237912100.1741.16.camel@localhost> <1237912382.1849.35.camel@pav.hide.vol.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1237912382.1849.35.camel@pav.hide.vol.cz> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: ports@FreeBSD.org, Niclas Zeising , Coleman Kane Subject: Re: HEADS UP multi processor compilations for everyone 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: Wed, 25 Mar 2009 16:32:03 -0000 * Pav Lucistnik (pav@FreeBSD.org) wrote: > > > This would break very fast -- it's passing -j3 to port Makefile instead > > > of vendor Makefile. > > > > This has worked fine for me for countless years, except where the > > vendor's Makefiles were not parallel-safe. This has been my trick to get > > larger things (like mysql or xorg-server) to make in parallel. It *did* > > work. If this has changed, then it definitely warrants mention in > > UPDATING. > > Then it must have worked all these years by pure chance :) Be the way, could anyone clarify how this works? My idea was that passing -j to port Makefile does nothing, as make/gmake on vendor's Makefile is ran without any -j flags -> you get usual singlethreaded build. However, I have a broken port, which uses gmake and something like that: sometarget: (cd xxx; make) and that fails with -j (make: illegal option -- -). So is there some magic with recursive make calls and -j? -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru