We made the autobuilder sstate public a while ago but it wasn't useful after we
switched to hash equivalence by default. I'm pleased to be able to report that
we now have a read-only public server for the hash equivalence. We did have to
fix a small API omission and a couple of sstate related bugs but I'm pleased to
be able to report it is now operational and usable. An example config would be:

SSTATE_MIRRORS ?= "file://.* 
http://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH";
BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687"

I've included an example image build below where it took 11 minutes for a 
core-image-minimal image build. Obviously this is only of benefit if you're
building configurations that match the project autobuilder although hash
equivalence could be useful alone in reducing some build times.

I have updated the local.conf sample file in poky to match the new release.
We're not widely highlighting that information as yet as it remains to be seen
how well it scales and what the hosting impacts for it will look like but it is
there to experiment with to a wider audience such as this list.

The builds will sit for a long time whilst it queries hash equivalency and I
appreciate the UI feedback could be better there but one step at a time!

Cheers,

Richard

$ time bitbake core-image-minimal
Loading cache: 100% |                                                           
                                                                                
            | ETA:  --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% 
|######################################################################################################################################################|
 Time: 0:00:03
Parsing of 871 .bb files complete (0 cached, 871 parsed). 1519 targets, 49 
skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.51.1"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-20.04"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "qemux86-64"
DISTRO               = "poky"
DISTRO_VERSION       = "3.3+snapshot-89e48765083f15bf79839a778d08a68f8aece51d"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       
meta-selftest        = "master:89e48765083f15bf79839a778d08a68f8aece51d"

Initialising tasks: 100% 
|###################################################################################################################################################|
 Time: 0:03:40
Checking sstate mirror object availability: 100% 
|###########################################################################################################################|
 Time: 0:00:28
Sstate summary: Wanted 1525 Local 0 Network 1515 Missed 10 Current 0 (99% 
match, 0% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 3913 tasks of which 3603 didn't need to be rerun 
and all succeeded.

real    11m2.578s
user    0m42.927s
sys     0m9.963s



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#155945): 
https://lists.openembedded.org/g/openembedded-core/message/155945
Mute This Topic: https://lists.openembedded.org/mt/85549949/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to