qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: qemu-devel@nongnu.org
Cc: fam@euphon.net, berrange@redhat.com, stefanb@linux.vnet.ibm.com,
	"Alex Bennée" <alex.bennee@linaro.org>,
	richard.henderson@linaro.org, f4bug@amsat.org,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>,
	cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com,
	pbonzini@redhat.com, aurelien@aurel32.net
Subject: [PATCH  v1 13/13] tests/docker: enable cross-compilers for aarch64
Date: Fri, 24 Jan 2020 20:40:26 +0000	[thread overview]
Message-ID: <20200124204026.2107-14-alex.bennee@linaro.org> (raw)
In-Reply-To: <20200124204026.2107-1-alex.bennee@linaro.org>

While Debian's aarch64 mainly only packages other ARM compilers we do
have access to x86_64 cross compilers and a few system compilers for
various micro controllers.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 .../dockerfiles.aarch64/Makefile.include      | 24 +++++++++++++++++++
 .../debian10-aarch64-qemu-build.docker        |  1 +
 .../debian10-x86_64-qemu-build.docker         |  1 +
 .../debian9-armel-qemu-build.docker           |  1 +
 4 files changed, 27 insertions(+)
 create mode 100644 tests/docker/dockerfiles.aarch64/Makefile.include
 create mode 120000 tests/docker/dockerfiles.aarch64/debian10-aarch64-qemu-build.docker
 create mode 120000 tests/docker/dockerfiles.aarch64/debian10-x86_64-qemu-build.docker
 create mode 120000 tests/docker/dockerfiles.aarch64/debian9-armel-qemu-build.docker

diff --git a/tests/docker/dockerfiles.aarch64/Makefile.include b/tests/docker/dockerfiles.aarch64/Makefile.include
new file mode 100644
index 0000000000..791ddf856b
--- /dev/null
+++ b/tests/docker/dockerfiles.aarch64/Makefile.include
@@ -0,0 +1,24 @@
+# -*- Mode: makefile -*-
+#
+# AArch64 Containers
+#
+# The cross-compilers are not as well packaged for AArch64 although we
+# do have access to 32 bit ARM, x86 and a smattering of the
+# microcontrollers.
+#
+
+AARCH64_BASE = $(DOCKER_BASE)/dockerfiles.aarch64
+VPATH += $(AARCH64_BASE)
+
+#
+# We have both QEMU build and TEST build containers we can access
+#
+QEMU_BUILD_CONTAINERS += $(call get-basenames,$(wildcard $(AARCH64_BASE)/*-qemu-build.docker))
+TEST_BUILD_CONTAINERS += $(call get-basenames,$(wildcard $(AARCH64_BASE)/*-test-build.docker))
+
+# Generate build-deps based on names
+#
+# Most of this architecture are based on Debian images
+AARCH64_CONTAINERS=$(call get-basenames,$(wildcard $(AARCH64_BASE)/*.docker))
+$(filter-out,debian9,$(AARCH64_CONTAINERS)): docker-image-debian9
+$(filter-out,debian10,$(AARCH64_CONTAINERS)): docker-image-debian10
diff --git a/tests/docker/dockerfiles.aarch64/debian10-aarch64-qemu-build.docker b/tests/docker/dockerfiles.aarch64/debian10-aarch64-qemu-build.docker
new file mode 120000
index 0000000000..cd1caa0704
--- /dev/null
+++ b/tests/docker/dockerfiles.aarch64/debian10-aarch64-qemu-build.docker
@@ -0,0 +1 @@
+../dockerfiles/debian10-native-qemu-build.docker
\ No newline at end of file
diff --git a/tests/docker/dockerfiles.aarch64/debian10-x86_64-qemu-build.docker b/tests/docker/dockerfiles.aarch64/debian10-x86_64-qemu-build.docker
new file mode 120000
index 0000000000..63e9a69855
--- /dev/null
+++ b/tests/docker/dockerfiles.aarch64/debian10-x86_64-qemu-build.docker
@@ -0,0 +1 @@
+../dockerfiles.cross/debian-amd64-full-cross.docker
\ No newline at end of file
diff --git a/tests/docker/dockerfiles.aarch64/debian9-armel-qemu-build.docker b/tests/docker/dockerfiles.aarch64/debian9-armel-qemu-build.docker
new file mode 120000
index 0000000000..b818459261
--- /dev/null
+++ b/tests/docker/dockerfiles.aarch64/debian9-armel-qemu-build.docker
@@ -0,0 +1 @@
+../dockerfiles.cross/debian-armel-full-cross.docker
\ No newline at end of file
-- 
2.20.1



      parent reply	other threads:[~2020-01-24 20:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-24 20:40 [PATCH v1 00/13] docker multiarch awareness Alex Bennée
2020-01-24 20:40 ` [PATCH v1 01/13] tests/docker: move most cross compilers to buster base Alex Bennée
2020-01-24 20:40 ` [PATCH v1 02/13] tests/docker: better handle symlinked libs Alex Bennée
2020-01-27 19:24   ` Philippe Mathieu-Daudé
2020-01-24 20:40 ` [PATCH v1 03/13] gitlab-ci: Refresh the list of iotests Alex Bennée
2020-01-24 20:40 ` [PATCH v1 04/13] travis.yml: Install genisoimage package Alex Bennée
2020-01-24 20:40 ` [PATCH v1 05/13] .shippable: --disable-docs for cross-compile tests Alex Bennée
2020-01-24 20:40 ` [PATCH v1 06/13] tests/docker: move all cross-compilers images into dockerfiles.cross Alex Bennée
2020-01-24 20:40 ` [PATCH v1 07/13] tests/docker: move all multiarch containers into dockerfiles.multiarch Alex Bennée
2020-01-24 20:40 ` [PATCH v1 08/13] tests/docker: search the tests/docker tree to inline parent dockerfile Alex Bennée
2020-01-24 20:40 ` [PATCH v1 09/13] tests/docker: switch to multiarch aware container support Alex Bennée
2020-01-24 20:40 ` [PATCH v1 10/13] tests/docker: add debian10-native-qemu-build Alex Bennée
2020-01-27 19:41   ` Philippe Mathieu-Daudé
2020-01-24 20:40 ` [PATCH v1 11/13] tests/docker: rename the cross builds Alex Bennée
2020-01-24 20:40 ` [PATCH v1 12/13] tests/docker: re-enable cross-compiling for x86_64 hosts Alex Bennée
2020-01-24 22:29   ` Richard Henderson
2020-01-27 18:30     ` Alex Bennée
2020-01-27 19:38   ` Philippe Mathieu-Daudé
2020-01-27 19:43     ` Philippe Mathieu-Daudé
2020-01-24 20:40 ` Alex Bennée [this message]

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=20200124204026.2107-14-alex.bennee@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=aurelien@aurel32.net \
    --cc=berrange@redhat.com \
    --cc=cota@braap.org \
    --cc=f4bug@amsat.org \
    --cc=fam@euphon.net \
    --cc=marcandre.lureau@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=stefanb@linux.vnet.ibm.com \
    --cc=stefanha@redhat.com \
    /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).