Received: from eggs.gnu.org ([2001:4830:134:3::10]:35049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXZRa-0005PA-Je for qemu-devel@nongnu.org; Fri, 26 Sep 2014 13:36:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXZRW-0003kE-8K for qemu-devel@nongnu.org; Fri, 26 Sep 2014 13:36:34 -0400 From: Michael Tokarev Date: Fri, 26 Sep 2014 21:36:08 +0400 Message-Id: <1411752976-29051-5-git-send-email-mjt@msgid.tls.msk.ru> In-Reply-To: <1411752976-29051-1-git-send-email-mjt@tls.msk.ru> References: <1411752976-29051-1-git-send-email-mjt@tls.msk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 04/12] .travis.yml: pre-seed sub-modules for speed List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Michael Tokarev , =?UTF-8?q?Alex=20Benn=C3=A9e?= From: Alex Benn=C3=A9e 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. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Alexander Graf Reviewed-by: Brian Jackson Signed-off-by: Michael Tokarev --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index f113339..b9025be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,11 @@ env: - TARGETS=3Dunicore32-softmmu,unicore32-linux-user # Group remaining softmmu only targets into one build - TARGETS=3Dlm32-softmmu,moxie-softmmu,tricore-softmmu,xtensa-softmm= u,xtensaeb-softmmu +git: + # we want to do this ourselves + submodules: false before_install: + - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-s= eed.tar.xz | tar -xvJ - git submodule update --init --recursive - sudo apt-get update -qq - sudo apt-get install -qq ${CORE_PKGS} ${NET_PKGS} ${GUI_PKGS} ${EXTR= A_PKGS} --=20 1.7.10.4