Install this package:
emerge -a dev-libs/libcpuid
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask dev-libs/libcpuid
Or alternatively:
emerge --autounmask-write -a dev-libs/libcpuid
<pkgmetadata> <maintainer type="person"> <email>bkohler@gentoo.org</email> <name>Ben Kohler</name> </maintainer> <longdescription> <pkg>dev-libs/libcpuid</pkg> is a small C library for x86 (and x86_64) CPU detection and feature extraction. Using it, you can: - get the processor vendor, model, code name, etc. - get information about CPU features such as: number of cores or logical CPUs, cache sizes, CPU clock, etc. - check if the processor implements a specific instruction set such as the SSE2, 3DNow!, etc. - execute the CPUID and RDTSC instructions. - have this all in your commercial application, without getting into trouble. </longdescription> <longdescription lang="fr"> <pkg>dev-libs/libcpuid</pkg> est une petite bibliothèque C pour la détection de CPU x86 (et x86_64) et l'extraction de fonctions. En l'utilisant, vous pouvez : - obtenir le vendeur du processeur, le modèle, le nom de code, etc. - obtenir des informations sur les caractéristiques du CPU telles que : le nombre de cœurs ou d'unités logiques, les tailles des caches, l'horloge CPU, etc. - vérifier si le processeur implémente un jeu d'instructions spécifique tel que l'instruction SSE2, 3DNow!, etc. - exécuter les instructions CPUID et RDTSC. - avoir tout cela dans votre application commerciale, sans avoir d'ennuis. </longdescription> <slots lang="fr"> <subslots>
			Reflétent la compatibilité de l'interface binaire-programme
			(A.B.I.) de libcpuid.so
		</subslots> </slots> <upstream> <maintainer status="active"> <email></email> <name>Veselin Georgiev</name> </maintainer> <changelog>https://raw.githubusercontent.com/anrieff/libcpuid/master/ChangeLog</changelog> <doc>http://libcpuid.sourceforge.net/doxy/index.html</doc> <bugs-to>https://github.com/anrieff/libcpuid/issues/</bugs-to> <remote-id type="github">anrieff/libcpuid</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p dev-libs/libcpuid |
euse -E <flag> -p dev-libs/libcpuid |
euse -D <flag> -p dev-libs/libcpuid
| Flag | Description | 0.8.1 | 0.8.0 |
|---|---|---|---|
| static-libs | Build static versions of dynamic libraries as well | ✓ | ✓ |
| test | Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) | ✓ | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | libcpuid-0.8.0.tar.gz | 629056 bytes | 0.8.0 |
| DIST | libcpuid-0.8.1.tar.gz | 511050 bytes | 0.8.1 |
| Type | File | Size |
|---|