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 libvulkan-dev llvm-19-dev sudo pip install mako pyyaml sudo cp /tmp/tcloop/llvm19-dev/usr/local/bin/llvm-config /usr/local/bin wget https://archive.mesa3d.org//mesa-24.2.5.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 -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -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 [10m 53.82s] sudo ninja install