-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Parallel compiling: arduino-builder will leverage your multi core pc #242
Conversation
If -jobs X param is specified and X is greater than 0, arduino-builder won't spawn more than X processes. Fixes arduino#17 - Rebased from Federico Fissore branch arduino@0a3d888#diff-8f074e2b3fc911dbe8255891fc1a9b13R96 - Add HumanTagsLogger compatibility - Remove an if which suppress some GCC error messages here: arduino@0a3d888#diff-8f074e2b3fc911dbe8255891fc1a9b13R96
Parallel compiling: arduino-builder will leverage your multi core pc
@ArduinoBot build this please |
✅ Build completed. ⬇️ Build URL: ℹ️ To test this build:
|
✅ Build completed. ⬇️ Build URL: ℹ️ To test this build:
|
@copercini, I couldn't manage to reproduce the slowness of the PR236 build (see #236 (comment)). Any chance that was just a measurement error on your side (system under load perhaps)? Could you see if you can reproduce this slowness again? |
@matthijskooijman The data used in the table comes from this build: https://travis-ci.org/arduino/arduino-builder/builds/243798460 So yes, probably the slowness comes from something in Travis CI just at this time and your PR is fine |
Thanks for checking! |
This seems useful. Especially on Windows, where Arduino seems to build more slowly on a 2018 Surface Book 2 than a 2014 Macbook Pro. @copercini was there a blocker? |
This one has been manually merged. |
Any chance for a 1.8.6 release with this feature? I've been using 1.8.5 with 1.9's builder and preprocessor, and the new preprocessor rule added to 1.8.5's platform.txt. It's really awesome for larger projects with a lot of code! I'm sure much of the Arduino community would love a near-term stable 1.8.6 release with this feature.... |
If -jobs X param is specified and X is greater than 0, arduino-builder won't spawn more than X processes. Fixes #17