I'd been getting an issue with building the xxHash sources, it seems necessary to add CFLAGS="$CFLAGS -DXXH_X86DISPATCH_ALLOW_AVX=1" before the
ADAFLAGSdeclarations in
build` on some systems, or else you get a compilation error “Error: if xxh_x86dispatch.c is compiled with AVX enabled, the resulting binary will crash on sse2-only cpus”: https://github.com/Cyan4973/xxHash/issues/839
This is just a hack to fix it but I tried removing -march=native -mtune=native
and everything else I could think of from my /etc/makepkg.conf
but it didn't fix it (somewhere -mavx2
is still being set).
Pinned Comments
charlie5 commented on 2023-07-09 16:32 (UTC)
This package is available in the Arch Ada Repository.