From owner-freebsd-arch@FreeBSD.ORG Thu Nov 23 23:19:31 2006 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 18C2616A416 for ; Thu, 23 Nov 2006 23:19:31 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 640DF43D78 for ; Thu, 23 Nov 2006 23:18:42 +0000 (GMT) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id 7FC8D140EC08; Thu, 23 Nov 2006 23:20:35 +0000 (GMT) Date: Thu, 23 Nov 2006 23:20:35 +0000 From: John Birrell To: arch@freebsd.org Message-ID: <20061123232035.GA56985@what-creek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: Proposed change to make -j X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Nov 2006 23:19:31 -0000 Currently 'make -j' reports an error if the number of jobs isn't specified. I'd like to change make(1) to treat -j (without a number) as meaning "set the number of jobs to the number of processors". On sun4v, each processor isn't too powerful and system performance is only decent when you use all the processors - 32 in my case. I've been working on a parallel 'make release' process which would benefit from having -j set by default. At the moment I set MAKEFLAGS=j32 in my environment and this achieves the desired result, but -j would be more general. Thoughts? -- John Birrell