[LEDE-DEV] [PATCH] sdk: automatically use all CPU cores for xz

Karl Palsson karlp at tweak.net.au
Fri Aug 18 06:06:34 PDT 2017


Bjørn Mork  <bjorn at mork.no> wrote:
> This looks yucky. Experimenting a bit, I see that the result
> with
> 
>  a) -T 0 depends on multi-core vs single-core
>  b) -T 1 is always different from the output of -T x where x > 1
>  c) -T x where x > 1 is independent of both x and the actual number of
>     cores
> 
> So you will not get reproducible results with either "-T 0" or
> "-T <value from make -j>".

Sure, but -T 0 will be ok for _any_ computer with more than one
core. Which is enough of them now, and enough for people doing
builds that care about reproducibility, and certainly enough of
them to appreciate the dramatically sped up builds.

CHeers,
Karl P
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.html
Type: application/pgp-signature
Size: 1161 bytes
Desc: OpenPGP Digital Signature
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20170818/789b45f5/attachment.sig>


More information about the Lede-dev mailing list