commit:     25a29b7fc4c103a32348b0adcb3e8014173e0665
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  8 02:14:00 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jan  8 02:14:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25a29b7f

qt6-build.eclass: add avx512vnni to qtwebengine's sanitizing

Possible that more flags from bug #947696 will cause issues (untested),
but at least looked at all the -mavx512* that xnnpack uses and the only
one that's missing was vnni.

qtbase does not care for it, so put it in qtwebengine's block.

Closes: https://bugs.gentoo.org/947696
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 eclass/qt6-build.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass
index f8161447074a..ca6c63081053 100644
--- a/eclass/qt6-build.eclass
+++ b/eclass/qt6-build.eclass
@@ -1,4 +1,4 @@
-# Copyright 2021-2024 Gentoo Authors
+# Copyright 2021-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: qt6-build.eclass
@@ -296,7 +296,7 @@ _qt6-build_sanitize_cpu_flags() {
        # extras only needed by chromium in qtwebengine
        # (see also chromium's ebuild wrt bug #530248,#544702,#546984,#853646)
        [[ ${PN} == qtwebengine ]] && cpuflags+=(
-               mmx xop
+               avx512vnni mmx xop
 
                # unclear if these two are really needed given (current) 
chromium
                # does not pass these flags, albeit it may side-disable 
something

Reply via email to