diff options
author | Ross Burton <ross.burton@intel.com> | 2020-02-03 12:32:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-04 15:56:29 +0000 |
commit | 3161eecefcbd0eb4373520f9719353fec5fada93 (patch) | |
tree | c1b811f2847ec42191ae54acad3cb36890287028 /meta/recipes-graphics/piglit/piglit_git.bb | |
parent | cf7090d481f942d00dc7026f90798f899641da92 (diff) | |
download | poky-3161eecefcbd0eb4373520f9719353fec5fada93.tar.gz |
piglit: don't stage the test suite
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.
(From OE-Core rev: 9cc4dc9cc951157e6e374192c88369432ae5cff1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/piglit/piglit_git.bb')
-rw-r--r-- | meta/recipes-graphics/piglit/piglit_git.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index d0d8331697..58d10d6b9b 100644 --- a/meta/recipes-graphics/piglit/piglit_git.bb +++ b/meta/recipes-graphics/piglit/piglit_git.bb | |||
@@ -44,6 +44,7 @@ do_configure_prepend() { | |||
44 | fi | 44 | fi |
45 | } | 45 | } |
46 | 46 | ||
47 | # Forcibly strip because Piglit is *huge* | ||
47 | OECMAKE_TARGET_INSTALL = "install/strip" | 48 | OECMAKE_TARGET_INSTALL = "install/strip" |
48 | 49 | ||
49 | RDEPENDS_${PN} = "waffle waffle-bin python3 python3-mako python3-json \ | 50 | RDEPENDS_${PN} = "waffle waffle-bin python3 python3-mako python3-json \ |
@@ -55,5 +56,9 @@ RDEPENDS_${PN} = "waffle waffle-bin python3 python3-mako python3-json \ | |||
55 | 56 | ||
56 | INSANE_SKIP_${PN} += "dev-so already-stripped" | 57 | INSANE_SKIP_${PN} += "dev-so already-stripped" |
57 | 58 | ||
59 | # As nothing builds against Piglit we don't need to have anything in the | ||
60 | # sysroot, especially when this is ~2GB of test suite | ||
61 | SYSROOT_DIRS_remove = "${libdir}" | ||
62 | |||
58 | # Can't be built with ccache | 63 | # Can't be built with ccache |
59 | CCACHE_DISABLE = "1" | 64 | CCACHE_DISABLE = "1" |