diff options
| author | Alex Bennée | 2018-04-23 14:54:09 +0200 |
|---|---|---|
| committer | Alex Bennée | 2018-06-20 21:22:34 +0200 |
| commit | 409c1c9cbd9a6715d5f5663a8b3404ea193d0137 (patch) | |
| tree | 893d8ceb38f3938a1bd2108c97861dba31ca6f26 /tests/docker/dockerfiles/debian-alpha-cross.docker | |
| parent | tests/tcg: enable building for ppc64 (diff) | |
| download | qemu-409c1c9cbd9a6715d5f5663a8b3404ea193d0137.tar.gz qemu-409c1c9cbd9a6715d5f5663a8b3404ea193d0137.tar.xz qemu-409c1c9cbd9a6715d5f5663a8b3404ea193d0137.zip | |
tests/tcg: enable building for Alpha
We can't use our normal Debian based compilers as Alpha isn't an
officially supported architecture. However it is available as a port
and fortunately cross compilers for all these targets are included in
Debian Sid, the perpetual rolling/unstable/testing version of Debian.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'tests/docker/dockerfiles/debian-alpha-cross.docker')
| -rw-r--r-- | tests/docker/dockerfiles/debian-alpha-cross.docker | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/docker/dockerfiles/debian-alpha-cross.docker b/tests/docker/dockerfiles/debian-alpha-cross.docker new file mode 100644 index 0000000000..29a25d0dfd --- /dev/null +++ b/tests/docker/dockerfiles/debian-alpha-cross.docker @@ -0,0 +1,12 @@ +# +# Docker cross-compiler target +# +# This docker target builds on the debian sid base image which +# contains cross compilers for Debian "ports" targets. +# +FROM qemu:debian-sid + +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + gcc-alpha-linux-gnu \ + libc6.1-dev-alpha-cross || { echo "Failed to build - see debian-sid.docker notes"; exit 1; } |
