sysutils/cpuid2cpuflags 16 FreeBSD
Tool to generate CPU_FLAGS_* for your CPU
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv2+
- Categories
- sysutils
- Package size
- 5.9 KiB, 11.8 KiB installed
Description
The program attempts to obtain the identification and capabilities of the currently used CPU, and print the matching set of CPU_FLAGS_* flags for Gentoo Linux, but it could be useful for FreeBSD as well.
The output format is compatible both with Portage (package.use) and Paludis (use.conf/options.conf).
On x86 platforms, the program issues the CPUID instruction to obtain processor capabilities.
On ARM platforms, the userspace processes are not allowed to obtain processor information directly. Instead, the program is relying on kernel identification of the CPU provided via the system interfaces.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | sysutils/cpuid2cpuflags | 16 |
| DragonFly | sysutils/cpuid2cpuflags | 15 |
Install
Binary package:
pkg install cpuid2cpuflags
From the ports tree:
cd /usr/ports/sysutils/cpuid2cpuflags/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= cpuid2cpuflags>0:sysutils/cpuid2cpuflags
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 | 16 | 16 | 12 | 16 | 16 |
| FreeBSD:14:quarterly | 16 | 16 | n/a | 16 | 16 |
| FreeBSD:15:latest | 16 | 16 | n/a | 16 | 16 |
| FreeBSD:15:quarterly | 16 | 16 | n/a | n/a | n/a |
| FreeBSD:16:latest | 16 | 16 | 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.
No port depends on this one.
Configuration
Options name: sysutils_cpuid2cpuflags
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- tar:bzip2
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| cpuid2cpuflags-16.tar.bz2 | 94428 | c58558a46f50660d07d7afc3733416187eb73ed8d822f36cf43b49d415d08756 |
Master sites 1
- https://github.com/projg2/cpuid2cpuflags/releases/download/v16/
Commit history 0
No commits in the history this site was built from.