+Shuah Khan
On Sat, Dec 7, 2024 at 1:52 PM Tamir Duberstein wrote:
>
> Thanks David! While the next patch is still plausibly undergoing
> discussion, would it be possible to pick this one up? Without it
> kunit.py is not usable on macOS.
Shuah, could you pick this if you agree?
Cheers,
Tamir
On Tue, Nov 5, 2024 at 3:36 AM David Gow wrote:
>
> On Sat, 2 Nov 2024 at 20:10, Tamir Duberstein wrote:
> >
> > Python 3.13 added os.process_cpu_count as a cross-platform alternative
> > for the Linux-only os.sched_getaffinity. Use it when it's available and
> > provide a fallback when it's not.
On Sat, 2 Nov 2024 at 20:10, Tamir Duberstein wrote:
>
> Python 3.13 added os.process_cpu_count as a cross-platform alternative
> for the Linux-only os.sched_getaffinity. Use it when it's available and
> provide a fallback when it's not.
>
> This allows kunit to run on macOS.
>
> Signed-off-by: Ta
Python 3.13 added os.process_cpu_count as a cross-platform alternative
for the Linux-only os.sched_getaffinity. Use it when it's available and
provide a fallback when it's not.
This allows kunit to run on macOS.
Signed-off-by: Tamir Duberstein
---
tools/testing/kunit/kunit.py | 11 ++-
4 matches
Mail list logo