-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.Relevant to the cargo team, which will review and decide on the PR/issue.
Description
I'm currently working on enhancing the Rust package (currently 1.72.0) in OpenWrt (the build system is based on buildroot). After ensuring the x.py command is prefixed with +
and that MAKEFLAGS
is set correctly, bootstraping continues to use all of my CPUs instead of the -jN
jobs from the make command line.
I have tried patching out these lines that remove MAKEFLAGS
from the environment for cargo; the MAKEFLAGS
value does reach cargo but cargo continues to set up its own jobserver instead.
I can see that removing MAKEFLAGS
from the environment was deliberate (as noted in #50629 (comment)), but it would be great if building rustc can cooperate with the rest of the build system by using the same jobserver.
onur-ozkan
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.Relevant to the cargo team, which will review and decide on the PR/issue.