mesa-tools-native: fix do_compile failure
PATCH 1/1 mesa-tools-native: fix do_compile failure
Fix do_compile failure:../sources/mesa-26.0.1/src/panfrost/lib/kmod/pan_kmod.c:7:10: fatal error: xf86drm.h: No such file or directory
--- meta/recipes-graphics/mesa/mesa-tools-native.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/mesa/mesa-tools-native.bb +1 -1
@@ -11,7 +11,7 @@ PACKAGECONFIG += "gallium-llvm" # to PACKAGECONFIG like in mesa.inc PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)}" -DEPENDS += "libclc-native spirv-tools-native spirv-llvm-translator-native" +DEPENDS += "libclc-native spirv-tools-native spirv-llvm-translator-native libdrm-native" EXTRA_OEMESON += " \ -Dmesa-clc=enabled -Dinstall-mesa-clc=true -Dmesa-clc-bundle-headers=enabled \
Signature · 1 line
2.34.1
meta/recipes-graphics/mesa/mesa-tools-native.bb PACKAGECONFIG += "gallium-llvm" · line 14
Quoted 6 lines · Changqing Li via lists.openembedded.org
Fix
do_compilefailure:../sources/mesa-26.0.1/src/panfrost/lib/kmod/pan_kmod.c:7:10: fatal error:xf86drm.h: No such file or directorymeta/recipes-graphics/mesa/mesa-tools-native.bb +1
-1-DEPENDS += "libclc-native spirv-tools-native spirv-llvm-translator-native" +DEPENDS += "libclc-native spirv-tools-native spirv-llvm-translator-native libdrm-native"
This is not seen on the autobuilder, so what is the configuration that triggers it?
Alex
Quoted 11 lines · Alexander Kanavin
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.meta/recipes-graphics/mesa/mesa-tools-native.bb PACKAGECONFIG += "gallium-llvm" · line 14
Quoted 4 lines · Changqing Li via lists.openembedded.org
Fix
do_compilefailure:../sources/mesa-26.0.1/src/panfrost/lib/kmod/pan_kmod.c:7:10: fatal error:xf86drm.h: No such file or directorymeta/recipes-graphics/mesa/mesa-tools-native.bb +1
-1-DEPENDS += "libclc-native spirv-tools-native spirv-llvm-translator-native" +DEPENDS += "libclc-native spirv-tools-native spirv-llvm-translator-native libdrm-native"This is not seen on the autobuilder, so what is the configuration that triggers it?
It is triggered when DISTRO_FEATURES contains opengl, but not contains "x11 wayland". Now, poky enable opengl x11 wayland by default.
//Changqing
Quoted 1 line
Alex
PATCH 1/1 mesa-tools-native: fix do_compile failure
This patch is breaking builds for eglfs backend ( one without X11 or wayland ) Ideally, this should be added by checking DISTRO_FEATURES_NATIVE for opengl maybe, but the said patch is fine as well.
Please cherry-pick this patch for master
Thanks
-Khem
PATCH 1/1 mesa-tools-native: fix do_compile failure
In reply to Changqing LiI meant to day, this patch is needed, its not breaking anything :)
Thanks
-Khem