Re: SSTATE_DIR by MACHINE target?
On 1/20/23 14:23, mattwood2000@... wrote:
Hi Quentin,Except because of a personal preference of having things spatially separated, it doesn't make much sense to me. When you're building for multiple machines, some sstate-cache is shared. Such is the case of native recipes, but also some target architecture-specific recipes (e.g. something that is built for cortex-a55 cpu, will be reused for all machines based on this cpu). So it actually makes a lot of sense to share as much as possible between all your machines so that your builds are faster, feeding from other machines' builds, and you even save some space on your NAS.
I tried it and the SSTATE directory is still created in the defaultYou could have a .conf file specific to each machine and use it. Or also have this SSTATE_DIR variable directly in your machine.conf file. But again, I don't think there's much benefit in doing that :/