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

misc(build): Add variable to configure dependency build parallelism #12156

Closed

Conversation

czentgr
Copy link
Collaborator

@czentgr czentgr commented Jan 23, 2025

This change adds the BUILD_THREADS environment variable. This controls the parallelism used when building dependencies. By default, the number of cores in the host machine is used but can result in OOM kills. For example, on machines with 8 cores and 16GB ram (plus 16GB swap) OOM kills can be observed. This change allows a user to configure a flexible build automation.

This change adds the BUILD_THREADS environment variable. This controls the
parallelism used when building dependencies. By default, the number of cores
in the host machine is used but can result in OOM kills. For example,
on machines with 8 cores and 16GB ram (plus 16GB swap) OOM kills can be
observed. This change allows a user to configure a flexible build automation.
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 23, 2025
Copy link

netlify bot commented Jan 23, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 3300bed
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/67929772ed3ecb00083bd898

@czentgr czentgr marked this pull request as ready for review January 24, 2025 23:46
@majetideepak majetideepak added the ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall label Jan 27, 2025
@facebook-github-bot
Copy link
Contributor

@xiaoxmeng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@xiaoxmeng merged this pull request in 1692f5b.

Copy link

Conbench analyzed the 1 benchmark run on commit 1692f5b3.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants