macOS
brew install cpu_featureslocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cpu_features in AI-Agent-Workflows.
Installation
brew install cpu_featureslocal Homebrew formula metadata
sudo apt install libcpu-features-devDebian stable package indexes · libcpu-features-dev · Quelle: deb.debian.org
nix profile install nixpkgs#cpu_featuresnixpkgs package indexes · pkgs/by-name/cp/cpu_features/package.nix · Quelle: api.github.com
Überblick
Cross platform C99 library to get cpu features at runtime
Verlauf
cpu_features is Google's portable C99 library for detecting CPU instruction-set and microarchitecture features at runtime.
The official repository was created in 2018. Its README emphasizes portability, old-compiler compatibility, sandbox-aware detection strategies, thread safety, no allocation, no exceptions, unit tests, and suitability for low-level code such as libc-style routines.
The README positions cpu_features as cross-platform infrastructure across Linux, macOS, Windows, Android, and several CPU families. It also describes Android support and an NDK cpu-features.h compatibility layer, making it relevant to projects that need runtime dispatch without depending on platform-specific probes.
Users include architecture-specific headers such as cpuinfo_x86.h or cpuinfo_arm.h, read feature structures returned by GetX86Info or GetArmInfo, and select optimized code paths based on runtime CPU support. The package also builds list_cpu_features for inspecting detected features, including JSON output.
For packagers, cpu_features is a small but foundational library: it helps upstreams choose optimized code paths while still shipping generic binaries, and it is designed to build with CMake, Bazel, and Zig across many architectures.
Sicherheitslage
generalized runtime or code generation signal.
yellow Risiko · mittel Konfidenz · runtime
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
list_cpu_features | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/google/cpu_features
Installationsmetadaten
| Paketschlüssel | brew:cpu_features |
|---|---|
| Version | 0.11.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/cpu_features |
| Homepage | https://github.com/google/cpu_features |
| Repository | https://github.com/google/cpu_features |
| Upstream-Dokumentation | https://github.com/google/cpu_features#readme |
| Lizenz | Apache-2.0 |
| Quellarchiv | https://github.com/google/cpu_features/archive/refs/tags/v0.11.0.tar.gz |
| Zuletzt aktualisiert | 2026-06-01T17:25:20Z |
| Pulse | updated |
| Build-Abhängigkeiten | cmake |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cpu_features |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
libcpu-features-dev 0.9.0-1+b1
cross platform C99 library to get cpu features
https://github.com/google/cpu_features
sudo apt install libcpu-features-devcpu_features
nix profile install nixpkgs#cpu_featureslibcpu-features-dev 0.9.0-1
cross platform C99 library to get cpu features
https://github.com/google/cpu_features
sudo apt install libcpu-features-devQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.