Hi Marcelo, On Wed, 04 May 2016 20:08:42 Marcelo E. Magallon wrote: > I suspect this is documented in a FAQ somewhere, but I'm failing to hit > the correct keywords when googling... > > Is there a way to support building images for multiple MACHINEs in a > single workspace at the same time? > > This works: > > $ MACHINE=qemux86 bitbake core-image-minimal > $ MACHINE=qemux86-64 bitbake core-image-minimal > > and bitbake parallelizes the build across tasks. What I'm trying to > figure out is if it's possible to run two bitbake instances with > different MACHINE values on different hosts but writing to the same > workspace (say, over NFS).
You can do builds for two different machines *sequentially*, reusing the same TMPDIR (or alternatively a different TMPDIR using the same sstate-cache or a mirror thereof) - tasks that were completed in the first build that don't need to be run differently for the second machine won't be re-run in the second build, so there is some level of efficiency to be had. You cannot really run these builds concurrently though (you definitely can't sharing the same TMPDIR). However, as part of the plan for 2.2 we will be looking into how we can do this. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto