Re: [OE-core] [PATCH] icu: Add knobs to generate a subset of ICU data

Richard Purdie
2020-04-03T15:26:34Z

On Thu, 2020-04-02 at 18:53 -0700, Khem Raj wrote:
> Recent versions of ICU (64+) provides a tool for configuring ICU
> locale data file with finer granularity [1]
>
> Default generated size for libicudata.so.66.1 is ~27M, which is quite
> large for embedded systems and all of them may not even need all
> locale
> data.
>
> This patch calls the icudata buildtool during configure on the
> icudata
> and utilizes a filter called 'filter.json` ( empty by default) to
> create the data, default behavior should remain same but someone can
> add a filter.json in own layer to configure this data, e.g.

Nice idea, fails on ppc:

https://autobuilder.yoctoproject.org/typhoon/#/builders/107/builds/411

Cheers,

Richard