[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <5253F4D4.7070402@draigBrady.com>
Date: Tue, 08 Oct 2013 13:04:36 +0100
From: Pádraig Brady <P@...igBrady.com>
To: Ingo Molnar <mingo@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 39/52] tools/perf/build: Automatically build in parallel,
based on number of CPUs in the syst
On 10/08/2013 10:02 AM, Ingo Molnar wrote:
> +ifeq ($(JOBS),)
> + JOBS := $(shell grep -c ^processor /proc/cpuinfo 2>/dev/null)
nproc is probably ubiquitous enough to use now
(available since coreutils 8.1 (end of 2009))
As well as being more concise, it will take
account of offline CPUs etc.
> + ifeq ($(JOBS),)
> + JOBS := 1
> + endif
> +endif
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists