[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 62/68] build: move --disable-debug-info to meson
|
From: |
Paolo Bonzini |
|
Subject: |
[PULL 62/68] build: move --disable-debug-info to meson |
|
Date: |
Wed, 17 May 2023 19:45:14 +0200 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
configure | 5 -----
scripts/meson-buildoptions.py | 2 ++
scripts/meson-buildoptions.sh | 3 +++
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/configure b/configure
index 0dc0395a848f..b2172b7b938e 100755
--- a/configure
+++ b/configure
@@ -693,10 +693,6 @@ for opt do
;;
--cross-prefix-*)
;;
- --enable-debug-info) meson_option_add -Ddebug=true
- ;;
- --disable-debug-info) meson_option_add -Ddebug=false
- ;;
--enable-docs) docs=enabled
;;
--disable-docs) docs=disabled
@@ -972,7 +968,6 @@ cat << EOF
bsd-user all BSD usermode emulation targets
pie Position Independent Executables
debug-tcg TCG debugging (default is disabled)
- debug-info debugging information
NOTE: The object files are built at the place where configure is launched
EOF
diff --git a/scripts/meson-buildoptions.py b/scripts/meson-buildoptions.py
index 4c7f13fdfc40..8d2e526132ae 100755
--- a/scripts/meson-buildoptions.py
+++ b/scripts/meson-buildoptions.py
@@ -36,6 +36,7 @@
"b_coverage": "gcov",
"b_lto": "lto",
"coroutine_backend": "with-coroutine",
+ "debug": "debug-info",
"malloc": "enable-malloc",
"pkgversion": "with-pkgversion",
"qemu_firmwarepath": "firmwarepath",
@@ -47,6 +48,7 @@
"b_coverage",
"b_lto",
"datadir",
+ "debug",
"includedir",
"libdir",
"libexecdir",
diff --git a/scripts/meson-buildoptions.sh b/scripts/meson-buildoptions.sh
index 28b6e8385bc1..d6223c5acdd1 100644
--- a/scripts/meson-buildoptions.sh
+++ b/scripts/meson-buildoptions.sh
@@ -11,6 +11,7 @@ meson_options_help() {
printf "%s\n" ' affects only QEMU, not tools like
qemu-img)'
printf "%s\n" ' --datadir=VALUE Data file directory [share]'
printf "%s\n" ' --disable-coroutine-pool coroutine freelist (better
performance)'
+ printf "%s\n" ' --disable-debug-info Enable debug symbols and other
information'
printf "%s\n" ' --disable-hexagon-idef-parser'
printf "%s\n" ' use idef-parser to automatically
generate TCG'
printf "%s\n" ' code for the Hexagon frontend'
@@ -263,6 +264,8 @@ _meson_option_parse() {
--datadir=*) quote_sh "-Ddatadir=$2" ;;
--enable-dbus-display) printf "%s" -Ddbus_display=enabled ;;
--disable-dbus-display) printf "%s" -Ddbus_display=disabled ;;
+ --enable-debug-info) printf "%s" -Ddebug=true ;;
+ --disable-debug-info) printf "%s" -Ddebug=false ;;
--enable-debug-graph-lock) printf "%s" -Ddebug_graph_lock=true ;;
--disable-debug-graph-lock) printf "%s" -Ddebug_graph_lock=false ;;
--enable-debug-mutex) printf "%s" -Ddebug_mutex=true ;;
--
2.40.1
- [PULL 25/68] mkvenv: add console script entry point generation, (continued)
- [PULL 25/68] mkvenv: add console script entry point generation, Paolo Bonzini, 2023/05/17
- [PULL 31/68] tests/vm: add py310-expat to NetBSD, Paolo Bonzini, 2023/05/17
- [PULL 46/68] meson: require 0.63.0, Paolo Bonzini, 2023/05/17
- [PULL 47/68] meson: use prefer_static option, Paolo Bonzini, 2023/05/17
- [PULL 48/68] meson: remove static_kwargs, Paolo Bonzini, 2023/05/17
- [PULL 50/68] meson: drop unnecessary declare_dependency(), Paolo Bonzini, 2023/05/17
- [PULL 54/68] meson: prepare move of QEMU_CFLAGS to meson, Paolo Bonzini, 2023/05/17
- [PULL 64/68] configure: do not rerun the tests with -Werror, Paolo Bonzini, 2023/05/17
- [PULL 65/68] configure: remove unnecessary mkdir, Paolo Bonzini, 2023/05/17
- [PULL 68/68] docs/devel: update build system docs, Paolo Bonzini, 2023/05/17
- [PULL 62/68] build: move --disable-debug-info to meson,
Paolo Bonzini <=
- [PULL 55/68] build: move sanitizer tests to meson, Paolo Bonzini, 2023/05/17
- [PULL 61/68] build: move compiler version check to meson, Paolo Bonzini, 2023/05/17
- [PULL 51/68] build: move glib detection and workarounds to meson, Paolo Bonzini, 2023/05/17
- Re: [PULL 00/68] i386, build system, KVM changes for 2023-05-18, Richard Henderson, 2023/05/17
- Re: [PULL 00/68] i386, build system, KVM changes for 2023-05-18, Paolo Bonzini, 2023/05/18
- Re: [PULL 00/68] i386, build system, KVM changes for 2023-05-18, Peter Maydell, 2023/05/18
- Re: [PULL 00/68] i386, build system, KVM changes for 2023-05-18, Paolo Bonzini, 2023/05/18
- Re: [PULL 00/68] i386, build system, KVM changes for 2023-05-18, Paolo Bonzini, 2023/05/18
- Re: [PULL 00/68] i386, build system, KVM changes for 2023-05-18, Richard Henderson, 2023/05/18
- Re: [PULL 00/68] i386, build system, KVM changes for 2023-05-18, Yang Zhong, 2023/05/18