aboutsummaryrefslogtreecommitdiff
path: root/tests/lcitool
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2022-02-25 17:20:07 +0000
committerAlex Bennée <alex.bennee@linaro.org>2022-02-28 16:42:02 +0000
commite3000245a0b2737d2e690c3f5a38dcc1ca9b36a2 (patch)
tree8ead6d4aea1e5b224e09214db3c8c0498edbf898 /tests/lcitool
parent072f1430732b05851925639003f78f824eeed2f5 (diff)
downloadqemu-e3000245a0b2737d2e690c3f5a38dcc1ca9b36a2.zip
qemu-e3000245a0b2737d2e690c3f5a38dcc1ca9b36a2.tar.gz
qemu-e3000245a0b2737d2e690c3f5a38dcc1ca9b36a2.tar.bz2
tests/docker: update debian-arm64-cross with lcitool
Using lcitool update debian-arm64-cross to a Debian 11 based system. As a result we can drop debian-arm64-test-cross just for building tests. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220225172021.3493923-5-alex.bennee@linaro.org>
Diffstat (limited to 'tests/lcitool')
-rwxr-xr-xtests/lcitool/refresh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/lcitool/refresh b/tests/lcitool/refresh
index 4ab90a3..ada73f7 100755
--- a/tests/lcitool/refresh
+++ b/tests/lcitool/refresh
@@ -76,6 +76,12 @@ ubuntu2004_tsanhack = [
"RUN sed -i 's/^const/static const/g' /usr/lib/llvm-10/lib/clang/10.0.0/include/sanitizer/tsan_interface.h\n"
]
+def debian_cross_build(prefix, targets):
+ conf = "ENV QEMU_CONFIGURE_OPTS --cross-prefix=%s\n" % (prefix)
+ targets = "ENV DEF_TARGET_LIST %s\n" % (targets)
+ return "".join([conf, targets])
+
+
try:
generate_dockerfile("centos8", "centos-stream-8")
generate_dockerfile("fedora", "fedora-35")
@@ -86,6 +92,11 @@ try:
generate_dockerfile("opensuse-leap", "opensuse-leap-152")
generate_dockerfile("alpine", "alpine-edge")
+ generate_dockerfile("debian-arm64-cross", "debian-11",
+ cross="aarch64",
+ trailer=debian_cross_build("aarch64-linux-gnu-",
+ "aarch64-softmmu,aarch64-linux-user"))
+
generate_cirrus("freebsd-12")
generate_cirrus("freebsd-13")
generate_cirrus("macos-11")