]> git.ozlabs.org Git - next-scripts/commitdiff
do_build: Report the time builds take
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Jun 2015 05:13:41 +0000 (15:13 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 19 Jun 2015 05:53:13 +0000 (15:53 +1000)
do_build

index 400bb911d7dba71f288d21bb9ef2dd9b70f04b89..3e25833d0d06d656dbe4e31f10a801bd6cec248c 100755 (executable)
--- a/do_build
+++ b/do_build
@@ -25,19 +25,19 @@ ssh root@"$build_host" unshare -n su $(id -u -n) <<-EOF
        d=../powerpc_ppc64_defconfig
        [ -d \$d ] || mkdir \$d
        cross -n -N -a powerpc64 -k powerpc -c $gcc_version O=\$d ppc64_defconfig
-       cross -n -N -a powerpc64 -k powerpc -c $gcc_version O=\$d -j$j_factor -s
+       time cross -n -N -a powerpc64 -k powerpc -c $gcc_version O=\$d -j$j_factor -s
 
        echo Building: x86_64 allmodconfig
        d=../x86_64_allmodconfig
        [ -d \$d ] || mkdir \$d
        cross -n -N -a x86_64 -c $gcc_version O=\$d allmodconfig
-       cross -n -N -a x86_64 -c $gcc_version O=\$d -j$j_factor -s
+       time cross -n -N -a x86_64 -c $gcc_version O=\$d -j$j_factor -s
 
        echo Building: arm multi_v7_defconfig
        d=../arm_multi_v7_defconfig
        [ -d \$d ] || mkdir \$d
        cross -n -N -a arm -c $gcc_version O=\$d multi_v7_defconfig
-       cross -n -N -a arm -c $gcc_version O=\$d -j$j_factor -s
+       time cross -n -N -a arm -c $gcc_version O=\$d -j$j_factor -s
 
        rm .scmversion
 EOF