Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908445 - media-libs/svt-av1: needs avx512 enabled at compile time
Summary: media-libs/svt-av1: needs avx512 enabled at compile time
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: James Beddek
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-13 14:02 UTC by Jason A. Donenfeld
Modified: 2023-06-13 14:35 UTC (History)
2 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 Jason A. Donenfeld gentoo-dev 2023-06-13 14:02:39 UTC
svt-av1 benefits largely from AVX512 support, which it will enable opportunistically at runtime after seeing if the CPU supports it. However, it needs to be enabled at compile time:

    -DENABLE_AVX512=ON

That seems to work.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-13 14:04:28 UTC
thanks! Feel free to chuck it in if it's a runtime check
Comment 2 Larry the Git Cow gentoo-dev 2023-06-13 14:35:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ca0b804f3392226d61a370f196b876e0656e70c

commit 3ca0b804f3392226d61a370f196b876e0656e70c
Author:     Jason A. Donenfeld <zx2c4@gentoo.org>
AuthorDate: 2023-06-13 14:34:16 +0000
Commit:     Jason A. Donenfeld <zx2c4@gentoo.org>
CommitDate: 2023-06-13 14:35:56 +0000

    media-libs/svt-av1: enable avx512
    
    Closes: https://bugs.gentoo.org/908445
    Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>

 media-libs/svt-av1/{svt-av1-1.5.0.ebuild => svt-av1-1.5.0-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)