Browse Source

tests: Only fetch $cpu repos in parallel

* Avoid repo/git fetch errors by being less agressive.
4.4-kitkat
Kyle Manna 7 years ago
parent
commit
723adaac52
  1. 2
      tests/build-kitkat.sh

2
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

Loading…
Cancel
Save