From owner-freebsd-questions@FreeBSD.ORG Sun Dec 27 17:40:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 151211065679 for ; Sun, 27 Dec 2009 17:40:54 +0000 (UTC) (envelope-from simon.griffiths@tenenbaum.co.uk) Received: from mail.tenenbaum.co.uk (87-194-142-21.bethere.co.uk [87.194.142.21]) by mx1.freebsd.org (Postfix) with ESMTP id C55CF8FC14 for ; Sun, 27 Dec 2009 17:40:53 +0000 (UTC) Received: from ion (unknown [192.168.1.16]) by mail.tenenbaum.co.uk (Postfix) with ESMTP id 9526E61C36; Sun, 27 Dec 2009 17:40:52 +0000 (GMT) From: "Simon Griffiths" To: "'Warren Block'" References: <00c101ca8715$75426930$5fc73b90$@griffiths@tenenbaum.co.uk> In-Reply-To: Date: Sun, 27 Dec 2009 17:40:52 -0000 Message-ID: <00c901ca871b$bc41b510$34c51f30$@griffiths@tenenbaum.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcqHGsqD5+6gR8KOSamixm51vqsbcAAAHDRQ Content-Language: en-gb Cc: freebsd-questions@freebsd.org Subject: RE: Issues with make -j option on ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Dec 2009 17:40:54 -0000 Hello, > On Sun, 27 Dec 2009, Simon Griffiths wrote: > > > I seem to get errors with quite a few ports if I use the make -j > option. > > Building with multiple jobs is part of the ports system for several > months now. See the MAKE_JOBS variables in /usr/ports/Mk/bsd.port.mk. > Overriding that with -j is going to try to force ports that aren't > multiple-job-safe, probably causing the problems you're seeing. > > The preferred number of jobs defaults to the number of CPUs. That > can be overridden with MAKE_JOBS_NUMBER. Ahh, that'll be where I'm going wrong then. Thank you very much :) Is this number only be overridden on the command line e.g. make -DMAKE_JOBS_NUMBER=8 install clean... or is there a file I could put this in, I'm thinking make.conf in /etc ? > > -Warren Block * Rapid City, South Dakota USA Thanks very much Warren, Si