tce-load -i compiletc meson libdrm-dev wayland-dev wayland-protocols python3.8-mako libXvmc-dev libXdamage-dev libxshmfence-dev libXxf86vm-dev libXrandr-dev gettext libelf-dev llvm15-dev zstd-dev wget https://mesa.freedesktop.org/archive/mesa-23.1.4.tar.xz wget https://www.linuxfromscratch.org/patches/blfs/svn/mesa-add_xdemos-2.patch cd mesa-23.1.4 sudo cp /tmp/tcloop/llvm15-dev/usr/local/bin/* /usr/local/bin patch -Np1 -i ../mesa-add_xdemos-2.patch mkdir build cd build CC="gcc -flto -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -flto -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -DNDEBUG" meson --prefix=/usr/local --buildtype=plain -Dvalgrind=disabled -Dgallium-drivers="vc4,v3d,kmsro,virgl,swrast" -Dvulkan-drivers="broadcom,swrast" ../ [-fno-rtti fails] ninja [22m 43.64s] sudo ninja install mesa 23.1.4 Directories prefix : /usr/local libdir : lib includedir : include Common C and C++ arguments c_cpp_args : -mtls-dialect=gnu2 OpenGL OpenGL : YES ES1 : YES ES2 : YES Shared glapi : YES 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 Video codecs : NO Ray tracing : NO LLVM Enabled : YES Version : 15.0.7 Gallium Enabled : YES Drivers : vc4 v3d kmsro virgl swrast Platforms : x11 wayland surfaceless drm xcb Frontends : mesa Off-screen rendering: NO HUD lm-sensors : NO Perfetto Enabled : NO User defined options buildtype : plain prefix : /usr/local gallium-drivers : vc4,v3d,kmsro,virgl,swrast valgrind : disabled vulkan-drivers : broadcom,swrast