From: "Pádraig Brady" <P@draigBrady.com>
To: Ingo Molnar <mingo@kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH 39/52] tools/perf/build: Automatically build in parallel, based on number of CPUs in the syst
Date: Tue, 08 Oct 2013 13:04:36 +0100 [thread overview]
Message-ID: <5253F4D4.7070402@draigBrady.com> (raw)
In-Reply-To: 1381227082-22039-40-git-send-email-mingo@kernel.org
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
next reply other threads:[~2013-10-08 12:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-08 12:04 Pádraig Brady [this message]
2013-10-08 12:22 ` [PATCH 39/52] tools/perf/build: Automatically build in parallel, based on number of CPUs in the syst Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5253F4D4.7070402@draigBrady.com \
--to=p@draigbrady.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox