xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Ian Campbell <ian.campbell@citrix.com>
Subject: [OSSTEST PATCH 08/13] rump kernel tests: Do a xen.git tools build
Date: Tue, 15 Jul 2014 16:22:22 +0100	[thread overview]
Message-ID: <1405437747-12753-9-git-send-email-ian.jackson@eu.citrix.com> (raw)
In-Reply-To: <1405437747-12753-1-git-send-email-ian.jackson@eu.citrix.com>

Having laid the groundwork, we can now:

* In make-flight, for the rumpuserxen builds, set the runvars that
  specify which xen.git bits etc. to build.  (We pass qemuu now,
  because we intend that eventually we will want to build that too.)

* In ts-rumpuserxen-build, record the locations of the app-tools
  configure and make wrappers in the runvars which will be honoured by
  ts-xen-build.  Thus ts-xen-build in rumpuserxen build jobs will use
  these app-tools and do a rump cross build.

* Add a ts-xen-build step to the build-rumpuserxen recipe, passing
  `tools' as the target to build.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
 mfi-common           |    4 ++++
 sg-run-job           |    1 +
 ts-rumpuserxen-build |    7 +++++++
 3 files changed, 12 insertions(+)

diff --git a/mfi-common b/mfi-common
index 2055bab..aba0b15 100644
--- a/mfi-common
+++ b/mfi-common
@@ -204,6 +204,10 @@ create_build_jobs () {
                 tree_rumpuserxen=$TREE_RUMPUSERXEN			\
           ${TREEVCS_RUMPUSERXEN:+treevcs_rumpuserxen=}${TREEVCS_RUMPUSERXEN} \
                 revision_rumpuserxen=$REVISION_RUMPUSERXEN		\
+                tree_xen=$TREE_XEN                                           \
+                tree_qemuu=$TREE_QEMU_UPSTREAM                               \
+                revision_xen=$REVISION_XEN                                   \
+                revision_qemuu=$REVISION_QEMU_UPSTREAM                       \
                 tree_rumpuserxen_rumpsrc=$TREE_RUMPUSERXEN_RUMPSRC	\
                 ${TREEVCS_RUMPUSERXEN_RUMPSRC:+treevcs_rumpuserxen_rumpsrc=}${TREEVCS_RUMPUSERXEN_RUMPSRC}
                 # rumpsrc-related runvars needed only for old rumpuser-xen
diff --git a/sg-run-job b/sg-run-job
index b02a755..ab9f333 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -338,6 +338,7 @@ proc run-job/build-libvirt {} {
 
 proc run-job/build-rumpuserxen {} {
     run-ts . = ts-rumpuserxen-build
+    run-ts . = ts-xen-build + host tools
 }
 
 proc prepare-build-host {} {
diff --git a/ts-rumpuserxen-build b/ts-rumpuserxen-build
index a1f31cd..e0b18a7 100755
--- a/ts-rumpuserxen-build
+++ b/ts-rumpuserxen-build
@@ -97,6 +97,12 @@ sub build() {
 END
 }
 
+sub recordtools() {
+    my $apptool = "$rux/app-tools/rumpxen-app";
+    store_runvar('cmdprefix_configure', "$apptool-configure");
+    store_runvar('cmdprefix_make',      "$apptool-make");
+}
+
 sub install() {
     my $destdir="dist/usr/local/lib/xen/rump-kernel";
     target_cmd_build($ho, 300, $builddir, <<END);
@@ -110,5 +116,6 @@ END
 checkout();
 massage();
 build();
+recordtools();
 install();
 built_stash($ho, $builddir, 'dist', 'rumpuserxendist');
-- 
1.7.10.4

  parent reply	other threads:[~2014-07-15 15:22 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-15 15:22 [OSSTEST PATCH 00/13] Build and test rump kernel xenstore-ls Ian Jackson
2014-07-15 15:22 ` [OSSTEST PATCH 01/13] selectguest: log a message Ian Jackson
2014-07-15 15:22 ` [OSSTEST PATCH 02/13] BuildSupport: make selectbuildhost modify @ARGV Ian Jackson
2014-07-15 15:22 ` [OSSTEST PATCH 03/13] sg-run-job: Support toggling `adding' by repeating `+' Ian Jackson
2014-07-16  9:17   ` Ian Campbell
2014-07-15 15:22 ` [OSSTEST PATCH 04/13] building: Delete when cloning, not when preparing $builddir Ian Jackson
2014-07-16  9:19   ` Ian Campbell
2014-07-16  9:58     ` Ian Jackson
2014-07-16 10:06       ` Ian Campbell
2014-07-16 10:18         ` Ian Jackson
2014-07-16 10:20           ` Ian Campbell
2014-07-16 10:29             ` Ian Jackson
2014-07-16 11:25               ` Ian Campbell
2014-07-15 15:22 ` [OSSTEST PATCH 05/13] make-flight: rumpuserxen tests: use same buildjob for all guests Ian Jackson
2014-07-16  9:19   ` Ian Campbell
2014-07-16 10:10     ` Ian Jackson
2014-07-15 15:22 ` [OSSTEST PATCH 06/13] ts-xen-build: Allow specification of make targets Ian Jackson
2014-07-15 15:22 ` [OSSTEST PATCH 07/13] ts-xen-build: Honour cmdprefix_configure, cmdprefix_make Ian Jackson
2014-07-15 15:22 ` Ian Jackson [this message]
2014-07-15 15:22 ` [OSSTEST PATCH 09/13] rump kernel tests: Use guest-specific fs images location Ian Jackson
2014-07-15 15:22 ` [OSSTEST PATCH 10/13] rump kernel tests: Specify kernel via runvar Ian Jackson
2014-07-15 15:22 ` [OSSTEST PATCH 11/13] rump kernel tests: Specify cmdline " Ian Jackson
2014-07-15 15:22 ` [OSSTEST PATCH 12/13] ts-guest-destroy-hard: New script Ian Jackson
2014-07-16  9:24   ` Ian Campbell
2014-07-16 10:10     ` Ian Jackson
2014-07-16 10:12       ` Ian Campbell
2014-07-16 10:20         ` Ian Jackson
2014-07-16 10:21           ` Ian Campbell
2014-07-16 10:30             ` Ian Jackson
2014-07-15 15:22 ` [OSSTEST PATCH 13/13] rump kernel tests: Run xenstore-ls demo Ian Jackson
2014-07-16  9:26   ` Ian Campbell
2014-07-16 10:15     ` Ian Jackson
2014-07-16 10:17       ` Ian Campbell
2014-07-16  9:26 ` [OSSTEST PATCH 00/13] Build and test rump kernel xenstore-ls Ian Campbell

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=1405437747-12753-9-git-send-email-ian.jackson@eu.citrix.com \
    --to=ian.jackson@eu.citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=xen-devel@lists.xenproject.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).