Message ID | 20250814033742.1711651-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe,1/2] ktx-software: Disable AVX on x86_64 | expand |
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"
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 <raj.khem@gmail.com> --- meta-oe/recipes-graphics/ktx-software/ktx-software_4.4.0.bb | 3 +++ 1 file changed, 3 insertions(+)