On Wed, Jan 11, 2023 at 02:16:52PM +0100, Thomas Monjalon 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 with -f, > and that is a specific capability of bash. > Commit-log needs update based on changes in v3.
> Signed-off-by: Thomas Monjalon <tho...@monjalon.net> > Tested-by: Ferruh Yigit <ferruh.yi...@amd.com> > --- > v2: > - find dump2 inside the function > - force bash because of export -f > v3: > - revert to POSIX sh > - use POSIX eval instead of export -f (issues on Ubuntu) > --- > devtools/check-abi.sh | 21 +++++++++++++-------- > devtools/gen-abi.sh | 5 +++-- > 2 files changed, 16 insertions(+), 10 deletions(-)