BSD Ports

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

SystemPortVersion
FreeBSDsysutils/cpuid2cpuflags16
DragonFlysysutils/cpuid2cpuflags15

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1616121616
FreeBSD:14:quarterly1616n/a1616
FreeBSD:15:latest1616n/a1616
FreeBSD:15:quarterly1616n/an/an/a
FreeBSD:16:latest1616n/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.

No port depends on this one.

Configuration

Options name: sysutils_cpuid2cpuflags

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
tar:bzip2
Service scripts
none

Files

distinfo 1
FileSizeSHA256
cpuid2cpuflags-16.tar.bz294428c58558a46f50660d07d7afc3733416187eb73ed8d822f36cf43b49d415d08756
Master sites 1
  • https://github.com/projg2/cpuid2cpuflags/releases/download/v16/

Commit history 0

No commits in the history this site was built from.