kumquat-buildroot/package
Yann E. MORIN df8d52fb02 package-infra: limit the number of // jobs
The current code spawns as many jobs as up to twice the number of CPUs.

On small-class machines like laptops, with a limitted amount of memory,
but still a few CPUs (real or hyperthreads), the HDD becomes a bottleneck,
and it becomes almost impossible to do anythiong else while there is a
build in progress.

Limit the number of jobs to the number of CPUs plus one.

Even on fast machines with fast HDDs, this settings keeps the machine
fully busy (for those packages that can build in parallel, of course).

For example, building qemu or the linux kernel kept my hyperthreaded
hexa Core i7 with 18GiB of RAM, busy at 99% (I never ever managed to
get 100% even with more jobs, not even 200); while on my hyperthreaded
dual Core i5 with only 4GiB and a slow HDD, I still topped at 100% CPU,
while still able to do some work involving the HDD.

If the number of processors is not available, assume one.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Nathan Lynch <ntl@pobox.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 22:49:59 +02:00
..
acl
acpid
aircrack-ng aircrack-ng: fix build failure and install path 2013-05-05 21:08:27 +02:00
alsa-lib
alsamixergui
apr
apr-util
argp-standalone
argus
arptables
at at: bump to version 3.1.13 2013-04-28 20:33:15 +02:00
atk atk: add license information 2013-05-11 09:52:55 +02:00
attr
audiofile audiofile: regenerate configure to fix issues 2013-05-05 21:01:56 +02:00
autoconf
automake
avahi
axel
b43-firmware
b43-fwcutter
bash
bcusdk
beecrypt
berkeleydb
bind bind: fix build failure for static+openssl 2013-05-05 22:57:54 +02:00
binutils arc: Add support for ARC-specific binutils 2013-05-04 23:07:44 +02:00
bison
blackbox blackbox: needs mmu 2013-05-06 23:59:12 +02:00
bluez_utils
bmon
boa
bonnie
boost
bootutils
bridge-utils
bsdiff
bustle
busybox busybox 1.21.0: update mdev patch 2013-04-23 20:39:23 +02:00
bwm-ng
bzip2
cache-calibrator
cairo
can-utils
ccache ccache: define license 2013-05-02 23:53:36 +02:00
ccid
cdrkit
cegui06
celt051
cgilua
chrony chrony: new package 2013-05-07 23:04:08 +02:00
cifs-utils
cjson
classpath
cloop
cmake
collectd
connman
conntrack-tools
copas
coreutils
coxpcall
cpanminus
cppzmq
cpuload
cramfs
crda crda: new package 2013-05-06 13:44:59 +02:00
crosstool-ng crosstool-ng: bump to version 1.18.0 2013-04-23 23:44:02 +02:00
cryptodev cryptodev: add new virtual 2013-05-05 22:59:47 +02:00
cryptodev-linux cryptodev-linux: new package 2013-05-05 22:59:37 +02:00
ctorrent
cups
curlftpfs
cvs
czmq
dash
dbus dbus: add license information 2013-05-11 09:55:32 +02:00
dbus-glib
dbus-python
devmem2
dfu-util
dhcp
dhcpdump
dhrystone
dialog
diffutils diffutils: only needs gettext if locale is selected 2013-05-03 14:38:55 +02:00
directfb directfb: fix error in *SetRegion* datatypes 2013-05-02 23:11:39 +02:00
directfb-examples various packages: fix license information 2013-05-08 13:49:01 +02:00
distcc
divine various packages: fix license information 2013-05-08 13:49:01 +02:00
dmalloc dmalloc: Stop libdmalloc*.so files from being deleted from staging directory 2013-05-04 22:39:16 +02:00
dmidecode
dmraid
dnsmasq
docker
doom-wad
dosfstools
dropbear dropbear: disable standalone mode for nommu 2013-05-07 16:30:30 +02:00
dsp-tools
dstat
dtach
dvb-apps
dvbsnoop
e2fsprogs
ebtables ebtables: fix static build 2013-05-06 23:58:27 +02:00
ed
eeprog
efl
elftosb
elfutils
empty
enchant
enlightenment
enscript
erlang erlang: needs mmu 2013-05-06 23:54:40 +02:00
ethtool ethtool: bump to version 3.9 2013-05-05 16:33:51 +02:00
evtest
exfat
exfat-utils
expat
explorercanvas
ezxml
f2fs-tools
fakeroot
fan-ctrl
fb-test-app various packages: fix license information 2013-05-08 13:49:01 +02:00
fbdump
fbgrab
fbset
fbterm
fbv
fconfig
feh
fftw
file
filemq
findutils
firmware-imx
fis
flashbench
flashrom
flex flex: only needs gettext if locale is selected 2013-05-07 00:23:35 +02:00
flot
fltk
fluxbox
fmtools
fontconfig
foomatic-filters
freerdp
freetype
fxload various packages: fix license information 2013-05-08 13:49:01 +02:00
gadgetfs-test
gamin
gawk
gd
gdb
gdbm
gdk-pixbuf
genext2fs
genimage
genpart
genromfs
gesftpserver
gettext
giblib
glib-networking
glibmm glibmm: new package 2013-04-24 21:42:59 +02:00
gmp gmp: bump to version 5.1.1 2013-04-26 22:18:36 +02:00
gmpc
gnuchess
gnupg
gnuplot
gnutls gnutls: enable cryptodev-linux support 2013-05-05 23:00:35 +02:00
gob2
googlefontdirectory
gperf gperf: add license information 2013-05-07 23:01:33 +02:00
gpsd gpsd: bump version to 3.9 2013-05-02 23:29:39 +02:00
gptfdisk
gqview
grantlee
grep
gsl
gtest
gtk2-engines
gtk2-themes
gtkperf
gutenprint gutenprint: disable (doxygen) documentation generation 2013-05-11 21:18:49 +02:00
gvfs
gzip
haserl haserl: move patches to new model 2013-04-23 09:03:21 +02:00
hdparm
heirloom-mailx
hiawatha
hostapd
hplip hplip: needs threads 2013-05-10 20:37:40 +02:00
htop htop: bump to version 1.0.2 2013-04-25 22:44:39 +02:00
httping
hwdata
i2c-tools
icu
ifplugd
iftop
igh-ethercat
imagemagick
imlib2
imx-lib
inadyn
infozip
inotify-tools inotify-tools: install to staging 2013-05-04 13:28:02 +02:00
input-event-daemon
input-tools
intltool
iostat
iozone IOzone: new package 2013-05-05 21:31:19 +02:00
iperf
ipkg
iproute2
ipsec-tools
ipset
iptables
irda-utils
iw iw: bump to version 3.10 2013-05-02 23:06:35 +02:00
jamvm
jansson jansson: add empty line after header 2013-04-26 23:08:51 +02:00
jhead
jpeg
jpeg-turbo
jquery
jquery-keyboard jquery-keyboard: new package 2013-05-04 13:05:37 +02:00
jquery-sparkline
jquery-ui jquery-ui: add license info 2013-05-06 17:43:36 +02:00
jquery-ui-themes jquery-ui-themes: use a choice option for theme name 2013-05-07 15:19:22 +02:00
jquery-validation
jsmin
json-c json-c: bump to version 0.11 2013-05-10 20:41:39 +02:00
json-glib
json-javascript json-javascript: new package 2013-05-05 22:15:28 +02:00
kbd
kexec
keyutils
kismet
kmod
latencytop
lcdapi
lcdproc
lcms2
leafpad
less
libaio
libao
libarchive
libargtable2
libart
libatasmart various packages: fix license information 2013-05-08 13:49:01 +02:00
libatomic_ops
libcap
libcap-ng
libcdaudio
libcgi
libcgicc
libcofi
libconfig
libconfuse
libcue
libcuefile
libcurl libcurl: add security patch for CVE-2013-1944 2013-05-11 21:26:42 +02:00
libdaemon
libdmtx
libdnet
libdrm
libdvdnav
libdvdread
libebml
libelf
liberation
libesmtp
libev
libevent
libexif
libeXosip2
libfcgi
libffi
libfreefare
libfribidi
libfslcodec
libfslparser
libfslvpuwrap
libftdi
libfuse
libgail
libgcrypt libgcrypt: bump to version 1.5.2 2013-04-23 20:52:14 +02:00
libgeotiff
libglade
libglib2
libgpg-error
libgsasl
libgtk2
libhid
libical
libiconv
libid3tag
libidn
libiqrf
libiscsi
libjpeg
libjson libjson: ensure shared lib is built with -fPIC 2013-05-03 13:10:23 +02:00
liblo
liblockfile
liblog4c-localtime
libmad
libmatroska
libmbus
libmcrypt
libmhash
libmicrohttpd libmicrohttpd: bump to version 0.9.27 2013-05-07 09:20:48 +02:00
libmms
libmnl
libmodbus
libmpd
libmpeg2
libnetfilter_acct
libnetfilter_conntrack
libnetfilter_cthelper
libnetfilter_cttimeout
libnetfilter_log
libnetfilter_queue
libnfc
libnfc-llcp
libnfnetlink
libnl libnl: enable parallel make 2013-05-07 00:29:11 +02:00
libnspr
libnss
liboauth
libogg
liboping
libosip2
libpcap
libpfm4
libplayer libplayer: needs threads support in toolchain 2013-05-03 12:47:45 +02:00
libpng
libpthsem
libraw
libraw1394
libreplaygain
libroxml
librsvg
librsync
libsamplerate
libseccomp
libserial libserial: new package 2013-04-23 20:37:42 +02:00
libsexy
libsha1
libsigc
libsigsegv
libsndfile
libsoup
libsvgtiny
libsysfs
libtasn1
libtheora
libtirpc
libtool
libtorrent
libtpl
libungif
libupnp
liburcu
libusb
libusb-compat
libv4l
libvncserver
libvorbis
libwebsockets
libxkbcommon libxkbcommon: new package 2013-04-30 09:34:53 +02:00
libxml2
libxml-parser-perl
libxmlpp various packages: fix license information 2013-05-08 13:49:01 +02:00
libxslt
libyaml
lighttpd
linenoise
linknx
links
linphone
linux-firmware
linux-fusion
linux-pam
lite
live555
lm-sensors
lmbench
localedef
lockfile-progs
log4cxx
logrotate
logsurfer
lpc3250loader
lrzsz
lshw
lsof
lsuio
ltp-testsuite ltp-testsuite: fix build breakage with libcap 2013-05-05 21:01:30 +02:00
ltrace ltrace: unavailable for ARC architecture 2013-05-11 14:52:32 +02:00
lttng-babeltrace
lttng-libust
lttng-modules
lttng-tools
lua
lua-msgpack-native
luacjson
luaexpat
luafilesystem
luajit
luasocket
lvm2
lzma
lzo
lzop lzop: add LZOP definition for the host variant 2013-04-24 22:18:02 +02:00
m4
macchanger
make make: add license info 2013-05-06 13:57:45 +02:00
makedevs
matchbox
mcrypt
mdadm
media-ctl
mediastreamer
memstat
memtester memtester: add license info 2013-05-03 12:26:45 +02:00
metacity
midori
mii-diag
minicom
mobile-broadband-provider-info
module-init-tools
mongoose mongoose: fix license info 2013-05-03 12:35:18 +02:00
mongrel2 mongrel2: new package 2013-04-26 23:08:51 +02:00
monit
mpc
mpfr
mrouted
msmtp msmtp: bump to version 1.4.31 2013-05-07 23:40:39 +02:00
mtd
mtdev
mtdev2tuio
mtools
multimedia pulseaudio: link against json-c 2013-05-10 20:42:02 +02:00
mutt
mxml
mysql_client
nano
nanocom
nasm
nbd
ncdu
ncftp
ncurses
ndisc6 ndisc6: only needs gettext if locale is selected 2013-05-07 00:23:55 +02:00
ne10
neard neard: add support for tools 2013-04-26 16:42:11 +02:00
neardal neardal: add support for ncl tool 2013-04-26 12:39:18 +02:00
neon
netatalk
netcat
netkitbase
netkittelnet
netperf
netplug
netsnmp
netstat-nat
nettle nettle: fix ARM NEON breakage 2013-05-05 16:35:06 +02:00
network-manager
newt
nfacct
nfs-utils
ngircd
ngrep
nmap
nodejs
noip
nss-mdns
ntfs-3g
ntp
nuttcp
ocf-linux ocf-linux: remove extension and build out of tree 2013-05-05 22:59:14 +02:00
ofono
olsr
omap-u-boot-utils omap-u-boot-utils: define license 2013-05-02 23:52:54 +02:00
open2300
opencv gstreamer: needs threads support in toolchain 2013-05-03 12:47:54 +02:00
opengl
openntpd
openobex
openocd
openpgm
openssh openssh: don't use a custom libexec dir 2013-04-25 22:53:00 +02:00
openssl openssl: integrate variable cryptodev support 2013-05-05 23:00:12 +02:00
openswan openswan: fix OCF support detection 2013-05-05 23:00:53 +02:00
openvpn
opkg
oprofile
opus
opus-tools
orc
ortp
owl-linux
pango
parted
patch patch: fix license information 2013-05-08 12:17:13 +02:00
pciutils pciutils: ensure cross-pkgconfig is used 2013-04-29 09:17:15 +02:00
pcmanfm
pcre
pcsc-lite
perf
perl
php qt, php: selecting mysql requires depending on MMU 2013-04-29 22:56:13 +02:00
picocom
pixman
pkg-config
pkgconf
poco
polarssl
polkit
poppler poppler: new package 2013-04-23 22:40:18 +02:00
popt
portaudio
portmap
pppd
pptp-linux
prboom
procps
proftpd
protobuf
protobuf-c
proxychains-ng
psmisc
pv
python python: remove smtpd.py 2013-05-06 13:58:38 +02:00
python3
python-bottle python-bottle: bump version and fix shebang 2013-05-06 09:30:08 +02:00
python-distutilscross
python-dpkt
python-id3
python-m2crypto python-m2crypto: new package 2013-05-06 13:44:35 +02:00
python-mad
python-meld3
python-netifaces python-netifaces: use single version externally managed 2013-05-07 00:20:24 +02:00
python-nfc python-nfc: needs toolchain with threads support 2013-05-10 20:40:15 +02:00
python-protobuf
python-pygame
python-pyparsing
python-serial python-serial: fix shebang 2013-05-06 09:30:14 +02:00
python-setuptools python-setuptools: forkbump and add workaround for shebangs 2013-05-07 00:20:59 +02:00
python-thrift python-thrift: new package 2013-05-07 00:33:14 +02:00
qemu
qextserialport
qjson
qt qt: define license 2013-05-02 23:53:07 +02:00
qt5 qt5imageformats: needs gui support in qt5base 2013-05-11 12:39:57 +02:00
qtuio
quagga
quota
qwt
radvd
ramspeed
rapidjson
rdesktop
read-edid
readline
redis
rings
rng-tools
rp-pppoe
rpcbind
rpi-firmware various packages: fix license information 2013-05-08 13:49:01 +02:00
rpi-userland various packages: fix license information 2013-05-08 13:49:01 +02:00
rpm
rrdtool
rsh-redone
rsync
rsyslog
rt-tests
rtai
rtorrent
rubix
ruby
sam-ba
samba samba: add option for built-in debug messages 2013-05-04 14:58:48 +02:00
sane-backends
sawman sawman: bumping version to 1.6.3 2013-04-28 21:52:12 +02:00
schifra
sconeserver
scons
screen
sdl sdl: fix directfb configure check 2013-04-28 22:32:39 +02:00
sdl_gfx
sdl_image
sdl_mixer
sdl_net
sdl_sound
sdl_ttf
sdparm
sed
ser2net
setserial
sg3_utils
shared-mime-info
slang
slirp
smartmontools
snowball-hdmiservice
snowball-init
socat
socketcand socketcand: needs toolchain with threads support 2013-05-02 23:29:11 +02:00
sound-theme-borealis
sound-theme-freedesktop
spawn-fcgi
speex
spice
spice-protocol
sqlcipher
sqlite
squashfs
squashfs3
squid squid: bump to version 3.3.4 2013-04-27 20:05:07 +02:00
sredird
sshfs
sstrip
startup-notification
statserial
strace strace: unavailable for AArch64 and ARC 2013-05-11 14:52:27 +02:00
stress
stunnel
sudo
supervisor
swig
sylpheed
synergy
sysklogd
sysprof
sysstat
systemd
sysvinit
taglib
tar
tcl various packages: fix license information 2013-05-08 13:49:01 +02:00
tcllib
tcpdump
tcpreplay tcpreplay: needs MMU 2013-04-29 08:49:03 +02:00
texinfo
tftpd
thttpd
ti-utils
tiff
time
tinyhttpd
tn5250
torsmo
transmission
tremor
tslib
ttcp
tvheadend package/tvheadend: use a non-root user to run the daemon 2013-04-25 22:57:00 +02:00
tzdata
uboot-tools uboot-tools: bump version 2013-04-24 09:16:50 +02:00
udev udev: add license information 2013-05-08 15:09:57 +02:00
udisks
udpcast
uemacs
ulogd
unionfs
urg
usb_modeswitch
usb_modeswitch_data
usbmount
usbredir
usbutils
ushare
ussp-push
util-linux
ux500-firmware
vala
valgrind
vde2
vim
vpnc
vsftpd
vtun
wayland wayland: new package 2013-04-30 10:05:55 +02:00
webkit Update webkit download URL 2013-05-06 23:57:07 +02:00
webp webp: bump version 2013-05-05 22:41:33 +02:00
webrtc-audio-processing
weston weston: new package 2013-04-30 10:10:14 +02:00
wget
whetstone
which
wipe
wireless_tools
wireless-regdb wireless-regdb: bump to version 2013.02.13 and style fixes 2013-04-23 21:36:15 +02:00
wireshark
wpa_supplicant
wsapi
wvdial wvdial: new package 2013-05-06 13:37:42 +02:00
wvstreams wvstreams: disable warnings 2013-05-11 09:36:46 +02:00
x11r7 xdriver_xf86-video-mach64: bumped to 6.9.3 2013-05-05 22:24:47 +02:00
x11vnc
xavante
xenomai
xerces
xfsprogs
xinetd
xl2tp
xmlstarlet
xstroke
xterm
xvkbd
xz xz: add XZ definition for the host variant 2013-04-24 22:18:06 +02:00
yajl Download packages from github in tar.gz format instead git format. 2012-10-08 21:21:00 +02:00
yasm
yavta
zd1211-firmware
zeromq zeromq: bump version to 3.2.3 2013-05-06 09:24:40 +02:00
zic
zlib
zmqpp
zxing
zyre zyre: new package 2013-04-23 22:18:10 +02:00
Config.in chrony: new package 2013-05-07 23:04:08 +02:00
Config.in.host
Makefile.in package-infra: limit the number of // jobs 2013-05-11 22:49:59 +02:00
pkg-autotools.mk
pkg-cmake.mk
pkg-download.mk
pkg-generic.mk packages: add ability for packages to create users 2013-04-25 22:56:42 +02:00
pkg-utils.mk