Re: [PATCH v4] devtools: parallelize ABI check

2023-01-18 Thread David Marchand
On Wed, Jan 11, 2023 at 8:53 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 v4] devtools: parallelize ABI check

2023-01-18 Thread Ferruh Yigit
On 1/18/2023 10:45 AM, David Marchand wrote: > On Thu, Jan 12, 2023 at 3:15 PM Ferruh Yigit wrote: abidiff $ABIDIFF_OPTIONS $dump $dump2 || { abiret=$? - echo "Error: ABI issue reported for 'abidiff $ABIDIFF_OPTIONS $dump $dump2'" >&2

Re: [PATCH v4] devtools: parallelize ABI check

2023-01-18 Thread David Marchand
On Thu, Jan 12, 2023 at 3:15 PM Ferruh Yigit wrote: > >> abidiff $ABIDIFF_OPTIONS $dump $dump2 || { > >> abiret=$? > >> - echo "Error: ABI issue reported for 'abidiff > >> $ABIDIFF_OPTIONS $dump $dump2'" >&2 > >> - error=1 > >> - e

Re: [PATCH v4] devtools: parallelize ABI check

2023-01-12 Thread Ferruh Yigit
On 1/12/2023 10:53 AM, David Marchand wrote: > On Wed, Jan 11, 2023 at 8:53 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 t

Re: [PATCH v4] devtools: parallelize ABI check

2023-01-12 Thread David Marchand
On Wed, Jan 11, 2023 at 8:53 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

[PATCH v4] devtools: parallelize ABI check

2023-01-11 Thread Thomas Monjalon
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 functi