[PATCH] src-release.sh: Use -T0 for xz compression

Mark Wielaard mark@klomp.org
Fri May 31 13:27:33 GMT 2024


Hi Richard,

On Fri, 2024-05-31 at 14:18 +0100, Richard Earnshaw (lists) wrote:
> On 31/05/2024 10:47, Mark Wielaard wrote:
> > On Fri, May 31, 2024 at 11:04:32AM +0900, Simon Richter wrote:
> > > On 5/31/24 06:43, Mark Wielaard wrote:
> > > 
> > > > On my machine (using 4 cores) this reduces the time to create
> > > > binutils-2.42.50.tar.xz from 1 minute 40 seconds to 56 seconds.
> > > 
> > > Is the output still deterministic from the input?
> > 
> > Yes, as long as one uses mult-threaded mode -T0, it doesn't matter how
> > many cores are used. It does differ from the output of serial mode
> > though, when no -T is used.
> 
> Perhaps more importantly, for reproducibility, does it produce different
> output if run on a machine with a different number of available CPUs?

No, output is reproducible independent of number of cores used with -T.

Cheers,

Mark


More information about the Binutils mailing list