Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831975 - dev-libs/xxhash: Enable dispatch
Summary: dev-libs/xxhash: Enable dispatch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: Normal enhancement
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-24 14:02 UTC by Hugo Beauzée-Luyssen
Modified: 2025-02-02 08:20 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Beauzée-Luyssen 2022-01-24 14:02:34 UTC
Hi,

Currently the xxhash package doesn't include the dispatch code in order to use SIMD, while it probably should on supported architectures (x86 & x64).

This is done by setting adding DISPATCH=1 to the build env: https://github.com/Cyan4973/xxHash#build-modifiers

My apologies if this isn't the proper way of reporting such a request
Comment 1 Matthew Smith gentoo-dev 2022-01-24 18:29:39 UTC
Also maybe CPU_FLAGS_X86 could be used instead to set XXH_VECTOR.
Comment 2 Larry the Git Cow gentoo-dev 2025-02-02 08:20:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=588a9222ed96b4e9fb11f76aa9e2b92cb82aea77

commit 588a9222ed96b4e9fb11f76aa9e2b92cb82aea77
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2025-02-02 08:15:49 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2025-02-02 08:19:43 +0000

    dev-libs/xxhash: add 0.8.3
    
    Please note that dispatch is now enabled automatically.
    See https://github.com/Cyan4973/xxHash/releases/tag/v0.8.3
    
    Closes: https://bugs.gentoo.org/831975
    Closes: https://bugs.gentoo.org/947902
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 dev-libs/xxhash/Manifest            |  1 +
 dev-libs/xxhash/xxhash-0.8.3.ebuild | 42 +++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)