On Sun, Mar 25, 2012 at 09:18:18AM +1030, Ron wrote: > > Hi Jakub, Russ, > > On Sat, Mar 17, 2012 at 04:55:19PM -0700, Russ Allbery wrote: > > Jakub Wilk <jw...@debian.org> writes: > > > > > How should packages behave if there is no explicit "parallel=N" in > > > DEB_BUILD_OPTIONS? I saw two different approaches: > > > > > 1) Behave (roughly) like if parallel=1 was set. > > > > > 2) Be clever and try to guess the "right" level of parallelism, e.g. by > > > using "getconf _NPROCESSORS_ONLN" or parsing /proc/cpuinfo (ugh!).
On an hyperthreaded system, "getconf _NPROCESSORS_ONLN" return the number of threads and not the number of cores, so it is not always what the user want. Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to debian-policy-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120325144423.GA28771@yellowpig