[yocto] Shorter build time?

Carlos Alberto Lopez Perez clopez at igalia.com
Thu Jul 14 06:06:53 PDT 2016


On 01/07/16 03:29, Takashi Matsuzawa wrote:
> 
> Hello Yocto.
> 
> Well, this may not be a very new topic, but I wonder if you have recent suggetions.
> So far I have tried the followings and see some improvement, making the build time to days to hours.
> 
> 1) All of the directories, DL_DIR, SSTATE_CACHE, TMPDIR, DEPLOY_DIR are on SSD.
> 2) .repo and working directory (where I synch my recipes) also on SSD.
> 3) Set BB_NUMBER_PARSE_THREADS/PARALLEL_MAKE/BB_NUMBER_THREADS to something like 20, 30, etc.
> 4) Enable use of ICECC.
> 5) Use pigz, pbzip2, pxz instead of gzip, bzip2 and xz.
> 

6) Selecting ipk instead of rpm speeds ups all the packaging steps.

@local.conf:
-PACKAGE_CLASSES ?= "package_rpm"
+PACKAGE_CLASSES ?= "package_ipk"


https://lists.yoctoproject.org/pipermail/poky/2011-May/006362.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 883 bytes
Desc: OpenPGP digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160714/0a61a8f3/attachment.pgp>


More information about the yocto mailing list