notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Port details
cpu_features Cross platform C99 library to get cpu features at runtime
0.6.0_2 devel on this many watch lists=1 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.6.0_2Version 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: 2022-02-02 15:31:40
Commit Hash: 053f1fd
People watching this port, also watch:: xerces-c3, py38-pycparser, ladspa, gstreamer1-plugins-pango, libkvkontakte
License: APACHE20
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (20 items)
Collapse this list.
  1. /usr/local/share/licenses/cpu_features-0.6.0_2/catalog.mk
  2. /usr/local/share/licenses/cpu_features-0.6.0_2/LICENSE
  3. /usr/local/share/licenses/cpu_features-0.6.0_2/APACHE20
  4. bin/list_cpu_features
  5. include/cpu_features/cpu_features_cache_info.h
  6. include/cpu_features/cpu_features_macros.h
  7. include/cpu_features/cpuinfo_aarch64.h
  8. include/cpu_features/cpuinfo_arm.h
  9. include/cpu_features/cpuinfo_mips.h
  10. include/cpu_features/cpuinfo_ppc.h
  11. include/cpu_features/cpuinfo_x86.h
  12. include/cpu_features/internal/hwcaps.h
  13. lib/cmake/CpuFeatures/CpuFeaturesConfig.cmake
  14. lib/cmake/CpuFeatures/CpuFeaturesConfigVersion.cmake
  15. lib/cmake/CpuFeatures/CpuFeaturesTargets-release.cmake
  16. lib/cmake/CpuFeatures/CpuFeaturesTargets.cmake
  17. lib/libcpu_features.so
  18. @owner
  19. @group
  20. @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
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
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.6.00.5.0
FreeBSD:11:armv6--
FreeBSD:11:i3860.6.00.5.0
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch640.2.0-
FreeBSD:12:amd640.6.0_20.6.0_2
FreeBSD:12:armv60.2.0-
FreeBSD:12:armv70.2.0-
FreeBSD:12:i3860.6.0_20.6.0_2
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-0.5.0
FreeBSD:13:aarch64--
FreeBSD:13:amd640.6.0_20.6.0_2
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3860.6.0_20.6.0_2
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc640.4.00.5.0
FreeBSD:14:aarch64--
FreeBSD:14:amd640.6.0_2-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3860.6.0_2-
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. devel/volk
  3. security/hexl
  4. security/softether5

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/google/cpu_features/tar.gz/v0.6.0?dummy=/
Collapse this list.

Number of commits found: 15

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
02 Feb 2022 15:31:40
 files touched by this commit commit hash:053f1fdbf657d303c5f192c1173cb4bf65cdd730  0.6.0_2
Piotr Kubaj (pkubaj) search for other commits by this committer
devel/cpu_features: install internal/hwcaps.h

Fixes build of security/softether5 on powerpc64le:
/usr/local/include/cpu_features/cpuinfo_ppc.h:20:10: fatal error:
'internal/hwcaps.h' file not found
         ^~~~~~~~~~~~~~~~~~~
26 Jan 2022 16:45:29
 files touched by this commit commit hash:d709ba8de8ec14887beffe99233eec09b26b7ed1  0.6.0_1
Yuri Victorovich (yuri) search for other commits by this committer
devel/cpu_features: Install cmake files, install headers into a dedicated
directory

do-install is removed in favor of project's install target,

Also update 3 other ports to build with cpu_features.

PR:		261252
Approved by:	skreuzer@ (maintainer)
16 Sep 2021 16:07:17
 files touched by this commit commit hash:a5fa38ea20864378fd8c3f3f3b6adfde78cf1d76  0.6.0
Steven Kreuzer (skreuzer) search for other commits by this committer
devel/cpu_features: Update to v0.6.0

* Update port to v0.6.0
* Add patches from upstream to:
  * Support FreeBSD on x86 (11994370)
  * Detect Zen 3 CPUs (7ed0b0e5)
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  0.5.0
Mathieu Arnold (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
Mathieu Arnold (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: 15