Re: [OE-core] [PATCH] image_types: use pigz to create .gz files

2018-04-13 Thread Richard Purdie
On Wed, 2018-04-11 at 14:36 +0100, Burton, Ross wrote: > Wouldn't that introduce a fun circular dependency if pigz-native > needs > to be built? For the sstate code we could probably make it use pigz if present.  We could also only depend on pigz-native for target, or encode the actual

Re: [OE-core] [PATCH] image_types: use pigz to create .gz files

2018-04-11 Thread Khem Raj
On Wed, Apr 11, 2018 at 6:19 PM, Denys Dmytriyenko wrote: > On Wed, Apr 11, 2018 at 05:07:38PM +0100, Burton, Ross wrote: >> Woud be interesting to see a benchmark of a full build from scratch >> with host gzip vs host pigz... > > Is pigz so widely used now to be available in

Re: [OE-core] [PATCH] image_types: use pigz to create .gz files

2018-04-11 Thread Denys Dmytriyenko
On Wed, Apr 11, 2018 at 05:07:38PM +0100, Burton, Ross wrote: > Woud be interesting to see a benchmark of a full build from scratch > with host gzip vs host pigz... Is pigz so widely used now to be available in every Linux distro like gzip? > On 11 April 2018 at 17:03, Khem Raj

Re: [OE-core] [PATCH] image_types: use pigz to create .gz files

2018-04-11 Thread Burton, Ross
Woud be interesting to see a benchmark of a full build from scratch with host gzip vs host pigz... On 11 April 2018 at 17:03, Khem Raj wrote: > On Wed, Apr 11, 2018 at 6:36 AM, Burton, Ross wrote: >> Wouldn't that introduce a fun circular dependency if

Re: [OE-core] [PATCH] image_types: use pigz to create .gz files

2018-04-11 Thread Khem Raj
On Wed, Apr 11, 2018 at 6:36 AM, Burton, Ross wrote: > Wouldn't that introduce a fun circular dependency if pigz-native needs > to be built? > interesting idea certainly, if it ends up with improvements in build time, we could add pigz to host dependencies. > Ross > > On

Re: [OE-core] [PATCH] image_types: use pigz to create .gz files

2018-04-11 Thread Burton, Ross
Wouldn't that introduce a fun circular dependency if pigz-native needs to be built? Ross On 11 April 2018 at 11:53, Martin Jansa wrote: > What about using pigz for sstate-cache archives? > > On Tue, Apr 10, 2018 at 4:35 PM, Ross Burton wrote: >>

Re: [OE-core] [PATCH] image_types: use pigz to create .gz files

2018-04-11 Thread Martin Jansa
What about using pigz for sstate-cache archives? On Tue, Apr 10, 2018 at 4:35 PM, Ross Burton wrote: > Since pigz is no longer a drop-in replacement for gzip (oe-core 1624b7b) > the > image creation has been using gzip instead of pigz, despite still > depending on >

[OE-core] [PATCH] image_types: use pigz to create .gz files

2018-04-10 Thread Ross Burton
Since pigz is no longer a drop-in replacement for gzip (oe-core 1624b7b) the image creation has been using gzip instead of pigz, despite still depending on pigz-native. Fix this by invoking pigz explicitly. Signed-off-by: Ross Burton --- meta/classes/image_types.bbclass