Skip to content

Conversation

@prateekchawla168
Copy link

Parallel builds of LLVM crash on low-memory machines. This fix adds an option for max_link_jobs (default value = 2) to prevent OOM kills.

Source: LLVM Docs

Fixes #3970.

Signed-off-by: Prateek Chawla <[email protected]>
Signed-off-by: Prateek Chawla <[email protected]>
@Thyre
Copy link
Collaborator

Thyre commented Oct 24, 2025

We're not using Ninja, so I'm quite certain that the option will not change anything.

From the doc for this option:

These options, when you use the Ninja generator, allow you to restrict the parallelism.

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

Successfully merging this pull request may close these issues.

Building LLVM crashes on low-memory machines

2 participants