BSD Ports

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

SystemPortVersion
FreeBSDdevel/cpu_features0.11.0
NetBSDdevel/cpu_features0.7.0
DragonFlydevel/cpu_features0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.11.00.11.0--0.11.0
FreeBSD:14:quarterly0.11.00.11.0n/a-0.11.0
FreeBSD:15:latest0.11.00.11.0n/a-0.9.0
FreeBSD:15:quarterly0.11.00.11.0n/an/an/a
FreeBSD:16:latest0.11.00.11.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

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
FileSizeSHA256
google-cpu_features-v0.11.0_GH0.tar.gz116873ab2463f2d38fcaff1ce806be8e4c91333449931f5e02009d543b2569a3fa471a

Commit history 1

DateCommitCreditsLog message
79018ce2de Steven Kreuzer devel/cpu_features: Update to 0.11.0
Changelog: https://github.com/google/cpu_features/releases/tag/v0.11.0 FreeBSD is now supported natively for x86, aarch64 and arm, and detection for AMD Zen 5, Intel Arrow Lake and Lunar Lake microarchitectures was added.