[Buildroot] [PATCH] utils/genrandconfig: reduce the maximum "size" of random configurations
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Nov 14 13:01:23 UTC 2021
On Sun, 14 Nov 2021 13:48:43 +0100
Peter Korsgaard <peter at korsgaard.com> wrote:
> >>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:
>
> > genrandconfig is used by the Buildroot autobuilders to generate
> > semi-random configurations that we build test. As part of this, we use
> > "make randpackageconfig" to randomize the selection of packages,
> > together with a KCONFIG_PROBABILITY value, which indicates the
> > probabibility for each option to be enabled. This probability is
> > itself randomized, between 1% and 30% for every build.
>
> > However, with our increasing number of packages (over 2900), when we
> > use a 30% probability for options to be enabled, it means a *lot* of
> > options are enabled, causing very large configurations to be
> > tested. These configurations are not very realistic, and they take
> > ages to build on our autobuilders: we have builds that take 4, 5 or
> > even 7 hours to build.
>
> > In order to test a larger number of configurations and therefore a
> > larger variety of configurations, this commit reduces the maximum
> > probability to 20%.
>
> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
>
> Makes sense. Committed, thanks.
Thanks! I think we want it in all branches currently tested by the
autobuilders, i.e master, next, 2021.02.x and 2021.08.x.
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
More information about the buildroot
mailing list