summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2022-01-31 13:54:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-09 23:15:15 +0000
commitd7216047322a47e6d621bd1e9d9ee47246cb9802 (patch)
tree2fb6569921cd0ab7f346ae0f179abb5d691ee510
parent1e15c20045894c3e00c50574284833b2fb1799bc (diff)
downloadpoky-d7216047322a47e6d621bd1e9d9ee47246cb9802.tar.gz
core-image-sato-sdk: allocate more memory when in qemu
Compiling code is memory-intensive, especially kernel modules like the SystemTap probes, so give the VM 768MB of RAM. Using 1GB appears to cause PCI error, interestingly. Hopefully this solves the intermittent failures caused by OOMs during the SystemTap test. [ YOCTO #14673 ] (From OE-Core rev: 593a10c37f7928ce4714dd16bd26dc0cb56446e9) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 50ff1f018a670c963e1979dee76ebd696153b4c1) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-sato/images/core-image-sato-sdk.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-sato/images/core-image-sato-sdk.bb b/meta/recipes-sato/images/core-image-sato-sdk.bb
index b52de0def0..afab473b52 100644
--- a/meta/recipes-sato/images/core-image-sato-sdk.bb
+++ b/meta/recipes-sato/images/core-image-sato-sdk.bb
@@ -10,3 +10,6 @@ IMAGE_FEATURES += "dev-pkgs tools-sdk \
10 10
11IMAGE_INSTALL += "kernel-devsrc" 11IMAGE_INSTALL += "kernel-devsrc"
12 12
13# Compiling stuff, specifically SystemTap probes, can require lots of memory
14# See https://bugzilla.yoctoproject.org/show_bug.cgi?id=14673
15QB_MEM = "-m 768"