[jhbuild] git should use only 1 thread for cloning jhbuild
authorossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Mar 2015 12:21:38 +0000 (12:21 +0000)
committerossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Mar 2015 12:21:38 +0000 (12:21 +0000)
https://bugs.webkit.org/show_bug.cgi?id=143095

Reviewed by Gyuyoung Kim.

* jhbuild/jhbuild-wrapper:
(clone_jhbuild):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182007 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/jhbuild/jhbuild-wrapper

index 9b284eb..04af796 100644 (file)
@@ -1,3 +1,13 @@
+2015-03-26  Csaba Osztrogon√°c  <ossy@webkit.org>
+
+        [jhbuild] git should use only 1 thread for cloning jhbuild
+        https://bugs.webkit.org/show_bug.cgi?id=143095
+
+        Reviewed by Gyuyoung Kim.
+
+        * jhbuild/jhbuild-wrapper:
+        (clone_jhbuild):
+
 2015-03-25  Joseph Pecoraro  <pecoraro@apple.com>
 
         Update prepare-ChangeLog to work with ES6 Class syntax
index a581ac5..0ff685b 100755 (executable)
@@ -81,7 +81,8 @@ def clone_jhbuild():
     if not os.path.exists(installation_prefix):
         os.makedirs(installation_prefix)
 
-    process = subprocess.Popen(['git', 'clone', 'git://git.gnome.org/jhbuild'], cwd=source_path)
+    # Use only 1 thread to workaround a QEMU bug - see http://webkit.org/b/143095 for details.
+    process = subprocess.Popen(['git', 'clone', '--config', 'pack.threads=1', 'git://git.gnome.org/jhbuild'], cwd=source_path)
     process.wait()
     if process.returncode != 0:
         raise Exception('jhbuild git clone failed with return code: %i' % process.returncode)