-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Use more processors to build base builds. #9419
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
Conversation
0ff72e8 to
7b2f716
Compare
mijovic
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
.circleci/config.yml
Outdated
| docker: | ||
| - image: ethereum/solidity-buildpack-deps:emsdk-1.39.15-2 | ||
| environment: | ||
| NJOBS: 9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In #9368 (comment) @ekpyron suggested using MAKEFLAGS for that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least if it works, yeah :-).
| -DTESTS=0 \ | ||
| .. | ||
| make -j 4 soljson | ||
| make -j "${NJOBS:-4}" soljson |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you should also modify Travis config to set this variable? Or is it just that you're fine with the default and don't want to change it to anything higher right now?
ekpyron
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, that seems nicer to me! We should confirm that it actually works as expected (i.e. look at the runtimes), though :-).
|
The time for the build only (excluding setting up the docker image since the time for that can vary) goes from 8.5 minutes down to 3.5 |
No description provided.