mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
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>
This commit is contained in:
parent
072f143073
commit
e3000245a0
6 changed files with 173 additions and 52 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue