Commit 3c0849d
authored
Build examples in parallel (#75)
Restructure build-examples to fetch corral dependencies once at the
top level, then spawn a parallel sub-make for the actual compilations.
Passing GET_DEPENDENCIES_WITH=true to the sub-make overrides the
variable in each example's Makefile, skipping redundant corral fetch
calls. This turns N+1 sequential fetches into 1 fetch followed by N
parallel compilations.
Also switch the example sub-make invocation from literal `make` to
`$(MAKE)` so command-line variable overrides propagate correctly
through recursive make.1 parent 252e9d5 commit 3c0849d
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | | - | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
80 | | - | |
| 84 | + | |
0 commit comments