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

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

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.

Loading...