[Lldb-commits] [PATCH] D17425: Use shallow clones in build-llvm.py.

Stephane Sezer via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 2 12:58:01 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL262513: Use shallow clones in build-llvm.py. (authored by sas).

Changed prior to commit:
  http://reviews.llvm.org/D17425?vs=48427&id=49663#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D17425

Files:
  lldb/trunk/scripts/Xcode/lldbbuild.py

Index: lldb/trunk/scripts/Xcode/lldbbuild.py
===================================================================
--- lldb/trunk/scripts/Xcode/lldbbuild.py
+++ lldb/trunk/scripts/Xcode/lldbbuild.py
@@ -65,7 +65,7 @@
     def diff (self):
         return run_in_directory(["git", "diff"], self.spec['root'])
     def check_out (self):
-        run_in_directory(["git", "clone", self.spec['url'], self.spec['root']], lldb_source_path())
+        run_in_directory(["git", "clone", "--depth=1", self.spec['url'], self.spec['root']], lldb_source_path())
         run_in_directory(["git", "fetch", "--all"], self.spec['root'])
         run_in_directory(["git", "checkout", self.spec['ref']], self.spec['root'])
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17425.49663.patch
Type: text/x-patch
Size: 706 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160302/283b0150/attachment.bin>


More information about the lldb-commits mailing list