[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 22/22] configure: warn on untested --disable-tcg
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 22/22] configure: warn on untested --disable-tcg |
Date: |
Tue, 4 Jul 2017 13:12:15 +0200 |
--disable-tcg will almost certainly fail to compile on non-x86 platforms,
so issue a warning.
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Daniel P. Berrange <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
configure | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/configure b/configure
index 806658c..3109836 100755
--- a/configure
+++ b/configure
@@ -1771,6 +1771,13 @@ if test "$solaris" = "yes" ; then
fi
fi
+if test "$tcg" = no; then
+ case "$cpu" in
+ i386 | x86_64) ;;
+ *) echo "WARNING: --disable-tcg not supported on this host,
compilation may fail" ;;
+ esac
+fi
+
if test -z "${target_list+xxx}" ; then
for target in $default_target_list; do
supported_target $target 2>/dev/null && \
--
1.8.3.1
- [Qemu-devel] [PATCH 15/22] tcg: add the CONFIG_TCG into Makefiles, (continued)
- [Qemu-devel] [PATCH 15/22] tcg: add the CONFIG_TCG into Makefiles, Paolo Bonzini, 2017/07/04
- [Qemu-devel] [PATCH 16/22] target/i386: move cpu_sync_bndcs_hflags() function, Paolo Bonzini, 2017/07/04
- [Qemu-devel] [PATCH 17/22] target/i386: make cpu_get_fp80()/cpu_set_fp80() static, Paolo Bonzini, 2017/07/04
- [Qemu-devel] [PATCH 21/22] target/i386: add the CONFIG_TCG into Makefiles, Paolo Bonzini, 2017/07/04
- [Qemu-devel] [PATCH 18/22] target/i386: split cpu_set_mxcsr() and make cpu_set_fpuc() inline, Paolo Bonzini, 2017/07/04
- [Qemu-devel] [PATCH 20/22] target/i386: add the tcg_enabled() in target/i386/, Paolo Bonzini, 2017/07/04
- [Qemu-devel] [PATCH 19/22] target/i386: move TLB refill function out of helper.c, Paolo Bonzini, 2017/07/04
- [Qemu-devel] [PATCH 22/22] configure: warn on untested --disable-tcg,
Paolo Bonzini <=