]> code.ossystems Code Review - openembedded-core.git/commit
sstate/bitbake.conf: Use pigz if available
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Jul 2018 10:25:17 +0000 (10:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Jul 2018 10:52:07 +0000 (11:52 +0100)
commit2de56aa0792ec93445130d801936a8ea643fad27
tree439e80e8056f132f7ffd6e311bcfdfcf1a1a531f
parentbbe0d3e26484f3f347262d40a8a9d415ce21fb43
sstate/bitbake.conf: Use pigz if available

Currently the compression of sstate objects is single threaded. In the case
of ltp, this takes around 33s. If we add pigz into the list of non-fatal
HOSTTOOLS and then use if it available when building the sstate object,
this time drops to around 6s.

Since pigz is now widely available this is an optimisation we should
utilise.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass
meta/conf/bitbake.conf