tce-load -i compiletc meson llvm-dev libdrm-dev libva2-dev libvdpau-dev python3.6-mako libXvmc-dev libXdamage-dev libxshmfence-dev libXxf86vm-dev libXrandr-dev gettext elfutils-dev zstd-dev libvulkan-dev wget https://mesa.freedesktop.org/archive/mesa-20.3.1.tar.xz cd mesa-20.3.1 sudo cp /tmp/tcloop/llvm-dev/usr/local/bin/* /usr/local/bin mkdir build cd build CC="gcc -flto -march=pentium-m -mtune=i686 -Os -pipe -DNDEBUG" CXX="g++ -flto -march=pentium-m -mtune=i686 -Os -pipe -DNDEBUG" meson --prefix=/usr/local --buildtype=plain -Dglx=dri -Dosmesa=gallium -Dgallium-nine=false -Dvalgrind=disabled -Dlibunwind=disabled -Dplatforms=x11 ../ [-fno-rtti fails] ninja [22m 16.72s] sudo ninja install Message: Configuration summary: prefix: /usr/local libdir: lib includedir: include OpenGL: yes (ES1: yes ES2: yes) OSMesa: libOSMesa(Gallium) DRI platform: drm DRI drivers: i915 i965 r100 r200 nouveau DRI driver dir: /usr/local/lib/dri GLX: DRI-based EGL: yes EGL drivers: builtin:egl_dri2 builtin:egl_dri3 GBM: yes EGL/Vulkan/VL platforms: x11 wayland surfaceless drm Vulkan drivers: amd intel swrast Vulkan ICD dir: share/vulkan/icd.d llvm: yes llvm-version: 8.0.0 Gallium drivers: r300 r600 radeonsi nouveau virgl svga swrast iris Gallium st: mesa xa xvmc xvmc vdpau va HUD lmsensors: no Shared-glapi: yes