Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Turn off "browse information" in Uvision template #4578
We were seeing extraordinarily long build times in Uvision 5.24. Sometimes > than 20 minutes for blinky. @bridadan reported 10 minute builds during export-build tests, even on the CI machines. I've found that enabling Uvision's "browse information," which is essentially their indexer, is responsible for this. With this option turned off, I saw a 19 minute reduction in build time when compiling blinky for NUCLEO_F439ZI.
As a note, I realize this is an important feature for the IDE. If a user tries to use it when the option is turned off, Uvision provides instructions for turning it on.
Steps to test or reproduce
In uvision, go to: options for target > output> browse information. Try compiling with it on/off.
when was this option with 1 introduced?
I noticed the build times recently were too long and my machine was not usable during it. What does this option do, I dont see explained, how a user is impacted with this option off (neither in the commit message, should specify why we are turning it off). Please update
Can you update the commit message - why we are turning it off, we will run the CI right after.
Interesting this affects building. Thanks for the description
cc @ReinhardKeil if anyone from the team can have a look at this, could indexer cause x minutes delay with building?
Just giving some background information:
As the ARM Compiler 6 does not generate this omf source browse information, we have developed a way to generate this source browse information dynamically using the armclang and therefore it becomes independent from the build of the application, hence no impact on the build time.
This will be release as part of MDK 5.24 later next week but only becomes effective if the ARM compiler 6 is selected.
If you have any questions, don't hesitate to contact me (@jkrech)