qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: qemu-trivial@nongnu.org
Cc: "Alex Bennée" <alex.bennee@linaro.org>,
	qemu-devel@nongnu.org, agraf@suse.de
Subject: [Qemu-devel] [PATCH v2 3/4] .travis.yml: pre-seed sub-modules for speed
Date: Wed, 24 Sep 2014 11:13:55 +0100	[thread overview]
Message-ID: <1411553636-24717-4-git-send-email-alex.bennee@linaro.org> (raw)
In-Reply-To: <1411553636-24717-1-git-send-email-alex.bennee@linaro.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 <alex.bennee@linaro.org>
Reviewed-by: Alexander Graf <agraf@suse.de>

---
v2
  - use wget -O - | tar as suggested by agraf

diff --git a/.travis.yml b/.travis.yml
index f113339..b9025be 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}
-- 
2.1.0

  parent reply	other threads:[~2014-09-24 10:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-24 10:13 [Qemu-devel] [PATCH v2 0/4] A number of Travis CI tweaks Alex Bennée
2014-09-24 10:13 ` [Qemu-devel] [PATCH v2 1/4] .travis.yml: add more linux-user to the build matrix Alex Bennée
2014-09-24 15:08   ` Brian Jackson
2014-09-24 10:13 ` [Qemu-devel] [PATCH v2 2/4] .travis.yml: make the make slightly more parallel Alex Bennée
2014-09-24 15:10   ` Brian Jackson
2014-09-24 10:13 ` Alex Bennée [this message]
2014-09-24 15:11   ` [Qemu-devel] [PATCH v2 3/4] .travis.yml: pre-seed sub-modules for speed Brian Jackson
2014-09-24 10:13 ` [Qemu-devel] [PATCH v2 4/4] .travis.yml: remove "make check" from main matrix Alex Bennée
2014-09-24 15:13   ` Brian Jackson
2014-09-26 17:05 ` [Qemu-devel] [Qemu-trivial] [PATCH v2 0/4] A number of Travis CI tweaks Michael Tokarev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1411553636-24717-4-git-send-email-alex.bennee@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=agraf@suse.de \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).