All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marc-André Lureau" <mlureau@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: bobby prani <bobby.prani@gmail.com>,
	marcandre lureau <marcandre.lureau@redhat.com>,
	peter maydell <peter.maydell@linaro.org>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [RFC/POC PATCH 0/4] Building TCG tests with emdebian cross compilers
Date: Mon, 19 Dec 2016 06:09:34 -0500 (EST)	[thread overview]
Message-ID: <903503264.6427014.1482145774126.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20161214171244.26813-1-alex.bennee@linaro.org>

Hi

----- Original Message -----
> Hi Pranith,
> 
> Here is a proof-of-concept series for you to consider rolling into the TCG
> tests
> cleanup. It uses the existing docker make machinery to build a Debian
> image which has arm, arm64 and ppc64el cross compilers in it. Now if
> you run:
> 
>   make arm-tcg-tests
> 
> It will do the requisite build of the docker image and then use that
> to build the TCG tests in the appropriate build directory.
> 
> These apply on top of your existing series. There is also a quick hack
> to disable the running of the tests by default. I think we need two
> stages, maybe a build-FOO-tcg-tests and run-FOO-tcg-tests.
> 
> What do you think?

I like the idea, as long as you can also run the tcg tests without docker. How many of the qemu archs debian cross tools support? last time I looked there was annoying limitations, but I can't remember the details.

crosstool-ng has perhaps more potential, especially if devs would share their config/samples (we could then have a cross-distro packaging with flatpack?)

> Alex Bennée (4):
>   tests/docker: add basic user mapping support
>   new tests/docker/dockerfiles/debian-multiarch-cross.docker
>   tests/tcg: don't run tests by default
>   tests/tcg/Makefile: use docker target for arm-tcg-tests
> 
>  tests/docker/docker.py                             | 19 +++++++++++
>  tests/docker/dockerfiles/debian-bootstrap.docker   |  3 ++
>  .../dockerfiles/debian-multiarch-cross.docker      | 39
>  ++++++++++++++++++++++
>  tests/tcg/Makefile.include                         | 20 +++++++++--
>  tests/tcg/arm/Makefile                             |  2 +-
>  tests/tcg/misc/Makefile                            |  4 +--
>  6 files changed, 81 insertions(+), 6 deletions(-)
>  create mode 100644 tests/docker/dockerfiles/debian-multiarch-cross.docker
> 
> --
> 2.11.0
> 
> 

  parent reply	other threads:[~2016-12-19 11:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-14 17:12 [Qemu-devel] [RFC/POC PATCH 0/4] Building TCG tests with emdebian cross compilers Alex Bennée
2016-12-14 17:12 ` [Qemu-devel] [RFC/POC PATCH 1/4] tests/docker: add basic user mapping support Alex Bennée
2016-12-14 17:12 ` [Qemu-devel] [RFC/POC PATCH 2/4] new tests/docker/dockerfiles/debian-multiarch-cross.docker Alex Bennée
2016-12-14 17:12 ` [Qemu-devel] [RFC/POC PATCH 3/4] tests/tcg: don't run tests by default Alex Bennée
2016-12-14 17:12 ` [Qemu-devel] [RFC/POC PATCH 4/4] tests/tcg/Makefile: use docker target for arm-tcg-tests Alex Bennée
2016-12-19 11:09 ` Marc-André Lureau [this message]
2017-01-09 11:57   ` [Qemu-devel] [RFC/POC PATCH 0/4] Building TCG tests with emdebian cross compilers 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=903503264.6427014.1482145774126.JavaMail.zimbra@redhat.com \
    --to=mlureau@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=bobby.prani@gmail.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.