1
0
forked from jengelh/xxhash

Drop cpuid/hwcaps_libs experiments

This commit is contained in:
Jan Engelhardt 2024-09-03 04:07:04 +02:00
parent 886f7ca209
commit 5fba825578
3 changed files with 4 additions and 8 deletions

View File

@ -1 +0,0 @@
libxxhash0

View File

@ -1,9 +1,3 @@
-------------------------------------------------------------------
Wed Aug 14 15:06:38 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Build hwcap_libs (x86-64-v3) for xxhash, apparently there is
something to gain.
-------------------------------------------------------------------
Sun May 5 19:35:03 UTC 2024 - Bruno Pitrus <brunopitrus@hotmail.com>

View File

@ -24,7 +24,6 @@ License: BSD-2-Clause AND GPL-2.0-only
Group: Productivity/Security
URL: https://github.com/Cyan4973/xxHash
Source0: https://github.com/Cyan4973/xxHash/archive/v%{version}.tar.gz#/xxHash-%{version}.tar.gz
Source9: baselibs.conf
Patch1: test-tools-do-not-override-cflags.patch
BuildRequires: gcc-c++
BuildRequires: pkg-config
@ -63,6 +62,10 @@ Headers and other development files for xxHash.
export CFLAGS="%{optflags} -DXXH_X86DISPATCH_ALLOW_AVX=1"
export CXXFLAGS="$CFLAGS"
export LDFLAGS="%{?build_ldflags}"
# DISPATCH=1 if you want AVX2/AVX512. But it does not seem to perform any
# better than the lowest-denomimation code on at least the 1135G7 and 5950X
# CPUs, and for both LP64 as well as ILP32 — it seems to be all within margin
# of error.
%make_build prefix=%{_prefix} libdir=%{_libdir}
%install