Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#73497 - xxhash: add support for dispatcher code (x86dispatch)

Attached to Project: Community Packages
Opened by Alexandre Janniaux (ajanni) - Tuesday, 25 January 2022, 12:33 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 01 March 2023, 15:40 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



xxh_x86dispatch.h is not available with the xxhash package, in particular because DISPATCH is not set when compiling.

Changing the PKGBUILD from

make PREFIX=/usr DESTDIR="${pkgdir}" -C xxHash install


make PREFIX=/usr DESTDIR="${pkgdir}" -C xxHash install DISPATCH=1

From the github:

DISPATCH=1 : use xxh_x86dispatch.c, to automatically select between scalar, sse2, avx2 or avx512 instruction set at runtime, depending on local host. This option is only valid for x86/x64 systems.

This file (and its compiled part) is necessary to compile projects like medialibrary:
Because of that, the project is currently planning on using a self-compiled version when building instead of the system one, even when the package is installed.

I'm available for further information.
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Wednesday, 01 March 2023, 15:40 GMT
Reason for closing:  Implemented
Additional comments about closing:  Apologies for the (very) long wait, this is done in 0.8.1-4.