From patchwork Fri Sep 26 18:31:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 393899 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5AFE9140188 for ; Sat, 27 Sep 2014 04:32:39 +1000 (EST) Received: from localhost ([::1]:50761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXaJp-0005ng-Gg for incoming@patchwork.ozlabs.org; Fri, 26 Sep 2014 14:32:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXaJI-0004qp-A0 for qemu-devel@nongnu.org; Fri, 26 Sep 2014 14:32:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXaJE-0002lF-59 for qemu-devel@nongnu.org; Fri, 26 Sep 2014 14:32:04 -0400 Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:36683 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXaJ3-0002im-Tx; Fri, 26 Sep 2014 14:31:50 -0400 Received: from localhost ([127.0.0.1] helo=zen.linaro.local) by socrates.bennee.com with esmtp (Exim 4.80) (envelope-from ) id 1XXagX-0004kU-Q5; Fri, 26 Sep 2014 20:56:05 +0200 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-trivial@nongnu.org Date: Fri, 26 Sep 2014 19:31:38 +0100 Message-Id: <1411756299-15428-4-git-send-email-alex.bennee@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1411756299-15428-1-git-send-email-alex.bennee@linaro.org> References: <1411756299-15428-1-git-send-email-alex.bennee@linaro.org> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: alex.bennee@linaro.org X-SA-Exim-Scanned: No (on socrates.bennee.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 88.198.71.155 Cc: iggy@theiggy.com, peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org, agraf@suse.de Subject: [Qemu-devel] [PATCH v3 3/4] .travis.yml: pre-seed sub-modules for speed X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 Reviewed-by: Alexander Graf Reviewed-by: Brian Jackson --- v2 - use wget -O - | tar as suggested by agraf diff --git a/.travis.yml b/.travis.yml index 57cb95e..e927da2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,11 @@ 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 -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.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} ${EXTRA_PKGS}