bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #40225] Deterministic output ordering


From: Josh Triplett
Subject: Re: [bug #40225] Deterministic output ordering
Date: Thu, 10 Oct 2013 07:58:54 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Oct 10, 2013 at 08:12:51AM -0400, Paul Smith wrote:
> But I understood that the impetus for this feature would be to compare
> builds between two completely different workspaces.  It doesn't seem
> very useful (to me) to ensure the order of two builds within the same
> workspace since unless it's a clean build the output will be different.

A clean build is exactly the use case.

Right now:

make clean ; make > before.log 2>&1
# change something
make clean ; make > after.log 2>&1
diff -u before.log after.log

That takes an excessively long time, because the build has to run
sequentially.

With deterministic ordering:

make clean ; make --deterministic-ordering -j$(ncpus) > before.log 2>&1
# change something
make clean ; make --deterministic-ordering -j$(ncpus) > after.log 2>&1
diff -u before.log after.log

- Josh Triplett



reply via email to

[Prev in Thread] Current Thread [Next in Thread]