From 839b3078cd880c99a3be13ab2f2f75ce790c13f4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 13 Aug 2025 20:05:33 -0700 Subject: [PATCH] ktx-software: Disable AVX on x86_64 When using x86-64-v3 AVX gets enabled by default and this does not work well with ktx dependencies e.g. basisu Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/ktx-software/ktx-software_4.4.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-graphics/ktx-software/ktx-software_4.4.0.bb b/meta-oe/recipes-graphics/ktx-software/ktx-software_4.4.0.bb index c7fa74c92e..21af3c493b 100644 --- a/meta-oe/recipes-graphics/ktx-software/ktx-software_4.4.0.bb +++ b/meta-oe/recipes-graphics/ktx-software/ktx-software_4.4.0.bb @@ -13,4 +13,7 @@ SRCREV = "beef80159525d9fb7abb8645ea85f4c4f6842e8f" inherit cmake +# BASISU does not work with avx +TUNE_CCARGS:append:x86-64 = " -mno-avx" + PACKAGECONFIG[ocl_backend] = "-DBASISU_SUPPORT_OPENCL=ON, -DBASISU_SUPPORT_OPENCL=OFF, virtual/opencl-icd"