Speeding up Bitbake build

Home Forums MultiConnect OCG Speeding up Bitbake build

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9685
    Samuel Chen
    Participant

    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

    #9686
    Jesse Gilles
    Blocked

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.