FreeBSD Bugzilla – Attachment 252768 Details for
Bug 280823
sysutils/lscpu: Fix AMD threads per core
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sysutils-lscpu-Fix-AMD-threads-per-core
0001-sysutils-lscpu-Fix-AMD-threads-per-core.patch (text/plain), 2.16 KB, created by
Laurent Chardon
on 2024-08-14 23:19:48 UTC
(
hide
)
Description:
sysutils-lscpu-Fix-AMD-threads-per-core
Filename:
MIME Type:
Creator:
Laurent Chardon
Created:
2024-08-14 23:19:48 UTC
Size:
2.16 KB
patch
obsolete
>From 675c47bb69d0bd5a76ebf2e516589b0255d14174 Mon Sep 17 00:00:00 2001 >From: Laurent Chardon <laurent.chardon@gmail.com> >Date: Wed, 14 Aug 2024 18:44:59 -0400 >Subject: [PATCH] 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 cleanup. > >poudriere: OK >portlint: OK >--- > sysutils/lscpu/Makefile | 11 +++++++---- > sysutils/lscpu/distinfo | 4 +++- > 2 files changed, 10 insertions(+), 5 deletions(-) > >diff --git a/sysutils/lscpu/Makefile b/sysutils/lscpu/Makefile >index 8d2b1a4ee30a..c74d5afcc40b 100644 >--- a/sysutils/lscpu/Makefile >+++ b/sysutils/lscpu/Makefile >@@ -1,17 +1,20 @@ > PORTNAME= lscpu > PORTVERSION= 1.2.0 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= sysutils > >-PATCH_SITES= https://github.com/NanXiao/lscpu/commit/ >-PATCHFILES= 6243acc4393f32a0a52d8eeec35081ebb3027cfe.patch:-p2 >- > MAINTAINER= zi@FreeBSD.org > COMMENT= Display information about the CPU architecture > WWW= https://github.com/NanXiao/lscpu > > LICENSE= BSD3CLAUSE > >+PATCH_SITES+= https://github.com/NanXiao/lscpu/commit/ >+PATCHFILES+= 6243acc4393f32a0a52d8eeec35081ebb3027cfe.patch:-p1 >+ >+PATCH_SITES+= https://github.com/LaurentChardon/lscpu/commit/ >+PATCHFILES+= e955a62428a3e226ec7cfc011e450c7240eea24f.patch:-p1 >+ > USE_GITHUB= yes > GH_ACCOUNT= NanXiao > >diff --git a/sysutils/lscpu/distinfo b/sysutils/lscpu/distinfo >index 1034e972fa47..b4f82a759bfc 100644 >--- a/sysutils/lscpu/distinfo >+++ b/sysutils/lscpu/distinfo >@@ -1,5 +1,7 @@ >-TIMESTAMP = 1677070900 >+TIMESTAMP = 1723674870 > SHA256 (NanXiao-lscpu-1.2.0_GH0.tar.gz) = d91a87694bd14a26b1ed8cd44d62444d93e68eaf98db6488b3abd36ad09a6bcc > SIZE (NanXiao-lscpu-1.2.0_GH0.tar.gz) = 7863 > SHA256 (6243acc4393f32a0a52d8eeec35081ebb3027cfe.patch) = 2d1c6002dbbb6bdcd9e47d070c02d980b5f897e164b69d87781ac7acd7c2923b > SIZE (6243acc4393f32a0a52d8eeec35081ebb3027cfe.patch) = 1059 >+SHA256 (e955a62428a3e226ec7cfc011e450c7240eea24f.patch) = 9935f0ea0f9cb2d0735b9ba6ccc9a995b51279e1b03281fda53a69dd9e5e4d9d >+SIZE (e955a62428a3e226ec7cfc011e450c7240eea24f.patch) = 1679 >-- >2.45.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 280823
: 252768