workhorsy / py-cpuinfo

A module for getting CPU info with pure Python
MIT License
312 stars 59 forks source link

Fails on armv7 FreeBSD #197

Open clausecker opened 1 year ago

clausecker commented 1 year ago

Running py-cpuinfo 8.0.0 on armv7 FreeBSD, the program fails to detect the architecture. This is because uname -m says arm instead of armv7 on armv7 FreeBSD. Please fix the architecture detection code to also check for just arm in the ARM_7 case.