* Adam Borowski <kilob...@angband.pl>, 2016-04-27, 12:02:
export DEB_BUILD_OPTIONS=parallel=`grep ^processor /proc/cpuinfo|wc -l`
Refuse the temptation to parse /proc/cpuinfo. Use nproc(1) instead.
Oh, that's something new (for the value of "new" of "added upstream on 2009-11-06, to Debian in 8.1-1 for squeeze"). Good to know.

For pre-squeeze, there's "getconf _NPROCESSORS_ONLN".

And for stretch, there's "dpkg-buildpackage -Jauto" (not to be confused with -jauto, which is evil).

--
Jakub Wilk

Reply via email to