[PATCH v4] devtools: parallelize ABI check

David Marchand david.marchand at redhat.com
Wed Jan 18 15:29:03 CET 2023


On Wed, Jan 11, 2023 at 8:53 PM Thomas Monjalon <thomas at monjalon.net> wrote:
>
> Generation and comparison of ABI dumps are done on multiple cores
> thanks to xargs -P0.
> It can accelerate this long step by 5 in my tests.
>
> xargs reports a global error if one of the process has an error.
>
> Running a shell function with xargs requires to export it.
> POSIX shell does not support function export except using an "eval trick".
> Required variables are also exported.
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> Tested-by: Ferruh Yigit <ferruh.yigit at amd.com>

Reviewed-by: David Marchand <david.marchand at redhat.com>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list