tce-load -i compiletc Xorg-7.7-dev llvm-dev libvdpau-dev libdrm-dev libva-dev wayland-dev wayland-protocols libclc-dev python-mako elfutils-dev clang cd mesa-18.0.0 sudo cp /tmp/tcloop/llvm-dev/usr/local/bin/llvm-config /usr/local/bin CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -D_GLIBCXX_USE_C99_MATH" ./configure --prefix=/usr/local -disable-static --localstatedir=/var --sysconfdir=/etc --enable-texture-float --enable-osmesa --enable-xa --enable-glx-tls --with-platforms="drm,wayland,surfaceless,x11" --with-gallium-drivers="i915,nouveau,r300,r600,radeonsi,svga,swrast,swr" --with-vulkan-drivers="intel,radeon" --enable-opencl --enable-opencl-icd [-fno-exceptions -fno-rtti fails with opencl] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [31m 8.13s] sudo make install prefix: /usr/local exec_prefix: ${prefix} libdir: ${exec_prefix}/lib includedir: ${prefix}/include OpenGL: yes (ES1: yes ES2: yes) OSMesa: libOSMesa DRI platform: drm DRI drivers: i915 i965 nouveau r200 radeon swrast DRI driver dir: ${libdir}/dri GLX: DRI-based EGL: yes EGL drivers: builtin:egl_dri2 builtin:egl_dri3 GBM: yes EGL/Vulkan/VL platforms: drm wayland surfaceless x11 Vulkan drivers: intel radeon Vulkan ICD dir: ${datarootdir}/vulkan/icd.d llvm: yes llvm-config: /usr/local/bin/llvm-config llvm-version: 6.0.0 Gallium drivers: i915 nouveau r300 r600 radeonsi svga swrast swr Gallium st: mesa xa xvmc vdpau va clover HUD extra stats: no HUD lmsensors: no SWR archs: avx avx2 Shared libs: yes Static libs: no Shared-glapi: yes CFLAGS: -g -O2 -Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -Wmissing-prototypes -fno-math-errno -fno-trapping-math -std=c99 CXXFLAGS: -g -O2 -Wall -fno-math-errno -fno-trapping-math CXX11_CXXFLAGS: LDFLAGS: Macros: -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_STRTOD_L -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_ZLIB -DHAVE_LINUX_FUTEX_H -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_DRM_PLATFORM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_SURFACELESS_PLATFORM -DHAVE_X11_PLATFORM -DHAVE_DRI3 -DENABLE_SHADER_CACHE -DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0600 -DMESA_LLVM_VERSION_PATCH=0 LLVM_CFLAGS: -I/usr/local/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS LLVM_CXXFLAGS: -I/usr/local/include -std=c++11 -pipe -D_GLIBCXX_USE_C99_MATH -fno-rtti -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS LLVM_CPPFLAGS: -I/usr/local/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS LLVM_LDFLAGS: -L/usr/local/lib PYTHON2: python2.7