notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
cpu_features Cross platform C99 library to get cpu features at runtime
0.5.0 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.5.0Version of this port present on the latest quarterly branch.
Maintainer: skreuzer@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-05-02 17:21:11
Last Update: 2021-04-07 08:09:01
Commit Hash: cf118cc
License: APACHE20
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (22 items)
Collapse this list.
  1. /usr/local/share/licenses/cpu_features-0.5.0/catalog.mk
  2. /usr/local/share/licenses/cpu_features-0.5.0/LICENSE
  3. /usr/local/share/licenses/cpu_features-0.5.0/APACHE20
  4. bin/list_cpu_features
  5. include/cpu_features_cache_info.h
  6. include/cpu_features_macros.h
  7. include/cpuinfo_aarch64.h
  8. include/cpuinfo_arm.h
  9. include/cpuinfo_mips.h
  10. include/cpuinfo_ppc.h
  11. include/cpuinfo_x86.h
  12. include/internal/bit_utils.h
  13. include/internal/cpuid_x86.h
  14. include/internal/filesystem.h
  15. include/internal/hwcaps.h
  16. include/internal/stack_line_reader.h
  17. include/internal/string_view.h
  18. include/internal/unix_features_aggregator.h
  19. lib/libcpu_features.so
  20. @owner
  21. @group
  22. @mode
Collapse this list.
Dependency lines:
  • For RUN/BUILD depends:
    • cpu_features>0:devel/cpu_features
  • For LIB depends:
    • libcpu_features.so:devel/cpu_features
To install the port: cd /usr/ports/devel/cpu_features/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/cpu_features
  • pkg install cpu_features
PKGNAME: cpu_features
Flavors: there is no flavor information for this port.
NOT_FOR_ARCHS: aarch64 armv6 armv7 mips mips64 riscv64
distinfo:
Packages (timestamps in pop-ups are UTC):
cpu_features
ABIlatestquarterly
FreeBSD:11:aarch640.2.0-
FreeBSD:11:amd640.5.00.5.0
FreeBSD:11:armv6--
FreeBSD:11:i3860.5.00.5.0
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch640.2.0-
FreeBSD:12:amd640.5.00.5.0
FreeBSD:12:armv60.2.0-
FreeBSD:12:armv70.2.0-
FreeBSD:12:i3860.5.00.5.0
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-0.5.0
FreeBSD:13:aarch64--
FreeBSD:13:amd640.5.00.5.0
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3860.5.00.5.0
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc640.4.00.5.0
FreeBSD:14:aarch64--
FreeBSD:14:amd640.5.0-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3860.5.0-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc640.5.0-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake
  2. ninja : devel/ninja
This port is required by:
for Build
  1. security/softether5
for Libraries
  1. biology/spoa
  2. security/softether5

Configuration Options:
Options name:

USES:

Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/google/cpu_features/tar.gz/v0.5.0?dummy=/
Collapse this list.

Number of commits found: 12

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  0.5.0
mat search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  0.5.0
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
28 Jan 2021 22:37:24
Original commit files touched by this commit Revision:563161  0.5.0
skreuzer search for other commits by this committer
Update to version 0.5.0

Upstream Enhancements:
 * Detect future Intel AVX/AMX features #128
 * Add support for Tiger Lake and Sapphire rapids Intel microarchitectures #127
 * Update features for AArch64 to Linux 5.8 #126
 * AVX-512 FMA count detection #120

Port Changes:
 * Add license file
 * Change libcpu_features to a shared library

PR: 253037
Submitted by:	yuri@
07 Dec 2020 03:39:51
Original commit files touched by this commit Revision:557208  0.4.0
linimon search for other commits by this committer
Also mark NOT_FOR riscv64:

  CMake Error at CMakeLists.txt:77 (message):
  Unsupported architectures riscv64

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com build testing
14 Jul 2019 02:25:46
Original commit files touched by this commit Revision:506593  0.4.0
skreuzer search for other commits by this committer
Add files/ directory which was missed in the previous commit
14 Jul 2019 02:24:51
Original commit files touched by this commit Revision:506592  0.4.0
skreuzer search for other commits by this committer
Update to version 0.4.0
18 Mar 2019 01:35:37
Original commit files touched by this commit Revision:496118  0.2.0_1
skreuzer search for other commits by this committer
Set NOT_FOR_ARCHS on arm and mips

HWCAPS_ANDROID_MIPS_OR_ARM is being defined based on the assumption that any
ARM processor must be running Android.

PR:		235994
Reported by:	John F. Carr <jfc@mit.edu>
13 Feb 2019 02:11:18
Original commit files touched by this commit Revision:492822  0.2.0_1
skreuzer search for other commits by this committer
Generate position independent code

PR:		235590
Submitted by:	Koichiro Iwao <meta@FreeBSD.org>
25 Dec 2018 20:25:40
Original commit files touched by this commit Revision:488341  0.2.0
tcberner search for other commits by this committer
Change cmake default behaviour to outsource.

Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
11 Sep 2018 01:41:27
Original commit files touched by this commit Revision:479496  0.2.0
skreuzer search for other commits by this committer
Update to version 0.2.0
04 May 2018 13:34:33
Original commit files touched by this commit Revision:469029  0.1.0
skreuzer search for other commits by this committer
Install the static library using INSTALL_DATA instead of INSTALL_LIB
Fix typo in package description: C89->C99

Reported by:	Adam Weinberger <adamw@adamw.org>
02 May 2018 17:20:56
Original commit files touched by this commit Revision:468857  0.1.0
skreuzer search for other commits by this committer
A small, fast, and simple open source library to report CPU features at
runtime. Written in C89 for maximum portability, it allocates no memory and is
suitable for implementing fundamental functions and running in sandboxed
environments.

WWW: https://github.com/google/cpu_features

Number of commits found: 12