Limit cores for ninja in

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

Limit cores for ninja in

Postby HarmlessDave » Tue Nov 30, 2021 12:11 pm

It would be nice to have a _DEFINES flag for to limit the number of CPU cores used by ninja.

For building on a workstation, that allows doing a build in the background while keeping the machine available for other work. For systems with intel CPUs it can keep the process from using high power levels for long periods that might strain the cooling system.

Note: this can be done by manually editing the .py script to change the command = "ninja " line to add for example " -j 4 " but having support in the script would be better for automated workflows.
Posts: 339
Joined: Fri Jul 11, 2014 2:02 pm

Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 4 guests