notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2026Q1
cpu_features Cross platform C99 library to get cpu features at runtime
0.9.0 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.9.0Version of this port present on the latest quarterly branch.
Maintainer: skreuzer@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-02-14 14:26:20
Last Update: 2026-02-14 14:22:26
Commit Hash: 6237e3c
License: APACHE20
WWW:
https://github.com/google/cpu_features
Description:
A small, fast, and simple open source library to report CPU features at runtime. Written in C99 for maximum portability, it allocates no memory and is suitable for implementing fundamental functions and running in sandboxed environments.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (23 items)
Collapse this list.
  1. /usr/local/share/licenses/cpu_features-0.9.0/catalog.mk
  2. /usr/local/share/licenses/cpu_features-0.9.0/LICENSE
  3. /usr/local/share/licenses/cpu_features-0.9.0/APACHE20
  4. bin/list_cpu_features
  5. include/cpu_features/cpu_features_cache_info.h
  6. include/cpu_features/cpu_features_macros.h
  7. include/cpu_features/cpuinfo_aarch64.h
  8. include/cpu_features/cpuinfo_arm.h
  9. include/cpu_features/cpuinfo_loongarch.h
  10. include/cpu_features/cpuinfo_mips.h
  11. include/cpu_features/cpuinfo_ppc.h
  12. include/cpu_features/cpuinfo_riscv.h
  13. include/cpu_features/cpuinfo_s390x.h
  14. include/cpu_features/cpuinfo_x86.h
  15. include/cpu_features/internal/hwcaps.h
  16. lib/cmake/CpuFeatures/CpuFeaturesConfig.cmake
  17. lib/cmake/CpuFeatures/CpuFeaturesConfigVersion.cmake
  18. lib/cmake/CpuFeatures/CpuFeaturesTargets-release.cmake
  19. lib/cmake/CpuFeatures/CpuFeaturesTargets.cmake
  20. lib/libcpu_features.so
  21. @owner
  22. @group
  23. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • cpu_features>0:devel/cpu_features
To install the port:
cd /usr/ports/devel/cpu_features/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/cpu_features
  • pkg install cpu_features
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: cpu_features
Flavors: there is no flavor information for this port.
NOT_FOR_ARCHS: mips mips64 riscv64
distinfo:
TIMESTAMP = 1713392514 SHA256 (google-cpu_features-v0.9.0_GH0.tar.gz) = bdb3484de8297c49b59955c3b22dba834401bc2df984ef5cfc17acbe69c5018e SIZE (google-cpu_features-v0.9.0_GH0.tar.gz) = 109259

Packages (timestamps in pop-ups are UTC):
cpu_features
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.9.00.9.0--0.9.0n/an/an/a
FreeBSD:13:quarterly0.9.00.9.0--0.9.0n/an/an/a
FreeBSD:14:latest0.9.00.9.0--0.9.0---
FreeBSD:14:quarterly0.9.00.9.0--0.9.0---
FreeBSD:15:latest0.9.00.9.0n/a-n/an/a--
FreeBSD:15:quarterly0.9.00.9.0n/a-n/an/a--
FreeBSD:16:latest0.9.00.9.0n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_cpu_features
USES:
cmake:testing
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/google/cpu_features/tar.gz/v0.9.0?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.9.0
14 Feb 2026 14:22:26
commit hash: 6237e3c7e6a30c4eaa659c18da3873615148383bcommit hash: 6237e3c7e6a30c4eaa659c18da3873615148383bcommit hash: 6237e3c7e6a30c4eaa659c18da3873615148383bcommit hash: 6237e3c7e6a30c4eaa659c18da3873615148383b files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
devel/cpu_features: port to powerpc*

This adds the relevant bits of polyfill, permitting the
library to build on powerpc* (only powerpc64le tested).

Approved by:	portmgr (build fix blanket)
MFH:		2026Q1
Sponsored by:	Raptor Computing Systems, LLC

(cherry picked from commit 05dffccdf23880277fdcec143ccef78f254e10ea)

Number of commits found: 1