From fb97ea447f60422f08071e7583e1010f57385ac3 Mon Sep 17 00:00:00 2001 From: Radius Date: Sat, 29 Aug 2015 04:24:40 +0100 Subject: [PATCH] fix buildbot using more than 4 threads --- libretro-buildbot-recipe.sh | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/libretro-buildbot-recipe.sh b/libretro-buildbot-recipe.sh index df95a4f5..88b3a574 100755 --- a/libretro-buildbot-recipe.sh +++ b/libretro-buildbot-recipe.sh @@ -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