[Bug 280823] sysutils/lscpu: Fix AMD threads per core

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 14 Aug 2024 23:19:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280823

            Bug ID: 280823
           Summary: sysutils/lscpu: Fix AMD threads per core
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi@FreeBSD.org
          Reporter: laurent.chardon@gmail.com
             Flags: maintainer-feedback?(zi@FreeBSD.org)
          Assignee: zi@FreeBSD.org

Created attachment 252768
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252768&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.