Port details |
- cpu_features Cross platform C99 library to get cpu features at runtime
- 0.6.0_2 devel
=1 0.6.0_2Version of this port present on the latest quarterly branch. - Maintainer: skreuzer@FreeBSD.org
 - 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:
- 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.
WWW: https://github.com/google/cpu_features
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - 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:
- TIMESTAMP = 1631796486
SHA256 (google-cpu_features-v0.6.0_GH0.tar.gz) = 95a1cf6f24948031df114798a97eea2a71143bd38a4d07d9a758dda3924c1932
SIZE (google-cpu_features-v0.6.0_GH0.tar.gz) = 63255
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake
- ninja : devel/ninja
- This port is required by:
- for Build
-
- security/softether5
- for Libraries
-
- biology/spoa
- devel/volk
- security/hexl
- security/softether5
- Configuration Options:
- No options to configure
- Options name:
- devel_cpu_features
- USES:
- cmake:testing
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
02 Feb 2022 15:31:40 0.6.0_2
|
Piotr Kubaj (pkubaj)  |
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 0.6.0_1
|
Yuri Victorovich (yuri)  |
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 0.6.0
|
Steven Kreuzer (skreuzer)  |
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 0.5.0
|
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
06 Apr 2021 14:31:07 0.5.0
|
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
28 Jan 2021 22:37:24
0.5.0
|
skreuzer  |
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
0.4.0
|
linimon  |
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
0.4.0
|
skreuzer  |
Add files/ directory which was missed in the previous commit |
14 Jul 2019 02:24:51
0.4.0
|
skreuzer  |
Update to version 0.4.0 |
18 Mar 2019 01:35:37
0.2.0_1
|
skreuzer  |
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
0.2.0_1
|
skreuzer  |
Generate position independent code
PR: 235590
Submitted by: Koichiro Iwao <meta@FreeBSD.org> |
25 Dec 2018 20:25:40
0.2.0
|
tcberner  |
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
0.2.0
|
skreuzer  |
Update to version 0.2.0 |
04 May 2018 13:34:33
0.1.0
|
skreuzer  |
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
0.1.0
|
skreuzer  |
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 |