pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/libcpuid
Module Name: pkgsrc
Committed By: ryoon
Date: Sun Aug 10 13:35:20 UTC 2025
Modified Files:
pkgsrc/sysutils/libcpuid: Makefile buildlink3.mk distinfo
Removed Files:
pkgsrc/sysutils/libcpuid/patches: patch-configure.ac
patch-libcpuid_libcpuid_util.c
Log Message:
sysutils/libcpuid: Update to 0.8.0
Changelog:
Version 0.8.0 (2025-05-04):
* A backwards-incompatible change, since the sizeof cpu_raw_data_t and
cpu_id_t are now different.
* Fix a typo in string (#208)
* Support for AMD Turin Dense
* Simplify exec_cpuid() to use constraints (#209)
* Use HW_NCPUONLINE in get_total_cpus() for OpenBSD/NetBSD (#210)
* Implement cpu_clock_by_os() for OpenBSD (#211)
* Support Intel Lunar Lake
* Support Intel Twin Lake
* Support Intel Alder Lake-PS
* Support more Intel Raptor Lake ("Intel Processor", "Xeon E")
* Support Intel Raptor Lake-U Refresh
* Support Intel Raptor Lake-U/H Re-refresh
* Support Intel Arrow Lake-U/H
* Fix warning during build on OpenBSD about strcpy()
* Refactored internal struct match_entry_t for x86 CPUs to fix truncation issues (#212)
* Add technology_node field to struct cpu_id_t
* Support more ARM CPUs
* Support ARMv9.5-A CPUs (new value FEATURE_LEVEL_ARM_V9_5_A for cpu_feature_level_t)
* Massive DB updates for almost all Intel and AMD CPUs along with more test data
* Return ERR_BADFMT during raw deserialization if cpu_raw_data_t is empty
* Support another type of header for raw deserialization
* Support Intel Granite Rapids-SP
Version 0.7.1 (2024-11-30):
* Fix cpuid kernel module build on ARM
* Return ERR_NO_CPUID when cpuid kernel module cannot be used on AArch32 state
* Refactor the build of the bindings (#203)
* Fix build error on AArch64 when HWCAP_CPUID is not defined (#205)
* Fix build on Windows ARM with MSVC (206)
* Fix detection of Intel Meteor Lake
* Support for Intel Arrow Lake
* Support for AMD Turin
Version 0.7.0 (2024-08-26):
* Fix handle leaks in rdmsr.c (#199)
* Fix cpuid_get_hypervisor when NULL data is provided (#199)
* Prevent intel_fn11 array overruns (#199)
* Support for AMD Hawk Point
* Support for more AMD Phoenix (8000 series)
* Add cpu_clock_by_tsc() function to the library (#124)
* Check x86 CPUs MSR support (#185)
* Add support for ARM CPUs (AArch32 + AArch64) (#200)
* Add cpu_feature_level_t enumerated values for x86 CPUs (#177)
* Support up to 4 subleaf entries for CPUID leaf 0x80000026 (#189)
* Support for Extended CPU topology subleaf in cpuid_identify_purpose_amd() (#189)
* Support CPU purpose for AMD x86 CPUs (#189)
* Add cpuid Linux and FreeBSD kernel modules for ARM CPUs
* Improve errors handling in cpuid_get_all_raw_data() and cpuid_get_raw_data_core() (#202)
* Support get_total_cpus() on DragonFly BSD
* Improve set_cpu_affinity() on NetBSD
* Fix build on OpenBSD
* Improve behavior when CPU affinity cannot be set
* Fix a regression in cpuid_tool about arguments doing nothing (like --rdmsr or --cpuid)
* Fix a segmentation fault when using --quiet in cpuid_tool
* Improve error handling in cpu_identify_all()
* Add Python bindings (#197)
* Support for AMD Granite Ridge
* Support for AMD Strix Point
* Detect x2APIC and AVX512 features for AMD x86 CPUs
Version 0.6.5 (2024-04-28):
* Support for Intel Bay Trail-M
* Support for Intel Bay Trail-T
* Support for Intel Bay Trail-D
* Support for AMD Storm Peak
* Support for Intel Raport Lake Refresh
* Support heterogeneous RAW dumps in cpu_identify_all()
* Support for Intel Meteor Lake, including detection of LP E-Cores
* Support for Intel Emerald Rapids-SP
* Support for more AMD Van Gogh
Version 0.6.4 (2023-10-08):
* Support for AMD Genoa
* Support for Intel Sapphire Rapids-WS
* Support for Intel Skylake (server)
* Support for Intel Cascade Lake
* Support for Intel Ice-Lake (server)
* Support for Intel Sapphire Rapids-SP
* Improve support for Intel Arrandale (Pentium and Celeron)
* Fix support for Intel Sandy Bridge-E (Core i7)
* Support for AMD Phoenix
* Support for Intel Raptor Lake-H/HX
* Improve support for Intel Alder-Lake and Raptor-Lake P/U
* Fix floating point exception in cpu_identify_all() for unsupported CPU vendor
* Initial support for Centaur CPUs (VIA and Zhaoxin)
* Support for Intel Apollo Lake
* Fix build for NetBSD and DragonFly BSD (#190)
* Support for AMD Dragon Range
* Support for AMD Ryzen Z1
Version 0.6.3 (2023-04-02):
* Support for Intel Pentium and Celeron for Alder Lake-S
* Support for Intel Alder Lake-HX
* Support for Intel Alder Lake-X
* Fix detection of Intel Alder Lake-P
* Fix infinite loop in set_cpu_affinity() on macOS
* Fix a misprint of extended CPUID in cpuid_basic_identify()
* Restore previous thread CPU affinity before returning from cpuid_get_all_raw_data() (#184)
* Query CPU info at least once even if set_cpu_affinity() fails
* Support for AMD 19h family MSRs
* Fix detection of Intel Core i5 Lynnfield
* Rename set_error() to cpuid_set_error() and get_error() to cpuid_get_error() (#188)
* Support for Intel Alder Lake-N
* Support for AMD Rembrandt with Radeon Graphics
* Support for Intel Raptor Lake-S with "Golden Cove" cores
* Support for Intel Raptor Lake-P
* Support for Intel Raptor Lake-U
* Support for Intel Rocket Lake-E
Version 0.6.2 (2022-11-11):
* Fix segmentation fault in cpu_identify_all() for single-core CPUs
* Support for Intel Penryn L
* Support for Intel Tremont
* Support for AMD Mendocino
* Support for Intel Ice Lake (Xeon-D)
* Support for AMD Zen 2 Desktop Kit CPUs (4700S + 4800S)
* Support for AMD Athlon 64 Sherman
Version 0.6.1 (2022-10-23):
* Support for AMD Raphael
* Support for AMD Dali
* Support for AMD Van Gogh
* Fix stuck cpuid_tool due to set_cpu_affinity() on Windows (#172)
* Remove AMD Warhol from DB (Zen3+ cancelled)
* Fix physical core count computed by cpu_identify_all() when HT is disabled (#175)
* Fix shared library symlinks with CMake (#174)
* Support for Intel Raptor Lake-S
Version 0.6.0 (2022-09-23):
* Support for Intel Tiger Lake
* CPU Family/Model is used as Ext.Family/Model
* Use popcount64 from libc when available (#152)
* Reduce minimum CMake requirement 3.14 to 3.13
* Do not link with msrdriver.c on non-Windows platform (#159)
* Report memory allocation failures without making a segmentation fault (#160)
* Support for AMD Lucienne
* Support for AMD Rembrandt
* Support for AMD Warhol
* Remove Debian package from source tree (#165)
* Fix build under Clang 15 (#167)
* Support for AMD Athlon Godavari
* Support for hybrid CPU like Intel Alder Lake (#166)
* Detect presence of hypervisor (#169)
* Decode deterministic cache info for AMD CPUs (#168)
* Add cache instances field in cpu_id_t and system_id_t (#168)
* Support AMD Bald Eagle
* Support for more AMD Godavari (Athlon)
* Rename AMD Bulldozer to Zambezi
* Support for AMD Interlagos
* Support for AMD Abu Dhabi
* Support for AMD Beema
* Support for AMD Steppe Eagle
* Support for more AMD Kabini (Sempron + Athlon)
* Improve msr_serialize_raw_data()
* Support for AMD Zen 2 custom APU for Steam Deck
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/libcpuid/Makefile \
pkgsrc/sysutils/libcpuid/buildlink3.mk pkgsrc/sysutils/libcpuid/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/sysutils/libcpuid/patches/patch-configure.ac \
pkgsrc/sysutils/libcpuid/patches/patch-libcpuid_libcpuid_util.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/libcpuid/Makefile
diff -u pkgsrc/sysutils/libcpuid/Makefile:1.1 pkgsrc/sysutils/libcpuid/Makefile:1.2
--- pkgsrc/sysutils/libcpuid/Makefile:1.1 Tue Apr 12 22:22:26 2022
+++ pkgsrc/sysutils/libcpuid/Makefile Sun Aug 10 13:35:20 2025
@@ -1,13 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2022/04/12 22:22:26 nikita Exp $
+# $NetBSD: Makefile,v 1.2 2025/08/10 13:35:20 ryoon Exp $
-DISTNAME= v${VERSION}
-PKGNAME= ${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
-VERSION= 0.5.1
-GITHUB_PROJECT= libcpuid
-GITHUB_TAG= ${DISTNAME}
+DISTNAME= libcpuid-0.8.0
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=anrieff/}
-DIST_SUBDIR= ${GITHUB_PROJECT}
+GITHUB_PROJECT= libcpuid
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://github.com/anrieff/libcpuid/
@@ -19,8 +16,8 @@ USE_LIBTOOL= yes
USE_LANGUAGES= c
USE_TOOLS= autoconf automake
-pre-configure:
- cd ${WRKSRC} && autoreconf --install
+# Disable docs
+CONFIGURE_ENV+= ac_cv_prog_DOXYGEN= #empty
# only for a couple of archs, specify here.
Index: pkgsrc/sysutils/libcpuid/buildlink3.mk
diff -u pkgsrc/sysutils/libcpuid/buildlink3.mk:1.1 pkgsrc/sysutils/libcpuid/buildlink3.mk:1.2
--- pkgsrc/sysutils/libcpuid/buildlink3.mk:1.1 Wed Dec 28 19:10:57 2022
+++ pkgsrc/sysutils/libcpuid/buildlink3.mk Sun Aug 10 13:35:20 2025
@@ -1,13 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.1 2022/12/28 19:10:57 nikita Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2025/08/10 13:35:20 ryoon Exp $
BUILDLINK_TREE+= libcpuid
.if !defined(LIBCPUID_BUILDLINK3_MK)
LIBCPUID_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.libcpuid+= libcpuid>=0.5.1
-BUILDLINK_ABI_DEPENDS.libcpuid?= libcpuid>=0.5.1
-BUILDLINK_PKGSRCDIR.libcpuid?= ../../sysutils/libcpuid
+BUILDLINK_API_DEPENDS.libcpuid+= libcpuid>=0.6.5
+BUILDLINK_PKGSRCDIR.libcpuid?= ../../sysutils/libcpuid
.endif # LIBCPUID_BUILDLINK3_MK
BUILDLINK_TREE+= -libcpuid
Index: pkgsrc/sysutils/libcpuid/distinfo
diff -u pkgsrc/sysutils/libcpuid/distinfo:1.1 pkgsrc/sysutils/libcpuid/distinfo:1.2
--- pkgsrc/sysutils/libcpuid/distinfo:1.1 Tue Apr 12 22:22:26 2022
+++ pkgsrc/sysutils/libcpuid/distinfo Sun Aug 10 13:35:20 2025
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/04/12 22:22:26 nikita Exp $
+$NetBSD: distinfo,v 1.2 2025/08/10 13:35:20 ryoon Exp $
-BLAKE2s (libcpuid/v0.5.1.tar.gz) = 66c0d89cdf0350649581ff01aabaa032eafdf74f5f24d998ad4e735f81bea8cd
-SHA512 (libcpuid/v0.5.1.tar.gz) = d725bc82e5aa2db69cea7b3590afbe11d6028cf4802fde8d498b4f1cc6d823e73d71b89a453d81bf996d97b36a71f6c00d0f6e8292b72f2be8a64b5d59c01861
-Size (libcpuid/v0.5.1.tar.gz) = 166522 bytes
-SHA1 (patch-configure.ac) = 130cf88478f611b2b96f17a7040d5733eb492a5d
-SHA1 (patch-libcpuid_libcpuid_util.c) = 2b041a0829ff23acf8f6adf741d9427879cab363
+BLAKE2s (libcpuid-0.8.0.tar.gz) = fd028ef1bf65e81db86fdcb4a504395010046b641f00218ee5d9b619775f3da0
+SHA512 (libcpuid-0.8.0.tar.gz) = 5af116a9ced4cf53944480a0c8e91c18266971db134315e31e97116a4149bf13b330fb7ec6279364724f1658d2e1542c1fba02870e4ee15064481ff1fd69138d
+Size (libcpuid-0.8.0.tar.gz) = 912357 bytes
Home |
Main Index |
Thread Index |
Old Index