How does Bazel avoid melting your workstation with concurrent subprocesses? Or… tries to, because I know it still does that sometimes? There are two mechanisms as play: the jobs number and the local resources tracker. Let’s dive into them. The jobs number, given by the --jobs flag, configures the number of concurrent Skyframe evaluators during the execution phase1. What a mouthful. What this essentially means is that jobs indicates the number of threads used to walk the graph looking for ...| Julio Merino (jmmv.dev)
Job Slots (GNU make)| www.gnu.org
236 Posts, 226 Following, 533 Followers · Operating systems, build systems, and programming languages. Mostly Unix, Bazel, and Rust. Author of a tech blog, EndBASIC, and more.| Mastodon