Files
sthen 13f8153636 import ports/sysutils/cpuid-tycho, ok tb
"cpuid" dumps results from the x86 CPUID instruction, and decodes
information from certain leaves.

NOTE: the code in this software to bind to a specific CPU is non functional
on OpenBSD; if you are trying to find information from different cores, you'll
need to run it multiple times until the process is scheduled on the core of
interest.
2026-03-31 07:19:02 +00:00

26 lines
422 B
Makefile

ONLY_FOR_ARCHS= i386 amd64
COMMENT= dump and decode x86 CPUID information
GH_ACCOUNT= tycho
GH_PROJECT= cpuid
GH_TAGNAME= 1.8.3
PKGNAME= cpuid-tycho-${GH_TAGNAME}
CATEGORIES= sysutils
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# ISC
PERMIT_PACKAGE= Yes
WANTLIB += c pthread
MODULES= devel/meson
NO_TEST= Yes
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/cpuid ${PREFIX}/bin/cpuid-tycho
.include <bsd.port.mk>