--- /var/package-manager/portage/media-libs/mesa/mesa-10.1.1.ebuild 2014-05-01 14:01:23.000000000 +0400 +++ mesa-10.1.1.ebuild 2014-05-10 12:48:55.000000000 +0400 @@ -14,7 +14,7 @@ PYTHON_COMPAT=( python{2_6,2_7} ) inherit base autotools multilib multilib-minimal flag-o-matic \ - python-any-r1 toolchain-funcs ${GIT_ECLASS} + python-any-r1 toolchain-funcs pax-utils ${GIT_ECLASS} OPENGL_DIR="xorg-x11" @@ -413,6 +413,13 @@ } multilib_src_test() { + if use llvm; then + local llvm_tests='lp_test_arit lp_test_arit lp_test_blend lp_test_blend lp_test_conv lp_test_conv lp_test_format lp_test_format lp_test_printf lp_test_printf' + pushd src/gallium/drivers/llvmpipe >/dev/null || die + emake ${llvm_tests} + pax-mark m ${llvm_tests} + popd >/dev/null || die + fi emake check }