[Buildroot] [PATCH v3 1/1] scripts/autobuild-run: add --no-toolchains-csv option and drop docopt

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Jun 7 22:01:28 UTC 2022


Hello James,

On Wed, 13 Apr 2022 15:27:45 -0600
James Hilliard <james.hilliard1 at gmail.com> wrote:

> Since docopt is unmaintained and less flexible than argparse lets
> drop it and migrate to argparse.
> 
> Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
> ---
> Changes v2 -> v3:
>   - suppress --no-toolchains-csv default output from help
> Changes v1 -> v2:
>   - fix configparser
> ---
>  scripts/autobuild-run      | 202 ++++++-------
>  scripts/docopt.LICENSE-MIT |  23 --
>  scripts/docopt.py          | 581 -------------------------------------
>  3 files changed, 93 insertions(+), 713 deletions(-)
>  delete mode 100644 scripts/docopt.LICENSE-MIT
>  delete mode 100644 scripts/docopt.py

I have finally applied this patch, but after splitting it into two
commits:

 * One implementing the docopt -> argparse migration

 * One implementing the --no-toolchains-csv option

Also, the --no-toolchains-csv option of utils/genrandconfig did not
exist back in the 2022.02.x branch, so when autobuild-run is executed
with --no-toolchains-csv, it never built any configuration on
2022.02.x, which is problematic.

I worked this around by doing a special case:

  https://git.buildroot.org/buildroot-test/commit/?id=cae22243b75f7766095cbef196016b3b3143b677

I have now deployed the new script on two of the autobuilder instances
that I manage (gcc159 and gcc160).

Could you on your side also update to use the latest version of
autobuild-run, so that we are aligned?

Thanks a lot for this work, it has been extremely useful to find more
problematic configurations!

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list