even more reduce paralilism
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=9
This commit is contained in:
parent
5ec8fed7c4
commit
516e6367e7
@ -214,6 +214,8 @@ fi
|
|||||||
# parallel build of modules
|
# parallel build of modules
|
||||||
# it makes sense on machines with more CPUs
|
# it makes sense on machines with more CPUs
|
||||||
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
||||||
|
# again reduce to 64 CPUs because of dmake
|
||||||
|
test "$num_cpus" -gt "64" && num_cpus="64" && echo "Warning: dmake does not support more than 64 processes => reducing number of used cpus"
|
||||||
# allow only 2 modules if there more jobs allowed in one module
|
# allow only 2 modules if there more jobs allowed in one module
|
||||||
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
||||||
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
||||||
|
@ -210,6 +210,8 @@ fi
|
|||||||
# parallel build of modules
|
# parallel build of modules
|
||||||
# it makes sense on machines with more CPUs
|
# it makes sense on machines with more CPUs
|
||||||
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
||||||
|
# again reduce to 64 CPUs because of dmake
|
||||||
|
test "$num_cpus" -gt "64" && num_cpus="64" && echo "Warning: dmake does not support more than 64 processes => reducing number of used cpus"
|
||||||
# allow only 2 modules if there more jobs allowed in one module
|
# allow only 2 modules if there more jobs allowed in one module
|
||||||
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
||||||
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
||||||
|
@ -309,6 +309,8 @@ fi
|
|||||||
# parallel build of modules
|
# parallel build of modules
|
||||||
# it makes sense on machines with more CPUs
|
# it makes sense on machines with more CPUs
|
||||||
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
||||||
|
# again reduce to 64 CPUs because of dmake
|
||||||
|
test "$num_cpus" -gt "64" && num_cpus="64" && echo "Warning: dmake does not support more than 64 processes => reducing number of used cpus"
|
||||||
# allow only 2 modules if there more jobs allowed in one module
|
# allow only 2 modules if there more jobs allowed in one module
|
||||||
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
||||||
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
||||||
|
@ -327,6 +327,8 @@ fi
|
|||||||
# parallel build of modules
|
# parallel build of modules
|
||||||
# it makes sense on machines with more CPUs
|
# it makes sense on machines with more CPUs
|
||||||
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
||||||
|
# again reduce to 64 CPUs because of dmake
|
||||||
|
test "$num_cpus" -gt "64" && num_cpus="64" && echo "Warning: dmake does not support more than 64 processes => reducing number of used cpus"
|
||||||
# allow only 2 modules if there more jobs allowed in one module
|
# allow only 2 modules if there more jobs allowed in one module
|
||||||
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
||||||
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
||||||
|
@ -366,6 +366,8 @@ fi
|
|||||||
# parallel build of modules
|
# parallel build of modules
|
||||||
# it makes sense on machines with more CPUs
|
# it makes sense on machines with more CPUs
|
||||||
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
||||||
|
# again reduce to 64 CPUs because of dmake
|
||||||
|
test "$num_cpus" -gt "64" && num_cpus="64" && echo "Warning: dmake does not support more than 64 processes => reducing number of used cpus"
|
||||||
# allow only 2 modules if there more jobs allowed in one module
|
# allow only 2 modules if there more jobs allowed in one module
|
||||||
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
||||||
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
||||||
|
@ -300,6 +300,8 @@ fi
|
|||||||
# parallel build of modules
|
# parallel build of modules
|
||||||
# it makes sense on machines with more CPUs
|
# it makes sense on machines with more CPUs
|
||||||
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
||||||
|
# again reduce to 64 CPUs because of dmake
|
||||||
|
test "$num_cpus" -gt "64" && num_cpus="64" && echo "Warning: dmake does not support more than 64 processes => reducing number of used cpus"
|
||||||
# allow only 2 modules if there more jobs allowed in one module
|
# allow only 2 modules if there more jobs allowed in one module
|
||||||
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
||||||
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
||||||
|
@ -354,6 +354,8 @@ fi
|
|||||||
# parallel build of modules
|
# parallel build of modules
|
||||||
# it makes sense on machines with more CPUs
|
# it makes sense on machines with more CPUs
|
||||||
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
||||||
|
# again reduce to 64 CPUs because of dmake
|
||||||
|
test "$num_cpus" -gt "64" && num_cpus="64" && echo "Warning: dmake does not support more than 64 processes => reducing number of used cpus"
|
||||||
# allow only 2 modules if there more jobs allowed in one module
|
# allow only 2 modules if there more jobs allowed in one module
|
||||||
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
||||||
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
||||||
|
@ -186,6 +186,8 @@ fi
|
|||||||
# parallel build of modules
|
# parallel build of modules
|
||||||
# it makes sense on machines with more CPUs
|
# it makes sense on machines with more CPUs
|
||||||
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
||||||
|
# again reduce to 64 CPUs because of dmake
|
||||||
|
test "$num_cpus" -gt "64" && num_cpus="64" && echo "Warning: dmake does not support more than 64 processes => reducing number of used cpus"
|
||||||
# allow only 2 modules if there more jobs allowed in one module
|
# allow only 2 modules if there more jobs allowed in one module
|
||||||
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
||||||
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
||||||
|
@ -1412,6 +1412,8 @@ fi
|
|||||||
# parallel build of modules
|
# parallel build of modules
|
||||||
# it makes sense on machines with more CPUs
|
# it makes sense on machines with more CPUs
|
||||||
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
num_cpus=`grep ^processor /proc/cpuinfo | wc -l`
|
||||||
|
# again reduce to 64 CPUs because of dmake
|
||||||
|
test "$num_cpus" -gt "64" && num_cpus="64" && echo "Warning: dmake does not support more than 64 processes => reducing number of used cpus"
|
||||||
# allow only 2 modules if there more jobs allowed in one module
|
# allow only 2 modules if there more jobs allowed in one module
|
||||||
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
test -n "$lo_jobs" -a "$lo_jobs" -gt 1 && num_cpus="2"
|
||||||
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
PARALLEL_BUILD="$PARALLEL_BUILD --with-num-cpus=$num_cpus"
|
||||||
|
Loading…
Reference in New Issue
Block a user