From 723adaac523aa4252c3cd15cf270712af14ec80e Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Sun, 16 Nov 2014 09:44:12 -0800 Subject: [PATCH] tests: Only fetch $cpu repos in parallel * Avoid repo/git fetch errors by being less agressive. --- tests/build-kitkat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/build-kitkat.sh b/tests/build-kitkat.sh index c660bd2..93aecbc 100755 --- a/tests/build-kitkat.sh +++ b/tests/build-kitkat.sh @@ -9,7 +9,7 @@ if [ "$1" = "docker" ]; then cpus=$(grep ^processor /proc/cpuinfo | wc -l) repo init -u https://android.googlesource.com/platform/manifest -b $branch - repo sync -j $(($cpus * 2)) + repo sync -j $cpus prebuilts/misc/linux-x86/ccache/ccache -M 10G