forked from pool/boost
Accepting request 241888 from home:fcrozat:branches:devel:libraries:c_c++
- use only JOBS=2 to avoid gcc being killed with OOM when memory is between 4G and 7G. OBS-URL: https://build.opensuse.org/request/show/241888 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=131
This commit is contained in:
parent
120d7907b2
commit
efb221eab7
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 22 12:22:13 UTC 2014 - fcrozat@suse.com
|
||||
|
||||
- use only JOBS=2 to avoid gcc being killed with OOM when memory is
|
||||
between 4G and 7G.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 29 14:34:41 UTC 2014 - dvaleev@suse.com
|
||||
|
||||
|
@ -466,6 +466,9 @@ Mem=$(grep MemTotal /proc/meminfo | awk '{print $2}')
|
||||
# require 4G for parallel build
|
||||
if test "$Mem" -lt 4000000; then
|
||||
JOBS=1
|
||||
elif test "$Mem" -lt 7000000; then
|
||||
# lower number of jobs if memory is less than 7G but more than 4G
|
||||
JOBS=2
|
||||
fi
|
||||
if test "$JOBS" = 0; then
|
||||
JOBS=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user