From d81c89561094589dcd0bfe5cbddd09f95138693f Mon Sep 17 00:00:00 2001 From: Pavel Lobashov Date: Thu, 5 Jul 2018 17:21:57 +0300 Subject: [PATCH] Add --no-historyt to `gclient-sync` Greatly reduce time to fetch v8 sources. Time to execute `gclient-sync` Default varinant `real 21m2.279s` With `--no-history` - `real 0m53.638s` --- Common/3dParty/v8/fetch.bat | 2 +- Common/3dParty/v8/fetch.sh | 2 +- Common/3dParty/v8/fetch_linux_correct.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Common/3dParty/v8/fetch.bat b/Common/3dParty/v8/fetch.bat index 1a0bf9c352..cef57eef2e 100644 --- a/Common/3dParty/v8/fetch.bat +++ b/Common/3dParty/v8/fetch.bat @@ -23,4 +23,4 @@ cd v8 call git checkout -b 6.0 -t branch-heads/6.0 cd ../ -call gclient sync +call gclient sync --no-history diff --git a/Common/3dParty/v8/fetch.sh b/Common/3dParty/v8/fetch.sh index 527afb5b83..d112514eb5 100755 --- a/Common/3dParty/v8/fetch.sh +++ b/Common/3dParty/v8/fetch.sh @@ -22,7 +22,7 @@ else cd v8 fi -gclient sync +gclient sync --no-history os=$(uname -s) platform="" diff --git a/Common/3dParty/v8/fetch_linux_correct.sh b/Common/3dParty/v8/fetch_linux_correct.sh index 583fce0fd0..a52e79228c 100755 --- a/Common/3dParty/v8/fetch_linux_correct.sh +++ b/Common/3dParty/v8/fetch_linux_correct.sh @@ -13,7 +13,7 @@ if [ -d "$SCRIPTPATH/v8/third_party/binutils/Linux_ia32/Release" ]; then fi cd "$SCRIPTPATH/v8" -gclient sync +gclient sync --no-history if [ -d "$SCRIPTPATH/v8/third_party/binutils/Linux_x64/Release/bin" ]; then cd "$SCRIPTPATH/v8/third_party/binutils/Linux_x64/Release/bin"