Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect taskset CPU limit #2525

Open
user202729 opened this issue Nov 10, 2024 · 0 comments
Open

Respect taskset CPU limit #2525

user202729 opened this issue Nov 10, 2024 · 0 comments

Comments

@user202729
Copy link

Currently, for machines with N processors, ninja by default uses N+1 processes.

However, if taskset -c 0-2 ninja is run, ninja tries to use N+1 processes anyway instead of 3+1.

(of course in this case it's possible to just pass -j3, but if it's deeply nested there isn't any way to configure it. It's not possible to control it from environment variable #1482)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant