Skip to contentSkip to conversation

sstate-cache

DISCUSSION Jaap de Jong 1 participant 2 messages Nov 22, 2012 – Nov 23, 2012

lore
Share & tools
lore
#0 lore raw

Hi All,
I have a handful of openembedded clones on a single machine and I would like to use as little diskspace as possible, so I'm wondering if it is possible to share the directory build/sstate-cache among these different clones? Any idea?
Thanks!
Jaap

#1 lore raw
Quoted 5 lines · Jaap de Jong

I have a handful of openembedded clones on a single machine and I would like to use as little diskspace as possible, so I'm wondering if it is possible to share the directory build/sstate-cache among these different clones?

To be a bit more precise, these are the variables to work with:

SSTATE_DIR ?= "${TOPDIR}/sstate-cache" SSTATE_MIRRORS ?= "\
file://.* http://someserver.tld/share/sstate/ \n \
file://.* file:///some/local/dir/sstate/"

Does every clone (which might be translated at the same time) has to have its own local SSTATE_DIR? Or is it ok to point every clone to one single directory, like: SSTATE_DIR ?= "${HOME}/sstate-cache"? Or should I use SSTATE_MIRRORS for that purpose?

Thanks!
Jaap