mirror of
https://github.com/kylemanna/docker-aosp
synced 2026-08-22 13:53:00 +00:00
tests: Only fetch $cpu repos in parallel
* Avoid repo/git fetch errors by being less agressive.
This commit is contained in:
@@ -9,7 +9,7 @@ if [ "$1" = "docker" ]; then
|
|||||||
cpus=$(grep ^processor /proc/cpuinfo | wc -l)
|
cpus=$(grep ^processor /proc/cpuinfo | wc -l)
|
||||||
|
|
||||||
repo init -u https://android.googlesource.com/platform/manifest -b $branch
|
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
|
prebuilts/misc/linux-x86/ccache/ccache -M 10G
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user