Commit 7c4944d
committed
bootstrap: respect POSIX jobserver
When bootstrapping rust, the `-j N` flag was passed to `cmake`, which
was then forwarded to Ninja. This prevents the jobserver from being
used, and as a result leads to oversubscription when rust is just one of
the many packages built as part of a larger software stack.
Since Cargo has long supported the jobserver, it would be good if also
bootstrapping rust itself would participate in the protocol, leading to
composable parallelism.
Signed-off-by: Harmen Stoppels <me@harmenstoppels.nl>1 parent 79a1e77 commit 7c4944d
2 files changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
776 | | - | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
777 | 782 | | |
778 | 783 | | |
779 | 784 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | 550 | | |
555 | 551 | | |
556 | 552 | | |
| |||
0 commit comments