Created attachment 252768 [details] sysutils-lscpu-Fix-AMD-threads-per-core A hard coded value of 1 thread per core was used for AMD CPUs. This PR implements proper number of threads per core for FreeBSD, using kernel parameters instead of cpuid and hard coded values. Various Makefile cleanups. poudriere: OK portlint: OK
Committed, thanks.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2fb2ddb857362244c42eb8fe99b11a3b6ab8e0ba commit 2fb2ddb857362244c42eb8fe99b11a3b6ab8e0ba Author: Ryan Steinmetz <zi@FreeBSD.org> AuthorDate: 2024-08-18 17:01:22 +0000 Commit: Ryan Steinmetz <zi@FreeBSD.org> CommitDate: 2024-08-18 17:01:22 +0000 sysutils/lscpu: Fix AMD threads per core - Bump PORTREVISION PR: 280823 Submitted by: laurent.chardon@gmail.com Obtained from: upstream repo sysutils/lscpu/Makefile | 11 +++++++---- sysutils/lscpu/distinfo | 4 +++- 2 files changed, 10 insertions(+), 5 deletions(-)