[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #40225] Deterministic output ordering
From: |
Paul D. Smith |
Subject: |
[bug #40225] Deterministic output ordering |
Date: |
Thu, 10 Oct 2013 05:23:16 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36 |
Follow-up Comment #2, bug #40225 (project make):
A non-parallel build is actually fully deterministic for a given makefile.
Make (I believe this is specified by POSIX) will always try to build the first
prerequisite first, then the second, etc. Of course there are ways to get
non-determinism: for example IIRC the $(wildcard ...) function returns files
in "directory order", unsorted, which is non-deterministic.
I'm not saying Frank's idea would not work but I think it might be slightly
hairier than described here.
Regarding vmsjobs.c: that's OK because vmsjobs.c is actually not compiled
separately. It's #included into jobs.c, so it has access to all jobs.c's
static functions etc. This is not orthodox, but I really needed to split out
the VMS support as it was hard to follow job.c (it still is, but it was worse
before).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40225>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #40225] Deterministic output ordering, Josh Triplett, 2013/10/09
- [bug #40225] Deterministic output ordering, Frank Heckenbach, 2013/10/10
- [bug #40225] Deterministic output ordering,
Paul D. Smith <=
- Re: [bug #40225] Deterministic output ordering, Frank Heckenbach, 2013/10/10
- Re: [bug #40225] Deterministic output ordering, Tim Murphy, 2013/10/10
- Re: [bug #40225] Deterministic output ordering, Edward Welbourne, 2013/10/10
- Re: [bug #40225] Deterministic output ordering, Frank Heckenbach, 2013/10/10
- Re: [bug #40225] Deterministic output ordering, Tim Murphy, 2013/10/11
- Re: [bug #40225] Deterministic output ordering, Josh Triplett, 2013/10/11
- Re: [bug #40225] Deterministic output ordering, Edward Welbourne, 2013/10/11
- Re: [bug #40225] Deterministic output ordering, Frank Heckenbach, 2013/10/12
- Re: [bug #40225] Deterministic output ordering, Tim Murphy, 2013/10/12
- Re: [bug #40225] Deterministic output ordering, Frank Heckenbach, 2013/10/12