Page MenuHomeFreeBSD

sysutils/py-py-cpuinfo: fix on armv7, add lscpu dependency
ClosedPublic

Authored by fuz on May 24 2023, 7:41 AM.
Tags
None
Referenced Files
F109968852: D40252.diff
Tue, Feb 11, 9:23 PM
Unknown Object (File)
Wed, Jan 15, 12:17 AM
Unknown Object (File)
Dec 29 2024, 9:07 PM
Unknown Object (File)
Dec 27 2024, 1:26 AM
Unknown Object (File)
Nov 21 2024, 7:10 AM
Unknown Object (File)
Oct 26 2024, 10:57 PM
Unknown Object (File)
Oct 26 2024, 12:59 AM
Unknown Object (File)
Oct 7 2024, 5:47 PM
Subscribers

Details

Summary
sysutils/py-py-cpuinfo: fix on armv7, add lscpu dependency

On FreeBSD, armv[67] both report "arm" in "uname -m", but this package
expected the string armv6 or armv7.  Fix the port by adding an extra
case for just "arm" to the architecture detection logic.

While we are at it, optionally depend on sysutils/lscpu as an
additional data source for architecture features.

See also:	https://github.com/workhorsy/py-cpuinfo/issues/197

Fixing this enables misc/py-numcodecs to build on armv7.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable