Speeding up Bitbake build
- This topic has 1 reply, 2 voices, and was last updated 9 years, 1 month ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › MultiConnect OCG › Speeding up Bitbake build
Hi,
Does Multitech have some specific guidelines and tips on how to speed up the corecdp build ?
I have found general information pertaining to Bitbake:
http://stackoverflow.com/questions/18074979/methods-for-speeding-up-build-time-in-a-project-using-bitbake
Thanks,
Samuel
Mainly the following:
* More CPU cores
* Fast disk I/O (SSD)
* Set BB_NUMBER_THREADS and PARALLEL_MAKE in local.conf based on the number of cores you have. If you keep these low and have more cores available, the build will be much slower than necessary
* Have source code pre-fetched (corecdp tarballs have sources downloaded already so little/no downloading is needed)
Also keep in mind that the initial build of corecdp will take a while, but subsequent builds in the same directory will be incremental and only build what is needed.