From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTZSt-0003oD-9H for qemu-devel@nongnu.org; Mon, 15 Sep 2014 12:49:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTZSo-0001JV-C0 for qemu-devel@nongnu.org; Mon, 15 Sep 2014 12:49:23 -0400 Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:34377 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTZSm-0000qa-6D for qemu-devel@nongnu.org; Mon, 15 Sep 2014 12:49:18 -0400 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Mon, 15 Sep 2014 17:48:10 +0100 Message-Id: <1410799691-1226-4-git-send-email-alex.bennee@linaro.org> In-Reply-To: <1410799691-1226-1-git-send-email-alex.bennee@linaro.org> References: <1410799691-1226-1-git-send-email-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [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: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=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ée diff --git a/.travis.yml b/.travis.yml index f113339..8df02a4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,12 @@ env: - TARGETS=unicore32-softmmu,unicore32-linux-user # Group remaining softmmu only targets into one build - TARGETS=lm32-softmmu,moxie-softmmu,tricore-softmmu,xtensa-softmmu,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 - git submodule update --init --recursive - sudo apt-get update -qq - sudo apt-get install -qq ${CORE_PKGS} ${NET_PKGS} ${GUI_PKGS} ${EXTRA_PKGS} -- 1.9.1