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

Set makeflags jobs to number of CPUs detected on host #58

Closed
wants to merge 1 commit into from

Conversation

Brainiarc7
Copy link
Contributor

Description:

This patch sets makeflags jobs to number of CPUs detected on host via nproc.

Benefits of this PR and context:

This patch sets the makeflags variable to the automatically detected number of logical CPUs on the host via nproc, instead of hard-coding the number to 4. This should speed up the build times significantly on modern multi-processor hosts.

This patch sets the makeflags variable to the automatically detected number of logical CPUs on the host via `nproc`, instead of hard-coding the number to 4.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this pull request! Be sure to follow the pull request template!

@aptalca
Copy link
Member

aptalca commented Feb 5, 2024

Thanks for the PR, but we hardcoded it specifically for our ci.

@thelamer thelamer closed this Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants