Re: [PATCH 0/3] improve chainlint.pl CPU count computation
On Mon, 2024-05-20 at 15:01 -0400, Eric Sunshine wrote:
Show 27 quoted lines
> From: Eric Sunshine <sunshine@sunshineco.com>
>
> This series replaces a patch[1] sent by John Paul Adrian Glaubitz to fix
> chainlint.pl CPU count computation on Linux SPARC.
>
> Unlike its predecessor, this series also fixes an underlying problem in
> which ncores() could return 0 which would result in chainlint.pl not
> processing any of its input test scripts. Patch [3/3] also fixes CPU
> count detection on Alpha[2].
>
> Patch [2/3] of this series is more or less Adrian's original patch[1] so
> it retains his authorship, though I simplified the regular-expression
> and tweaked the commit message.
>
> [1]: https://lore.kernel.org/git/20240520111109.99882-1-glaubitz@physik.fu-berlin.de/
> [2]: https://lore.kernel.org/git/503a99f3511559722a3eeef15d31027dfe617fa1.camel@physik.fu-berlin.de/
>
> Eric Sunshine (2):
> chainlint.pl: make CPU count computation more robust
> chainlint.pl: latch CPU count directly reported by /proc/cpuinfo
>
> John Paul Adrian Glaubitz (1):
> chainlint.pl: fix incorrect CPU count on Linux SPARC
>
> t/chainlint.pl | 20 +++++++++++++++++---
> 1 file changed, 17 insertions(+), 3 deletions(-)
>
Works as expected on my Linux SPARC machine running Debian unstable.
Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913