-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
DO NOT MERGE: testing arduino-builder with multi core support #4240
Conversation
Have you triggered the bot or is it just busy? |
I compiled it myself. It seems to work and speed up the process. All 8 cores are used. (Elementary > Ubuntu LTS 64 bit). Only did a quick test, will keep the PR merged for the next weeks. Now I am looking forward to make this usable with raspi2. This would be an ultimate combination of the two boards. Also Processing is now supported on the pi where you can combine the Arduino even better with the pi. Serial, gpios or whatever. But thats another issue/feature ;) |
Thank for the test @NicoHood I'm looking forward for some windows and mac users |
Windows 7 64bit - Intel core i5 with SSD |
The build does not seem to mark compile errors properly. Just hit into errors witht his (leonardo): uint8_t array[2048];
void setup()
{
Serial.begin(115200);
memset(0xFF, array, sizeof(array); //here is the error
}
void loop()
{
for (size_t i = 0; i < sizeof(array); i++)
{
Serial.println(array[i], HEX);
}
} |
Indeed. A previous version was eating errors printed on stderr. Please download the latest build and retry |
Works now. It seems you used a commit --amend and forced a push. Please do not do that next time ;) |
I do that with pullrequests all the time, as far as I'm concerned, it's up to people pulling PR branches to be careful while pulling. |
used time + command line forcing arduino uno as board to get better result nightly: PR-4240: |
@NicoHood indeed I often rebase and force push on my dev branches, in order to keep the history nice and clean |
Sketch ASCIITable |
@ffissore compiled a bigger sketch, it take about 6 seconds to compile (and because arduino command take ~6 seconds, any noticeable gain should cover the noise), the situation is not worse because running many time the build command (deleting the /tmp/build* folder, but the arduino --verify does not seems to leave it anyway) give a variatio of about +-1 seconds. A script can be made to measure to collect many run and see if there is a meaningful difference between the two script. Still better than using "feeling", also difference can be caused by different load on the system target is atmega2560, code is BCN3D_v3_0_2x01 (download: https://github.com/BCN3D/BCN3D-Firmware/tree/master/BCN3D%2B/BCN3D_v3_0_2x01) nightly: PR4240: |
Is there any progress? Milestone is 1.6.8 but apparently it's not merged? Would love to speed up the build using the esp8266 core/libs. What is missing? |
Available in 1.9.0 Beta builds, closing this one |
This build (the one @ArduinoBot will kindly provide) contains a version of arduino-builder which will leverage all your PC cores to speed up compilation. Rough measurements show a speed improvement of 30%, but your mileage may vary
Please post your 👍 if you find it works as expected