Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

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 Andreas Radke (AndyRTR) - Wednesday, 16 February 2022, 17:09 GMT
Task Type Feature Request
Category Packages
Status Assigned
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:

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

to

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: code.videolan.org/videolan/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

Loading...