| Line | |
|---|
| 1 | make ordering: zow.h boz.h zig.cpp zig.o dax.h yow.h zag.cpp zag.o bar.cpp bar.o foo.cpp foo.o libfoobar.a libzigzag.a killerapp |
|---|
| 2 | |
|---|
| 3 | parallel make ordering, |
|---|
| 4 | vertices with same group number can be made in parallel |
|---|
| 5 | time_slot[dax.h] = 0 |
|---|
| 6 | time_slot[yow.h] = 1 |
|---|
| 7 | time_slot[boz.h] = 0 |
|---|
| 8 | time_slot[zow.h] = 0 |
|---|
| 9 | time_slot[foo.cpp] = 1 |
|---|
| 10 | time_slot[foo.o] = 2 |
|---|
| 11 | time_slot[bar.cpp] = 2 |
|---|
| 12 | time_slot[bar.o] = 3 |
|---|
| 13 | time_slot[libfoobar.a] = 4 |
|---|
| 14 | time_slot[zig.cpp] = 1 |
|---|
| 15 | time_slot[zig.o] = 2 |
|---|
| 16 | time_slot[zag.cpp] = 2 |
|---|
| 17 | time_slot[zag.o] = 3 |
|---|
| 18 | time_slot[libzigzag.a] = 5 |
|---|
| 19 | time_slot[killerapp] = 6 |
|---|
| 20 | |
|---|
| 21 | A change to yow.h will cause what to be re-made? |
|---|
| 22 | yow.h bar.cpp zag.cpp bar.o zag.o libfoobar.a libzigzag.a killerapp |
|---|
| 23 | |
|---|
| 24 | The graph has a cycle? 0 |
|---|
| 25 | |
|---|
| 26 | adding edge bar_cpp -> dax_h |
|---|
| 27 | |
|---|
| 28 | The graph has a cycle now? 1 |
|---|
Note: See
TracBrowser
for help on using the repository browser.