[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 4/6] tests/tcg/configure.sh: make sure we pick up x86_64 cross
From: |
Alex Bennée |
Subject: |
[PATCH v1 4/6] tests/tcg/configure.sh: make sure we pick up x86_64 cross compilers |
Date: |
Mon, 29 Mar 2021 12:03:01 +0100 |
While it's hard to find cross compilers packaged for arches other than
x86_64 the same cannot be said for the x86_64 compiler which is
available on Debians i386, arm64 and ppc64el release architectures.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/tcg/configure.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh
index 87a9f24b20..90fd81f506 100755
--- a/tests/tcg/configure.sh
+++ b/tests/tcg/configure.sh
@@ -198,6 +198,11 @@ for target in $target_list; do
container_image=debian-sparc64-cross
container_cross_cc=sparc64-linux-gnu-gcc
;;
+ x86_64-*)
+ container_hosts="aarch64 ppc64el x86_64"
+ container_image=debian-amd64-cross
+ container_cross_cc=x86_64-linux-gnu-gcc
+ ;;
xtensa*-softmmu)
container_hosts=x86_64
container_image=debian-xtensa-cross
--
2.20.1
- [PATCH v1 3/6] tests/tcg: add concept of container_hosts, (continued)
- [PATCH v1 3/6] tests/tcg: add concept of container_hosts, Alex Bennée, 2021/03/29
- [PATCH v1 2/6] tests/docker: don't set DOCKER_REGISTRY on non-x86_64, Alex Bennée, 2021/03/29
- [PATCH v1 1/6] tests/tcg: update the defaults for x86 compilers, Alex Bennée, 2021/03/29
- [PATCH v1 5/6] tests/tcg/i386: expand .data sections for system tests, Alex Bennée, 2021/03/29
- [PATCH v1 4/6] tests/tcg/configure.sh: make sure we pick up x86_64 cross compilers,
Alex Bennée <=
- [PATCH v1 6/6] tests/i386/test-i386: try and correct constrain 16 bit call (WIP), Alex Bennée, 2021/03/29
Re: [PATCH for 6.0-rc2? v1 0/6] check-tcg for non-x86 hosts, no-reply, 2021/03/29