From: "Alex Bennée" <alex.bennee@linaro.org>
To: qemu-trivial@nongnu.org
Cc: iggy@theiggy.com, peter.maydell@linaro.org,
"Alex Bennée" <alex.bennee@linaro.org>,
qemu-devel@nongnu.org, agraf@suse.de
Subject: [Qemu-devel] [PATCH v3 3/4] .travis.yml: pre-seed sub-modules for speed
Date: Fri, 26 Sep 2014 19:31:38 +0100 [thread overview]
Message-ID: <1411756299-15428-4-git-send-email-alex.bennee@linaro.org> (raw)
In-Reply-To: <1411756299-15428-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>
Reviewed-by: Brian Jackson <iggy@theiggy.com>
---
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}
--
2.1.0
next prev parent reply other threads:[~2014-09-26 18:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-26 18:31 [Qemu-devel] [PATCH v3 0/4] A number of Travis CI tweaks Alex Bennée
2014-09-26 18:31 ` [Qemu-devel] [PATCH v3 1/4] .travis.yml: add more linux-user to the build matrix Alex Bennée
2014-09-26 18:31 ` [Qemu-devel] [PATCH v3 2/4] .travis.yml: make the make slightly more parallel Alex Bennée
2014-09-26 18:31 ` Alex Bennée [this message]
2014-09-26 18:31 ` [Qemu-devel] [PATCH v3 4/4] .travis.yml: remove "make check" from main matrix Alex Bennée
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=1411756299-15428-4-git-send-email-alex.bennee@linaro.org \
--to=alex.bennee@linaro.org \
--cc=agraf@suse.de \
--cc=iggy@theiggy.com \
--cc=peter.maydell@linaro.org \
--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).