pkg.soopen package index

brew / Rang 2861

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

  • Es wurden keine Homebrew-Bottle-Metadaten erfasst.

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_featuresExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.

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-08-03
Manager-Version0.11.0
Manager aktualisiert2026-06-01
lokale Datenunbekannt
Upstreamnicht verfügbar
neueste erkannte Versionnicht erkannt
  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:cpu_features
Version0.11.0
PaketmanagerHomebrew
Homepagehttps://github.com/google/cpu_features
Repositoryhttps://github.com/google/cpu_features
Zuletzt aktualisiert2026-06-01T17:25:20Z
Pulseupdated
Bottlenicht erfasst
Dienstkeiner deklariert

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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation