On 1/9/2023 9:34 AM, 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. > > Signed-off-by: Thomas Monjalon <tho...@monjalon.net> > --- > v2: > - find dump2 inside the function > - force bash because of export -f
It reduces script runtime ~2mins in my test. Tested-by: Ferruh Yigit <ferruh.yi...@amd.com>