configure: add ppc target back to container tests
PATCH 1/1 configure: add ppc target back to container tests
Commit 2ff8c9a298 removed support for 32-bit PPC hosts from the build system. Unfortunately, the patch also removed the 32-bit PPC target for containerized tests, which leads to an error when trying to run tests, e.g., with "make check-tcg":
"make[1]: *** No rule to make target 'docker-image-debian-ppc-cross', needed by 'build-tcg-tests-ppc-linux-user'. Stop."
This patch adds the PPC target back for containerized tests.
--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
@@ -1451,7 +1451,7 @@ probe_target_compiler() { container_image=debian-all-test-cross container_cross_prefix=mips64-linux-gnuabi64- ;; - ppc64|ppc64le) + ppc|ppc64|ppc64le) container_image=debian-all-test-cross container_cross_prefix=powerpc${target_arch#ppc}-linux-gnu- ;;
Signature · 1 line
2.51.0
Quoted 20 lines · Florian Hofhammer
Commit
2ff8c9a298removed support for 32-bit PPC hosts from the build system. Unfortunately, the patch also removed the 32-bit PPC target for containerized tests, which leads to an error when trying to run tests, e.g., with "make check-tcg":
"make[1]: *** No rule to make target 'docker-image-debian-ppc-cross', needed by 'build-tcg-tests-ppc-linux-user'. Stop."This patch adds the PPC target back for containerized tests.
Fixes 2ff8c9a2984bb20e350ae52152812c5370b02e32Signed-off-by Florian Hofhammer <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure +0
-0
configure probe_target_compiler() { · line 1457
Quoted 8 lines
configure +1
-1@@ -1451,7 +1451,7 @@ probe_target_compiler() { container_image=debian-all-test-cross container_cross_prefix=mips64-linux-gnuabi64- ;; - ppc64|ppc64le) + ppc|ppc64|ppc64le) container_image=debian-all-test-cross container_cross_prefix=powerpc${target_arch#ppc}-linux-gnu- ;;
Philippe Mathieu-Daudé
Reviewed-byQuoted 7 lines · Thomas Huth
Quoted 6 lines · Florian Hofhammer
Commit
2ff8c9a298removed support for 32-bit PPC hosts from the build system. Unfortunately, the patch also removed the 32-bit PPC target for containerized tests, which leads to an error when trying to run tests, e.g., with "make check-tcg":
"make[1]: *** No rule to make target 'docker-image-debian-ppc-cross', needed by 'build-tcg-tests-ppc-linux-user'. Stop."
Oops.
Quoted 25 lines
Quoted 14 lines
This patch adds the PPC target back for containerized tests.
Fixes 2ff8c9a2984bb20e350ae52152812c5370b02e32Signed-off-by Florian Hofhammer <[email protected]>---
configure | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)configure +0
-0@@ -1451,7 +1451,7 @@ probe_target_compiler() {Quoted 8 lines
container_image=debian-all-test-cross container_cross_prefix=mips64-linux-gnuabi64-
;;
- ppc64|ppc64le)
+ ppc|ppc64|ppc64le) container_image=debian-all-test-cross container_cross_prefix=powerpc${target_arch#ppc}-linux-gnu- ;;Reviewed-by Thomas Huth <[email protected]>