fix buildbot using more than 4 threads

This commit is contained in:
Radius 2015-08-29 04:24:40 +01:00
parent fc11dfe771
commit fb97ea447f

View File

@ -1,4 +1,3 @@
# vim: set ts=3 sw=3 noet ft=sh : bash
####usage:
@ -16,13 +15,6 @@ LOGDATE=`date +%Y-%m-%d`
echo $LOGDATE $BOT $FORCE $JOBS
if [ -z "JOBS" ]; then
JOBS=4
fi
OLDJ=$JOBS
ORIGPATH=$PATH
WORK=$PWD
OLDFORCE=YES
@ -46,6 +38,15 @@ echo
. $WORK/libretro-config.sh
if [ -z "$JOBS" ]; then
JOBS=4
fi
OLDJ=$JOBS
echo $JOBS
echo
[[ "${ARM_NEON}" ]] && echo 'ARM NEON opts enabled...' && export FORMAT_COMPILER_TARGET="${FORMAT_COMPILER_TARGET}-neon"
[[ "${CORTEX_A8}" ]] && echo 'Cortex A8 opts enabled...' && export FORMAT_COMPILER_TARGET="${FORMAT_COMPILER_TARGET}-cortexa8"
@ -204,6 +205,8 @@ build_libretro_generic_makefile() {
cd $SUBDIR
OLDJ=$JOBS
echo BUILDBOT THREADS: $JOBS
if [ "${NAME}" = "mame078" ]; then
JOBS=1
fi