From: Stephen Rothwell Date: Fri, 5 Nov 2021 03:34:35 +0000 (+1100) Subject: do_last_build: so the powerpc allyesconfig build in parallel X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=3fb9412d415afb39ccb92d2e3bf324130e17c276;p=next-scripts do_last_build: so the powerpc allyesconfig build in parallel --- diff --git a/do_last_build b/do_last_build index 7c67135..5c70f08 100755 --- a/do_last_build +++ b/do_last_build @@ -8,6 +8,8 @@ cmd="/bin/sh" [ "$build_host" ] && cmd="ssh root@$build_host unshare -n su $(id -u -n)" +j_factor=$(( j_factor / 2 )) + $cmd <<-EOF set -e @@ -21,6 +23,13 @@ $cmd <<-EOF touch .scmversion + echo Building: powerpc allyesconfig + d=../powerpc_allyesconfig + [ -d \$d ] || mkdir \$d + make ARCH=powerpc -s O=\$d allyesconfig + printf 'Backgrouding the %s build\n' 'powerpc_allyesconfig' + make ARCH=powerpc O=\$d -j$j_factor -O -s -k >\$d.log 2>&1