[Buildroot] [PATCH] package-infra: limit the number of // jobs
Yann E. MORIN
yann.morin.1998 at free.fr
Thu May 9 22:13:13 UTC 2013
All,
On Fri, May 10, 2013 at 12:03:20AM +0200, Yann E. MORIN wrote:
[--SNIP--]
> Limit the number of jobs to the number of CPUs plus one.
[--SNIP--]
> @@ -11,7 +11,7 @@ HOSTMAKE :=$(shell which $(HOSTMAKE) || type -p $(HOSTMAKE) || echo make)
> # while waiting on I/O.
> ifeq ($(BR2_JLEVEL),0)
> PARALLEL_JOBS:=$(shell echo \
> - $$((2 * `getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1`)))
> + $$((2 + `getconf _NPROCESSORS_ONLN 2>/dev/null || echo 0`)))
I forgot to 'git add' before I 'git commit --amend'.
So this should have been a '1 +' not a '2 +'.
Sigh... :-/
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list