What is the normal duration for first "make all" in Eclipse?
What is the normal duration for first "make all" in Eclipse?
I am just starting using Eclipse with the ESP IDF. Following the steps inthe tutorial and Neil Kolbans Tutorial I tried to "make all" the gatt_client example for the first time. Building this took 1h:20min. Is this normal? The CPU was not working on full capacity, so I don't think it is my computer that is causing this quite long build time.
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: What is the normal duration for first "make all" in Eclipse?
This build time is out of range for a typical PC. Basing on my experience, on Linux build takes below one minute, on Windows - couple of minutes. I have about 5 years old PCs loaded with Ubuntu 16.04 and Windows 7. I do not use virtualization.ahue32 wrote:I tried to "make all" the gatt_client example for the first time. Building this took 1h:20min. Is this normal?
Re: What is the normal duration for first "make all" in Eclipse?
If running on PC with good processor the build process usually takes less than 30 seconds.
For example, on my system (i7 processor, 16GB RAM, Ubuntu 17.10) building any of the examples (after make clean) takes less than 10 seconds if building with -j8 option. Building the very large application which produces ~2MB binary takes 25 seconds.
For example, on my system (i7 processor, 16GB RAM, Ubuntu 17.10) building any of the examples (after make clean) takes less than 10 seconds if building with -j8 option. Building the very large application which produces ~2MB binary takes 25 seconds.
Re: What is the normal duration for first "make all" in Eclipse?
Do you know any factors that may contribute to this abnormal build time? CPU is running beneath 10% capacity.
Re: What is the normal duration for first "make all" in Eclipse?
You can use -j flag to use multithreading. Im running ubuntu 14 in vm with 2 cores, but ive found that -j15 or even -j20 works much faster than suggested -j2 for 2 cores environment.
Re: What is the normal duration for first "make all" in Eclipse?
What OS are you using?ahue32 wrote:Do you know any factors that may contribute to this abnormal build time? CPU is running beneath 10% capacity.
If you're on Windows, Windows Defender and other anti-virus programs can make the compilation process quite slow. Disabling live scanning for the IDF & MSYS32 directories can speed things up significantly.
1h20m sounds very abnormal, though, the delays I've seen from anti-virus are more like an additional minute or so.
Angus
Who is online
Users browsing this forum: Bing [Bot], cdollar and 111 guests