devel/cpu_features 0.11.0 FreeBSD
Cross platform C99 library to get cpu features at runtime
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
79018ce2de- License
- APACHE20
- Categories
- devel
- Package size
- 33.6 KiB, 125.4 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/cpu_features | 0.11.0 |
| NetBSD | devel/cpu_features | 0.7.0 |
| DragonFly | devel/cpu_features | 0.9.0 |
Install
Binary package:
pkg install cpu_features
From the ports tree:
cd /usr/ports/devel/cpu_features/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= cpu_features>0:devel/cpu_features
LIB_DEPENDS= libcpu_features.so:devel/cpu_features
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.11.0 | 0.11.0 | - | - | 0.11.0 |
| FreeBSD:14:quarterly | 0.11.0 | 0.11.0 | n/a | - | 0.11.0 |
| FreeBSD:15:latest | 0.11.0 | 0.11.0 | n/a | - | 0.9.0 |
| FreeBSD:15:quarterly | 0.11.0 | 0.11.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.11.0 | 0.11.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Required by 18
Configuration
No options to configure.
- USES
- cmake:testing
- Service scripts
- none
Files
pkg-plist 17
- bin/list_cpu_features
- include/cpu_features/cpu_features_cache_info.h
- include/cpu_features/cpu_features_macros.h
- include/cpu_features/cpuinfo_aarch64.h
- include/cpu_features/cpuinfo_arm.h
- include/cpu_features/cpuinfo_loongarch.h
- include/cpu_features/cpuinfo_mips.h
- include/cpu_features/cpuinfo_ppc.h
- include/cpu_features/cpuinfo_riscv.h
- include/cpu_features/cpuinfo_s390x.h
- include/cpu_features/cpuinfo_x86.h
- include/cpu_features/internal/hwcaps.h
- lib/cmake/CpuFeatures/CpuFeaturesConfig.cmake
- lib/cmake/CpuFeatures/CpuFeaturesConfigVersion.cmake
- lib/cmake/CpuFeatures/CpuFeaturesTargets-.cmake
- lib/cmake/CpuFeatures/CpuFeaturesTargets.cmake
- lib/libcpu_features.so
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| google-cpu_features-v0.11.0_GH0.tar.gz | 116873 | ab2463f2d38fcaff1ce806be8e4c91333449931f5e02009d543b2569a3fa471a |