1
0
forked from pool/virtualbox

- 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
This commit is contained in:
Larry Finger 2016-10-13 16:15:22 +00:00 committed by Git OBS Bridge
parent 7b412c0be3
commit 28295250eb
2 changed files with 9 additions and 6 deletions

View File

@ -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

View File

@ -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