Package Details: libcpufeatures-git 0.7.0+8.r277.d20220315.188d0d3-2

Git Clone URL: (read-only, click to copy)
Package Base: libcpufeatures-git
Description: A cross-platform C library to retrieve CPU features (such as available instructions) at runtime. By google.
Upstream URL:
Licenses: Apache
Conflicts: libcpufeatures, libvolk
Provides: libcpufeatures
Submitter: dreieck
Maintainer: None
Last Packager: benpiano800
Votes: 3
Popularity: 0.000229
First Submitted: 2021-07-08 12:08 (UTC)
Last Updated: 2022-05-02 14:09 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

kiasoc5 commented on 2022-05-01 05:58 (UTC)

@benpiano800 I have added a libcpufeatures PKGBUILD for you to maintain. It uses the stable version of libcpufeatures instead of the git version. Please add the gtest dependency. Then the prepare step is not required and cmake will not download a copy of googletest.

TheCustomFHD commented on 2022-03-17 09:34 (UTC) (edited on 2022-03-17 09:39 (UTC) by TheCustomFHD)

your PKGBUILD needs fixing, this worked for me.


the change being that git disabled unauthorised downloads via git, so i chosed https ngl, am a little proud as this is my first time fixing/touching a pkgbuild

benpiano800 commented on 2022-03-08 15:19 (UTC)

Should be fixed now

benpiano800 commented on 2022-03-08 15:13 (UTC) (edited on 2022-03-08 15:15 (UTC) by benpiano800)

@Jolly_Roberts okay, will do. I'll credit you as a contributor for the suggestion.

Jolly_Roberts commented on 2022-03-06 18:25 (UTC)

This worked for me:

source=( "${_pkgname}::git+git://" )

Jolly_Roberts commented on 2022-03-05 20:04 (UTC)


This is currently breaking cause the upstream re-named their primary branch to "main" and the PKGBUILD does not account for that. I think if you have it git checkout the 'main' branch before the call to cmake it would work.

Cloning into 'libcpufeatures'... done. warning: remote HEAD refers to nonexistent ref, unable to checkout.

==> Starting prepare()... CMake Error: The source directory "/home/jollyroberts/.cache/yay/libcpufeatures-git/src/libcpufeatures" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. ==> ERROR: A failure occurred in prepare(). Aborting... -> error making: libcpufeatures-git

benpiano800 commented on 2022-02-28 00:38 (UTC)

Adopting because I use it and want to maintain it

dreieck commented on 2022-02-26 14:41 (UTC)

Disowning, since I do not use it and dont want to maintain it.

dreieck commented on 2022-02-26 14:41 (UTC)


git log -n 1 --no-show-signature --format=tformat:%ci

I also do not have GPG keys. I do not know what goes on, maybe it is some issue with your local git configuration?

I have added it anyway. I do not understand what it does.

DHouck commented on 2022-02-16 20:17 (UTC)

Iʼm getting an error when trying to get the latest version, because I do not have the GPG keys of everyone who might contribute to the upstream project. Maybe Iʼm missing something about how GPG is supposed to work, but it seems like signature verification is not needed here. Would changing the pkgbuild to skip GPG signature verification when getting the version cause security issues, and if so, is there a better fix?

diff --git i/PKGBUILD w/PKGBUILD
index 1519cbd..03b0a99 100644
@@ -39,7 +39,7 @@ pkgver() {
   _subver="$(git describe --tags | awk -F'-' '{print $2}')"
   _rev="$(git rev-list --count HEAD)"
   _hash="$(git rev-parse --short HEAD)"
-  _date="$(git log -n 1 --format=tformat:%ci | awk '{print $1}' | tr -d '-')"
+  _date="$(git log -n 1 --no-show-signature --format=tformat:%ci | awk '{print $1}' | tr -d '-')"
   if [ -z ${_ver} ]; then
     error "Error in ${FUNCNAME[0]}: Version information could not determined."
     return 1