tce-load -i compiletc meson libdrm-dev wayland-dev wayland-protocols libXvmc-dev libXdamage-dev libxshmfence-dev libXxf86vm-dev libXrandr-dev gettext libelf-dev zstd-dev glslang python3.11-pip llvm19-dev sudo cp -rp /tmp/tcloop/llvm19-dev/usr/local/bin/llvm-config /usr/local/bin sudo pip install mako pyyaml wget https://archive.mesa3d.org//mesa-24.2.45.tar.xz wget https://www.linuxfromscratch.org/patches/blfs/svn/mesa-add_xdemos-3.patch cd mesa-24.2.5 patch -Np1 -i ../mesa-add_xdemos-3.patch mkdir build cd build CC="gcc -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -DNDEBUG" meson --prefix=/usr/local --buildtype=plain -Dvalgrind=disabled -Dplatforms="x11,wayland"£ -Dgallium-drivers="vc4,v3d,virgl,llvmpipe" -Dvulkan-drivers="broadcom,swrast" ../ [-fno-rtti fails] ninja [26m 13.20s] sudo ninja install mesa 24.2.5 Directories prefix : /usr/local libdir : lib includedir : include Common C and C++ arguments c_cpp_args : -mtls-dialect=desc OpenGL OpenGL : YES ES1 : YES ES2 : YES Shared glapi : YES GLVND : NO DRI Platform : drm Driver dir : /usr/local/lib/dri GLX Enabled : YES Provider : dri EGL Enabled : YES Drivers : builtin:egl_dri2 builtin:egl_dri3 Platforms : x11 wayland surfaceless drm xcb GBM Enabled : YES Backends path : /usr/local/lib/gbm Vulkan Drivers : broadcom swrast Platforms : x11 wayland surfaceless drm xcb ICD dir : share/vulkan/icd.d Intel Ray tracing : NO Video Codecs : av1dec av1enc vp9dec APIs : vulkan LLVM Enabled : YES Version : 19.1.0 Gallium Enabled : YES Drivers : vc4 v3d virgl llvmpipe Platforms : x11 wayland surfaceless drm xcb Frontends : mesa Off-screen rendering (OSMesa): NO HUD lm-sensors : NO Perfetto Enabled : NO Teflon (TensorFlow Lite delegate) Enabled : NO User defined options buildtype : plain prefix : /usr/local gallium-drivers : vc4,v3d,virgl,llvmpipe platforms : x11,wayland valgrind : disabled vulkan-drivers : broadcom,swrast