Automic VaultAutomic Vault

brew

cpu_features mit Homebrew, apt, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cpu_features in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install cpu_features

local Homebrew formula metadata

Linux

Debian aptverifiziert · 92%
sudo apt install libcpu-features-dev

Debian stable package indexes · libcpu-features-dev · Quelle: deb.debian.org

Nixverifiziert · 92%
nix profile install nixpkgs#cpu_features

nixpkgs package indexes · pkgs/by-name/cp/cpu_features/package.nix · Quelle: api.github.com

Überblick

Paketzusammenfassung

Cross platform C99 library to get cpu features at runtime

Befehle und Aliase

  • list_cpu_features

Verlauf

Projektgeschichte und Nutzung

cpu_features is Google's portable C99 library for detecting CPU instruction-set and microarchitecture features at runtime.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2018: The google/cpu_features repository was created.
  • 2025: v0.10.x releases were published from the official GitHub repository.
  • 2026: v0.11.0 was published from the official GitHub repository.

Related projects

  • The README describes cpu_features as an Android NDK cpu-features.h drop-in replacement.

Sicherheitslage

Risikostufe: yellow

generalized runtime or code generation signal.

Risikoklassifikator

yellow Risiko · mittel Konfidenz · runtime

Warum

  • generalized runtime or code generation signal

Signale

  • text:runtime

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
list_cpu_featurescliglobales Executable

Aktualität

Version und 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.

Seite generiert2026-07-10
Manager-Version0.11.0
Manager aktualisiert2026-06-01
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv0.11.0

https://github.com/google/cpu_features

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:cpu_features
Version0.11.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/cpu_features
Homepagehttps://github.com/google/cpu_features
Repositoryhttps://github.com/google/cpu_features
Upstream-Dokumentationhttps://github.com/google/cpu_features#readme
LizenzApache-2.0
Quellarchivhttps://github.com/google/cpu_features/archive/refs/tags/v0.11.0.tar.gz
Zuletzt aktualisiert2026-06-01T17:25:20Z
Pulseupdated
Build-Abhängigkeitencmake
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecpu_features
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

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-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: cpu-features
  • normalized package name match
  • Abgeglichen nach: Cpu Features
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcpu-features-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

cpu_features

nix profile install nixpkgs#cpu_features
  • normalized package name match
  • Abgeglichen nach: Cpu Features
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cp/cpu_features/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libcpu-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-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: cpu-features
  • normalized package name match
  • Abgeglichen nach: Cpu Features
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcpu-features-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment