xxhash

Edit Package xxhash
No description set
Refresh
Refresh
Source Files
Filename Size Changed
_scmsync.obsinfo 0000000153 153 Bytes
build.specials.obscpio 0000000256 256 Bytes
inline.patch 0000001862 1.82 KB
test-tools-do-not-override-cflags.patch 0000000507 507 Bytes
xxHash-0.8.2.tar.gz 0001141188 1.09 MB
xxhash.changes 0000006874 6.71 KB
xxhash.spec 0000003648 3.56 KB
Comments 3

Bruno Friedmann's avatar

Shouldn't we have same def like what fedora do for dispatch support

# Enable runtime detection of sse2/avx2/avx512 on intel architectures

%ifarch %{ix86} x86_64

%global dispatch 1
# Some distribution variants build with -march=x86-64-v3.
# See xxh_x86dispatch.c.
%global moreflags_dispatch -DXXH_X86DISPATCH_ALLOW_AVX
%else
%global dispatch 0
%global moreflags_dispatch %{nil}
%endif
%make_build \
    MOREFLAGS="%{__global_cflags} %{?__global_ldflags} %{moreflags_dispatch}" \
    DISPATCH=%{dispatch}

Jan Engelhardt's avatar

only relevant when building hwcaps-v3 (which we didn't until now).


Jan Engelhardt's avatar

couldn't find any measurable performance gains. xxhash is weird.

openSUSE Build Service is sponsored by