Re: [PATCH v3] devtools: parallelize ABI check

2023-01-11 Thread Thomas Monjalon
11/01/2023 15:11, David Marchand: > On Wed, Jan 11, 2023 at 2:16 PM Thomas Monjalon wrote: > > +find $refdir -name "*.dump" | > > +xargs -n1 -P0 sh -c 'eval "$diff_func"; run_diff $0 '$newdir || > > +error=1 > > Do we need to pass $newdir ? > Like, for example, ABIDIFF_OPTIONS seems inherited, ri

Re: [PATCH v3] devtools: parallelize ABI check

2023-01-11 Thread David Marchand
On Wed, Jan 11, 2023 at 2:16 PM 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

Re: [PATCH v3] devtools: parallelize ABI check

2023-01-11 Thread Bruce Richardson
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