Fix time output in `seed/update`
0e582700fa96babe7f3a4c96b05c03b0050f53497436f01a8551a9c892751c55
1 parent
d87d4d0a
seed/update
+2 -2
| 57 | 57 | # Compile one self-hosted stage. |
|
| 58 | 58 | # stage <input> <output> |
|
| 59 | 59 | # --------------------------------------------------------------------------- |
|
| 60 | 60 | ||
| 61 | 61 | stage() { |
|
| 62 | - | time $EMU "$1" $OPTS -o "$2" |
|
| 62 | + | time -p $EMU "$1" $OPTS -o "$2" |
|
| 63 | 63 | } |
|
| 64 | 64 | ||
| 65 | 65 | # --------------------------------------------------------------------------- |
|
| 66 | 66 | # Compile one stage using a native (s0) binary. |
|
| 67 | 67 | # stageS0 <input> <output> |
|
| 68 | 68 | # --------------------------------------------------------------------------- |
|
| 69 | 69 | ||
| 70 | 70 | stageS0() { |
|
| 71 | - | time "$1" compiler/radiance.rad $OPTS -o "$2" |
|
| 71 | + | time -p "$1" compiler/radiance.rad $OPTS -o "$2" |
|
| 72 | 72 | } |
|
| 73 | 73 | ||
| 74 | 74 | # --------------------------------------------------------------------------- |
|
| 75 | 75 | # Compare two stage binaries. Returns 0 if identical, 1 if they differ. |
|
| 76 | 76 | # --------------------------------------------------------------------------- |