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'])
 


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'])
 
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to