From: "Alex Bennée" <alex.bennee@linaro.org>
To: peter.maydell@linaro.org
Cc: qemu-devel@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>
Subject: [Qemu-devel] [PULL 07/18] docker: add debian-buster-arm64-cross
Date: Mon, 11 Feb 2019 13:04:56 +0000 [thread overview]
Message-ID: <20190211130507.8710-8-alex.bennee@linaro.org> (raw)
In-Reply-To: <20190211130507.8710-1-alex.bennee@linaro.org>
We can't build QEMU with this but we can use this image to build newer
arm64 testcases which need more up to date tools.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index 7032c68895..83d43c50e4 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -90,6 +90,7 @@ docker-image-debian-amd64: docker-image-debian9
docker-image-debian-armel-cross: docker-image-debian9
docker-image-debian-armhf-cross: docker-image-debian9
docker-image-debian-arm64-cross: docker-image-debian9
+docker-image-debian-buster-arm64-cross: docker-image-debian10
docker-image-debian-mips-cross: docker-image-debian9
docker-image-debian-mipsel-cross: docker-image-debian9
docker-image-debian-mips64el-cross: docker-image-debian9
diff --git a/tests/docker/dockerfiles/debian-buster-arm64-cross.docker b/tests/docker/dockerfiles/debian-buster-arm64-cross.docker
new file mode 100644
index 0000000000..33ada13806
--- /dev/null
+++ b/tests/docker/dockerfiles/debian-buster-arm64-cross.docker
@@ -0,0 +1,15 @@
+#
+# Docker arm64 cross-compiler target
+#
+# This docker target builds on the Debian's Buster base image. There
+# are no QEMU pre-requistes so this image can only be used to build
+# test cases.
+#
+FROM qemu:debian10
+
+# Add the foreign architecture we want and install dependencies
+RUN dpkg --add-architecture arm64
+RUN apt update
+RUN DEBIAN_FRONTEND=noninteractive eatmydata \
+ apt-get install -y --no-install-recommends \
+ crossbuild-essential-arm64
diff --git a/tests/docker/dockerfiles/debian10.docker b/tests/docker/dockerfiles/debian10.docker
new file mode 100644
index 0000000000..aeeb151b52
--- /dev/null
+++ b/tests/docker/dockerfiles/debian10.docker
@@ -0,0 +1,31 @@
+#
+# Docker multiarch cross-compiler target
+#
+# This docker target is builds on Debian cross compiler targets to build distro
+# with a selection of cross compilers for building test binaries.
+#
+# On its own you can't build much but the docker-foo-cross targets
+# build on top of the base debian image.
+#
+FROM debian:buster-slim
+
+# Duplicate deb line as deb-src
+RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
+
+# Install common build utilities
+RUN apt update
+RUN DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata
+RUN DEBIAN_FRONTEND=noninteractive eatmydata \
+ apt install -y --no-install-recommends \
+ bison \
+ build-essential \
+ ca-certificates \
+ clang \
+ flex \
+ gettext \
+ git \
+ pkg-config \
+ psmisc \
+ python \
+ texinfo \
+ $(apt-get -s build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2)
diff --git a/tests/tcg/aarch64/Makefile.include b/tests/tcg/aarch64/Makefile.include
index de32c91235..5d4e4c6f99 100644
--- a/tests/tcg/aarch64/Makefile.include
+++ b/tests/tcg/aarch64/Makefile.include
@@ -3,6 +3,6 @@
# We don't have any bigendian build tools so we only use this for AArch64
ifeq ($(TARGET_NAME),aarch64)
-DOCKER_IMAGE=debian-arm64-cross
+DOCKER_IMAGE=debian-buster-arm64-cross
DOCKER_CROSS_COMPILER=aarch64-linux-gnu-gcc
endif
--
2.20.1
next prev parent reply other threads:[~2019-02-11 13:06 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-11 13:04 [Qemu-devel] [PULL 00/18] testing updates: travis/cirrus/vm-test/binfmt Alex Bennée
2019-02-11 13:04 ` [Qemu-devel] [PULL 01/18] .cirrus.yml: basic compile and test for FreeBSD Alex Bennée
2019-02-11 13:04 ` [Qemu-devel] [PULL 02/18] .travis.yml: stop requesting libffi & gettext from homebrew Alex Bennée
2019-02-11 13:04 ` [Qemu-devel] [PULL 03/18] .travis.yml: separate tools and docs into another entry Alex Bennée
2019-02-11 13:04 ` [Qemu-devel] [PULL 04/18] .travis.yml: fold --disable-tcg into alternate coroutine builds Alex Bennée
2019-02-11 13:04 ` [Qemu-devel] [PULL 05/18] MAINTAINERS: Add an entry for scripts/archive-source.sh Alex Bennée
2019-02-11 13:04 ` [Qemu-devel] [PULL 06/18] archive-source.sh: Clone the submodules locally Alex Bennée
2019-02-11 13:04 ` Alex Bennée [this message]
2019-02-11 13:04 ` [Qemu-devel] [PULL 08/18] tests: make docker.py update use configured binfmt path Alex Bennée
2019-02-11 13:04 ` [Qemu-devel] [PULL 09/18] tests: make docker.py check for persistent configs Alex Bennée
2019-02-11 13:04 ` [Qemu-devel] [PULL 10/18] tests: docker.py be even smarter with persistent binfmt_misc Alex Bennée
2019-02-11 13:05 ` [Qemu-devel] [PULL 11/18] tests: PEP8 cleanup of docker.py, mostly white space Alex Bennée
2019-02-11 13:05 ` [Qemu-devel] [PULL 12/18] tests/vm: move images to $HOME/.cache/qemu-vm/images Alex Bennée
2019-02-11 13:05 ` [Qemu-devel] [PULL 13/18] tests/vm: call make check directly for netbsd/freebsd/ubuntu.i386 Alex Bennée
2019-02-11 13:05 ` [Qemu-devel] [PULL 14/18] tests/vm: add --build-target option Alex Bennée
2019-02-11 13:05 ` [Qemu-devel] [PULL 15/18] tests/vm: expose BUILD_TARGET, TARGET_LIST and EXTRA_CONFIGURE_OPTS Alex Bennée
2019-02-11 13:05 ` [Qemu-devel] [PULL 16/18] scripts/qemu.py: allow arches use KVM for their 32bit cousins Alex Bennée
2019-02-11 13:05 ` [Qemu-devel] [PULL 17/18] docs/devel/testing: Add -a option to usermod command on docker setup Alex Bennée
2019-02-11 13:05 ` [Qemu-devel] [PULL 18/18] tests/vm: Be verbose while extracting compressed images Alex Bennée
2019-02-11 13:14 ` Philippe Mathieu-Daudé
2019-02-11 16:08 ` [Qemu-devel] [PULL 00/18] testing updates: travis/cirrus/vm-test/binfmt Peter Maydell
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=20190211130507.8710-8-alex.bennee@linaro.org \
--to=alex.bennee@linaro.org \
--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 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).