8013920: Configure sets JOBS to 0 if memory is too low
Reviewed-by: tbell
This commit is contained in:
parent
22e500e3a9
commit
9a45525272
common/autoconf
@ -145,6 +145,9 @@ AC_DEFUN_ONCE([BPERF_SETUP_BUILD_JOBS],
|
||||
if test "$JOBS" -gt "16"; then
|
||||
JOBS=16
|
||||
fi
|
||||
if test "$JOBS" -eq "0"; then
|
||||
JOBS=1
|
||||
fi
|
||||
AC_MSG_RESULT([$JOBS])
|
||||
else
|
||||
JOBS=$with_jobs
|
||||
|
@ -3780,7 +3780,7 @@ fi
|
||||
#CUSTOM_AUTOCONF_INCLUDE
|
||||
|
||||
# Do not change or remove the following line, it is needed for consistency checks:
|
||||
DATE_WHEN_GENERATED=1369723814
|
||||
DATE_WHEN_GENERATED=1369828684
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
@ -32933,6 +32933,9 @@ $as_echo_n "checking for appropriate number of jobs to run in parallel... " >&6;
|
||||
if test "$JOBS" -gt "16"; then
|
||||
JOBS=16
|
||||
fi
|
||||
if test "$JOBS" -eq "0"; then
|
||||
JOBS=1
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $JOBS" >&5
|
||||
$as_echo "$JOBS" >&6; }
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user