From 28295250eb28b31105c4033b39e2adc28f939a191960652925c1842b59aee204 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Thu, 13 Oct 2016 16:15:22 +0000 Subject: [PATCH] - Builds keep running out of memory when building the web server part of the package. To help the memory pressure, I have forced make to run with "-j2", rather than use the number of processors. Such a change will slow the build, but will result in a higher rate of success. OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=278 --- virtualbox.changes | 8 ++++++++ virtualbox.spec | 7 +------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/virtualbox.changes b/virtualbox.changes index ee18d72..70f7f3a 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Oct 13 16:11:14 UTC 2016 - Larry.Finger@lwfinger.net + +- Builds keep running out of memory when building the web server part of the package. + To help the memory pressure, I have forced make to run with "-j2", rather than use + the number of processors. Such a change will slow the build, but will result in a + higher rate of success. + ------------------------------------------------------------------- Wed Oct 12 20:07:16 UTC 2016 - Larry.Finger@lwfinger.net diff --git a/virtualbox.spec b/virtualbox.spec index a921b45..967ec1d 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -422,12 +422,7 @@ for vbox_module in out/linux.*/release/bin/src/vbox{drv,netflt,netadp,pci} \ $PWD/modules_build_dir/$flavor/$module_name fi # build the module for the specific flavor - %ifarch %ix86 - make -j2 \ - %else - make %{?_smp_mflags} \ - %endif - -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules \ + make -j2 -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules \ M=$PWD/modules_build_dir/$flavor/$module_name done done