From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWNTF-0007TK-4K for qemu-devel@nongnu.org; Tue, 23 Sep 2014 06:37:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWNT9-0001tU-7J for qemu-devel@nongnu.org; Tue, 23 Sep 2014 06:37:21 -0400 Received: from cantor2.suse.de ([195.135.220.15]:43414 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWNT9-0001t2-0w for qemu-devel@nongnu.org; Tue, 23 Sep 2014 06:37:15 -0400 Message-ID: <54214D56.1090809@suse.de> Date: Tue, 23 Sep 2014 12:37:10 +0200 From: Alexander Graf MIME-Version: 1.0 References: <1410799691-1226-1-git-send-email-alex.bennee@linaro.org> <1410799691-1226-4-git-send-email-alex.bennee@linaro.org> In-Reply-To: <1410799691-1226-4-git-send-email-alex.bennee@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 3/4] .travis.yml: pre-seed sub-modules for speed List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QWxleCBCZW5uw6ll?= , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org On 15.09.14 18:48, Alex Benn=C3=A9e wrote: > A significant portion of the build time is spent initialising all the > sub-modules we use in the source tree. Often this is almost as long as > the build itself. By pre-seeding the .git/modules tree this will > hopefully improve things. >=20 > Signed-off-by: Alex Benn=C3=A9e >=20 > diff --git a/.travis.yml b/.travis.yml > index f113339..8df02a4 100644 > --- a/.travis.yml > +++ b/.travis.yml > @@ -37,7 +37,12 @@ env: > - TARGETS=3Dunicore32-softmmu,unicore32-linux-user > # Group remaining softmmu only targets into one build > - TARGETS=3Dlm32-softmmu,moxie-softmmu,tricore-softmmu,xtensa-soft= mmu,xtensaeb-softmmu > +git: > + # we want to do this ourselves > + submodules: false > before_install: > + - wget http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed= .tar.xz > + - tar -xvf qemu-submodule-git-seed.tar.xz wget -O - | tar? > - git submodule update --init --recursive Doesn't this overwrite the code you just downloaded? Alex > - sudo apt-get update -qq > - sudo apt-get install -qq ${CORE_PKGS} ${NET_PKGS} ${GUI_PKGS} ${EX= TRA_PKGS} >=20