Enable parallel builds by default.#70
Merged
thatch merged 1 commit intocodrsquad:mainfrom Mar 4, 2026
Merged
Conversation
Member
Author
|
The more I think about it, |
Member
Author
|
More results, this time GCC on Linux. A big chunk of the time is spent on two link steps, so most of the win comes from being able to do those two concurrently.
|
Contributor
|
Excellent bump! Let's merge it. We can also change/review this to be "use all CPUs" by default, with just a boolean to turn it off as well... You're right, the granularity on how many CPUs to use is not really needed, it was just mimicking |
7cf9feb to
763b4fa
Compare
zsimic
approved these changes
Mar 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This roughly halves the time taken to build on a 12-core MBP to make it easier to iterate. I picked 3.10 arbitrarily but this affects all
makeinvocations by default. One can override it withcpu_count=1for a particular call if there are problems.before change
after change