]> code.ossystems Code Review - openembedded-core.git/commitdiff
piglit: don't stage the test suite
authorRoss Burton <ross.burton@intel.com>
Mon, 3 Feb 2020 12:32:25 +0000 (12:32 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Feb 2020 15:56:24 +0000 (15:56 +0000)
The Piglit test suite is approximately 2GB and because it's installed into
$libdir is added to the sysroot archive.  Nothing links against Piglit so
there's no reason for this, so remove $libdir from Piglit's sysroot.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/piglit/piglit_git.bb

index d0d833169779a305a31eaaad2206532113399182..58d10d6b9b111cb644b89c23eea4e432b69828cb 100644 (file)
@@ -44,6 +44,7 @@ do_configure_prepend() {
    fi
 }
 
+# Forcibly strip because Piglit is *huge*
 OECMAKE_TARGET_INSTALL = "install/strip"
 
 RDEPENDS_${PN} = "waffle waffle-bin python3 python3-mako python3-json \
@@ -55,5 +56,9 @@ RDEPENDS_${PN} = "waffle waffle-bin python3 python3-mako python3-json \
 
 INSANE_SKIP_${PN} += "dev-so already-stripped"
 
+# As nothing builds against Piglit we don't need to have anything in the
+# sysroot, especially when this is ~2GB of test suite
+SYSROOT_DIRS_remove = "${libdir}"
+
 # Can't be built with ccache
 CCACHE_DISABLE = "1"