From owner-freebsd-ports@FreeBSD.ORG Tue Jan 15 19:51:25 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D62D916A41A for ; Tue, 15 Jan 2008 19:51:25 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id C953413C4D3 for ; Tue, 15 Jan 2008 19:51:25 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay8.apple.com (relay8.apple.com [17.128.113.38]) by mail-out4.apple.com (Postfix) with ESMTP id AE99C1EFDE14; Tue, 15 Jan 2008 11:51:25 -0800 (PST) Received: from relay8.apple.com (unknown [127.0.0.1]) by relay8.apple.com (Symantec Mail Security) with ESMTP id 9933F40424; Tue, 15 Jan 2008 11:51:25 -0800 (PST) X-AuditID: 11807126-9ddeebb000005025-b7-478d0ebd0587 Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay8.apple.com (Apple SCV relay) with ESMTP id 7D5A0402D5; Tue, 15 Jan 2008 11:51:25 -0800 (PST) Message-Id: <5EE5440B-E722-4638-A5BA-0ACA14CBA808@mac.com> From: Chuck Swiger To: Chuck Robey In-Reply-To: <478D0AC4.5080601@chuckr.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Tue, 15 Jan 2008 11:51:24 -0800 References: <478BF671.7010104@wa-sp.com> <4EA98CBC-8BE3-4195-82A7-3E63C0D70593@mac.com> <478D0AC4.5080601@chuckr.org> X-Mailer: Apple Mail (2.915) X-Brightmail-Tracker: AAAAAA== Cc: =?ISO-8859-1?Q?Christoffer_Str=F6mblad?= , freebsd-ports@freebsd.org Subject: Re: Compiling utilizing multiple CPUs 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: Tue, 15 Jan 2008 19:51:25 -0000 On Jan 15, 2008, at 11:34 AM, Chuck Robey wrote: >> The quality of the Makefiles or similar used by individual ports >> varies, >> and many of them are not safe to compile in a multithreaded fashion. >> You can set "MAKEFLAGS=-j3" or similar in your environment, but it's >> really not recommended. >> > > I think it's necessary to tell why its not recommend it: because many > makefiles are insufficiently sedt up to correctly allow multiple > cpu's to > work side by side. Well, didn't I just say that above? I assure you that "not safe to compile in a multithreaded fashion" means pretty much the same thing as "not set up to correctly allow multiple CPU's to work side by side". :-) Regards, -- -Chuck