Configure Incredibuild to work with Yocto
-
Configure Yocto parallelization:
- Create a text file called bitbake.ib.conf in your Yocto environment. This file will be used to define Yocto parallelization and it’s path will be referenced in each of your builds.
-
The contents of the file should be:
Where:
- PARALLEL_MAKE should be 1.5 times the number of cores in the Incredibuild grid
- BB_NUMBER_THREADS should be 1.2 times the number of cores on your Initiating machine
Running Yocto Builds
You run Yocto builds using theib_console command. For details, see Executing Your Builds.
For example: ib_console --avoid-user bitbake core-image-sato -r /<path>/bitbake.ib.conf
We strongly recommend using the --avoid-user or --avoid-shared flags to achieve optimal build times. For details about how to use these flags, see Build Avoidance.
https://docs.incredibuild.com/Default.htm
https://docs.incredibuild.com/lin/latest/Default.htm
https://docs.incredibuild.com/win/latest/Default.htm
https://docs.incredibuild.com/cloud/Default.htm
rLinuxhttps://www.incredibuild.com/4.18