All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabiano Rosas <farosas@suse.de>
To: "Alex Bennée" <alex.bennee@linaro.org>, qemu-devel@nongnu.org
Cc: "Brad Smith" <brad@comstyle.com>,
	"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
	"Song Gao" <gaosong@loongson.cn>, "Warner Losh" <imp@bsdimp.com>,
	"Daniel P. Berrangé" <berrange@redhat.com>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Cornelia Huck" <cohuck@redhat.com>,
	"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
	"John Snow" <jsnow@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@mailo.com>,
	"Thomas Huth" <th.huth+qemu@posteo.eu>,
	"Brian Cain" <brian.cain@oss.qualcomm.com>,
	qemu-arm@nongnu.org,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>,
	"Kyle Evans" <kevans@freebsd.org>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Cleber Rosa" <crosa@redhat.com>
Subject: Re: [PATCH 1/9] scripts/meson-buildoptions.sh: update missing options
Date: Thu, 10 Sep 2026 17:03:44 -0300	[thread overview]
Message-ID: <87jyosub4v.fsf@suse.de> (raw)
In-Reply-To: <20260910181504.1010916-2-alex.bennee@linaro.org>

Alex Bennée <alex.bennee@linaro.org> writes:

> This should have been updated when the meson check-tcg changes where
> made. Include it now.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

There's this previous change by Daniel doing this already:

https://lore.kernel.org/r/20260908074016.2143292-1-berrange@redhat.com

> ---
>  scripts/meson-buildoptions.sh | 142 ++++++++++++++++++++++++++++++++++
>  1 file changed, 142 insertions(+)
>
> diff --git a/scripts/meson-buildoptions.sh b/scripts/meson-buildoptions.sh
> index 5a67e59a167..67c5e33b011 100644
> --- a/scripts/meson-buildoptions.sh
> +++ b/scripts/meson-buildoptions.sh
> @@ -10,7 +10,13 @@ meson_options_help() {
>    printf "%s\n" '  --block-drv-rw-whitelist=VALUE'
>    printf "%s\n" '                           set block driver read-write whitelist (by default'
>    printf "%s\n" '                           affects only QEMU, not tools like qemu-img)'
> +  printf "%s\n" '  --container-command=VALUE'
> +  printf "%s\n" '                           command to build/run containers'
> +  printf "%s\n" '  --container-registry=VALUE'
> +  printf "%s\n" '                           container registry to cache from'
> +  printf "%s\n" '                           [registry.gitlab.com/qemu-project/qemu]'
>    printf "%s\n" '  --datadir=VALUE          Data file directory [share]'
> +  printf "%s\n" '  --disable-containers     use containers to cross compile tcg tests'
>    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'
> @@ -77,6 +83,94 @@ meson_options_help() {
>    printf "%s\n" '  --rtsig-map=VALUE        default value of QEMU_RTSIG_MAP [NULL]'
>    printf "%s\n" '  --smbd=VALUE             Path to smbd for slirp networking'
>    printf "%s\n" '  --sysconfdir=VALUE       Sysconf data directory [etc]'
> +  printf "%s\n" '  --tcg-tests-cross-cc-aarch64=VALUE'
> +  printf "%s\n" '                           cc for aarch64 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-aarch64-be=VALUE'
> +  printf "%s\n" '                           cc for aarch64_be tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-alpha=VALUE'
> +  printf "%s\n" '                           cc for alpha tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-arm=VALUE'
> +  printf "%s\n" '                           cc for arm tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-hexagon=VALUE'
> +  printf "%s\n" '                           cc for hexagon tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-hppa=VALUE'
> +  printf "%s\n" '                           cc for hppa tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-i386=VALUE'
> +  printf "%s\n" '                           cc for i386 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-loongarch64=VALUE'
> +  printf "%s\n" '                           cc for loongarch64 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-m68k=VALUE'
> +  printf "%s\n" '                           cc for m68k tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-mips=VALUE'
> +  printf "%s\n" '                           cc for mips tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-mips64=VALUE'
> +  printf "%s\n" '                           cc for mips64 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-mips64el=VALUE'
> +  printf "%s\n" '                           cc for mips64el tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-or1k=VALUE'
> +  printf "%s\n" '                           cc for or1k tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-ppc64=VALUE'
> +  printf "%s\n" '                           cc for ppc64 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-ppc64le=VALUE'
> +  printf "%s\n" '                           cc for ppc64le tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-riscv64=VALUE'
> +  printf "%s\n" '                           cc for riscv64 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-s390x=VALUE'
> +  printf "%s\n" '                           cc for s390x tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-sh4=VALUE'
> +  printf "%s\n" '                           cc for sh4 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-tricore=VALUE'
> +  printf "%s\n" '                           cc for tricore tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-x86-64=VALUE'
> +  printf "%s\n" '                           cc for x86_64 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-xtensa=VALUE'
> +  printf "%s\n" '                           cc for xtensa tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cc-xtensaeb=VALUE'
> +  printf "%s\n" '                           cc for xtensaeb tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-aarch64=VALUE'
> +  printf "%s\n" '                           cflags for aarch64 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-aarch64-be=VALUE'
> +  printf "%s\n" '                           cflags for aarch64_be tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-alpha=VALUE'
> +  printf "%s\n" '                           cflags for alpha tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-arm=VALUE'
> +  printf "%s\n" '                           cflags for arm tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-hexagon=VALUE'
> +  printf "%s\n" '                           cflags for hexagon tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-hppa=VALUE'
> +  printf "%s\n" '                           cflags for hppa tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-i386=VALUE'
> +  printf "%s\n" '                           cflags for i386 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-loongarch64=VALUE'
> +  printf "%s\n" '                           cflags for loongarch64 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-m68k=VALUE'
> +  printf "%s\n" '                           cflags for m68k tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-mips=VALUE'
> +  printf "%s\n" '                           cflags for mips tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-mips64=VALUE'
> +  printf "%s\n" '                           cflags for mips64 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-mips64el=VALUE'
> +  printf "%s\n" '                           cflags for mips64el tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-or1k=VALUE'
> +  printf "%s\n" '                           cflags for or1k tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-ppc64=VALUE'
> +  printf "%s\n" '                           cflags for ppc64 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-ppc64le=VALUE'
> +  printf "%s\n" '                           cflags for ppc64le tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-riscv64=VALUE'
> +  printf "%s\n" '                           cflags for riscv64 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-s390x=VALUE'
> +  printf "%s\n" '                           cflags for s390x tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-sh4=VALUE'
> +  printf "%s\n" '                           cflags for sh4 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-tricore=VALUE'
> +  printf "%s\n" '                           cflags for tricore tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-x86-64=VALUE'
> +  printf "%s\n" '                           cflags for x86_64 tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-xtensa=VALUE'
> +  printf "%s\n" '                           cflags for xtensa tcg tests'
> +  printf "%s\n" '  --tcg-tests-cross-cflags-xtensaeb=VALUE'
> +  printf "%s\n" '                           cflags for xtensaeb tcg tests'
>    printf "%s\n" '  --tls-priority=VALUE     Default TLS protocol/cipher priority string'
>    printf "%s\n" '                           [NORMAL]'
>    printf "%s\n" '  --with-coroutine=CHOICE  coroutine backend to use (choices:'
> @@ -281,6 +375,10 @@ _meson_option_parse() {
>      --disable-cocoa) printf "%s" -Dcocoa=disabled ;;
>      --enable-colo-proxy) printf "%s" -Dcolo_proxy=enabled ;;
>      --disable-colo-proxy) printf "%s" -Dcolo_proxy=disabled ;;
> +    --container-command=*) quote_sh "-Dcontainer_command=$2" ;;
> +    --container-registry=*) quote_sh "-Dcontainer_registry=$2" ;;
> +    --enable-containers) printf "%s" -Dcontainers=true ;;
> +    --disable-containers) printf "%s" -Dcontainers=false ;;
>      --enable-coreaudio) printf "%s" -Dcoreaudio=enabled ;;
>      --disable-coreaudio) printf "%s" -Dcoreaudio=disabled ;;
>      --with-coroutine=*) quote_sh "-Dcoroutine_backend=$2" ;;
> @@ -517,6 +615,50 @@ _meson_option_parse() {
>      --disable-tcg) printf "%s" -Dtcg=disabled ;;
>      --enable-tcg-interpreter) printf "%s" -Dtcg_interpreter=true ;;
>      --disable-tcg-interpreter) printf "%s" -Dtcg_interpreter=false ;;
> +    --tcg-tests-cross-cc-aarch64=*) quote_sh "-Dtcg_tests_cross_cc_aarch64=$2" ;;
> +    --tcg-tests-cross-cc-aarch64-be=*) quote_sh "-Dtcg_tests_cross_cc_aarch64_be=$2" ;;
> +    --tcg-tests-cross-cc-alpha=*) quote_sh "-Dtcg_tests_cross_cc_alpha=$2" ;;
> +    --tcg-tests-cross-cc-arm=*) quote_sh "-Dtcg_tests_cross_cc_arm=$2" ;;
> +    --tcg-tests-cross-cc-hexagon=*) quote_sh "-Dtcg_tests_cross_cc_hexagon=$2" ;;
> +    --tcg-tests-cross-cc-hppa=*) quote_sh "-Dtcg_tests_cross_cc_hppa=$2" ;;
> +    --tcg-tests-cross-cc-i386=*) quote_sh "-Dtcg_tests_cross_cc_i386=$2" ;;
> +    --tcg-tests-cross-cc-loongarch64=*) quote_sh "-Dtcg_tests_cross_cc_loongarch64=$2" ;;
> +    --tcg-tests-cross-cc-m68k=*) quote_sh "-Dtcg_tests_cross_cc_m68k=$2" ;;
> +    --tcg-tests-cross-cc-mips=*) quote_sh "-Dtcg_tests_cross_cc_mips=$2" ;;
> +    --tcg-tests-cross-cc-mips64=*) quote_sh "-Dtcg_tests_cross_cc_mips64=$2" ;;
> +    --tcg-tests-cross-cc-mips64el=*) quote_sh "-Dtcg_tests_cross_cc_mips64el=$2" ;;
> +    --tcg-tests-cross-cc-or1k=*) quote_sh "-Dtcg_tests_cross_cc_or1k=$2" ;;
> +    --tcg-tests-cross-cc-ppc64=*) quote_sh "-Dtcg_tests_cross_cc_ppc64=$2" ;;
> +    --tcg-tests-cross-cc-ppc64le=*) quote_sh "-Dtcg_tests_cross_cc_ppc64le=$2" ;;
> +    --tcg-tests-cross-cc-riscv64=*) quote_sh "-Dtcg_tests_cross_cc_riscv64=$2" ;;
> +    --tcg-tests-cross-cc-s390x=*) quote_sh "-Dtcg_tests_cross_cc_s390x=$2" ;;
> +    --tcg-tests-cross-cc-sh4=*) quote_sh "-Dtcg_tests_cross_cc_sh4=$2" ;;
> +    --tcg-tests-cross-cc-tricore=*) quote_sh "-Dtcg_tests_cross_cc_tricore=$2" ;;
> +    --tcg-tests-cross-cc-x86-64=*) quote_sh "-Dtcg_tests_cross_cc_x86_64=$2" ;;
> +    --tcg-tests-cross-cc-xtensa=*) quote_sh "-Dtcg_tests_cross_cc_xtensa=$2" ;;
> +    --tcg-tests-cross-cc-xtensaeb=*) quote_sh "-Dtcg_tests_cross_cc_xtensaeb=$2" ;;
> +    --tcg-tests-cross-cflags-aarch64=*) quote_sh "-Dtcg_tests_cross_cflags_aarch64=$2" ;;
> +    --tcg-tests-cross-cflags-aarch64-be=*) quote_sh "-Dtcg_tests_cross_cflags_aarch64_be=$2" ;;
> +    --tcg-tests-cross-cflags-alpha=*) quote_sh "-Dtcg_tests_cross_cflags_alpha=$2" ;;
> +    --tcg-tests-cross-cflags-arm=*) quote_sh "-Dtcg_tests_cross_cflags_arm=$2" ;;
> +    --tcg-tests-cross-cflags-hexagon=*) quote_sh "-Dtcg_tests_cross_cflags_hexagon=$2" ;;
> +    --tcg-tests-cross-cflags-hppa=*) quote_sh "-Dtcg_tests_cross_cflags_hppa=$2" ;;
> +    --tcg-tests-cross-cflags-i386=*) quote_sh "-Dtcg_tests_cross_cflags_i386=$2" ;;
> +    --tcg-tests-cross-cflags-loongarch64=*) quote_sh "-Dtcg_tests_cross_cflags_loongarch64=$2" ;;
> +    --tcg-tests-cross-cflags-m68k=*) quote_sh "-Dtcg_tests_cross_cflags_m68k=$2" ;;
> +    --tcg-tests-cross-cflags-mips=*) quote_sh "-Dtcg_tests_cross_cflags_mips=$2" ;;
> +    --tcg-tests-cross-cflags-mips64=*) quote_sh "-Dtcg_tests_cross_cflags_mips64=$2" ;;
> +    --tcg-tests-cross-cflags-mips64el=*) quote_sh "-Dtcg_tests_cross_cflags_mips64el=$2" ;;
> +    --tcg-tests-cross-cflags-or1k=*) quote_sh "-Dtcg_tests_cross_cflags_or1k=$2" ;;
> +    --tcg-tests-cross-cflags-ppc64=*) quote_sh "-Dtcg_tests_cross_cflags_ppc64=$2" ;;
> +    --tcg-tests-cross-cflags-ppc64le=*) quote_sh "-Dtcg_tests_cross_cflags_ppc64le=$2" ;;
> +    --tcg-tests-cross-cflags-riscv64=*) quote_sh "-Dtcg_tests_cross_cflags_riscv64=$2" ;;
> +    --tcg-tests-cross-cflags-s390x=*) quote_sh "-Dtcg_tests_cross_cflags_s390x=$2" ;;
> +    --tcg-tests-cross-cflags-sh4=*) quote_sh "-Dtcg_tests_cross_cflags_sh4=$2" ;;
> +    --tcg-tests-cross-cflags-tricore=*) quote_sh "-Dtcg_tests_cross_cflags_tricore=$2" ;;
> +    --tcg-tests-cross-cflags-x86-64=*) quote_sh "-Dtcg_tests_cross_cflags_x86_64=$2" ;;
> +    --tcg-tests-cross-cflags-xtensa=*) quote_sh "-Dtcg_tests_cross_cflags_xtensa=$2" ;;
> +    --tcg-tests-cross-cflags-xtensaeb=*) quote_sh "-Dtcg_tests_cross_cflags_xtensaeb=$2" ;;
>      --tls-priority=*) quote_sh "-Dtls_priority=$2" ;;
>      --enable-tools) printf "%s" -Dtools=enabled ;;
>      --disable-tools) printf "%s" -Dtools=disabled ;;


  reply	other threads:[~2026-09-10 20:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-10 18:14 [PATCH 0/9] testing: various docker clean-ups post meson tcg conversion Alex Bennée
2026-09-10 18:14 ` [PATCH 1/9] scripts/meson-buildoptions.sh: update missing options Alex Bennée
2026-09-10 20:03   ` Fabiano Rosas [this message]
2026-09-10 22:17     ` Alex Bennée
2026-09-10 18:14 ` [PATCH 2/9] tests/tcg: improve check for working cross compilers Alex Bennée
2026-09-10 18:14 ` [PATCH 3/9] tests/tcg: prefix meson built docker tags with qemu/ Alex Bennée
2026-09-10 18:14 ` [PATCH 4/9] tests/tcg: use --add-current-user when building containers Alex Bennée
2026-09-10 18:15 ` [PATCH 5/9] tests/docker: add container registry to configure and use Alex Bennée
2026-09-10 18:15 ` [PATCH 6/9] tests/docker: remove used _read_qemu_dockerfile Alex Bennée
2026-09-10 18:15 ` [PATCH 7/9] tests/docker: strip remaining caching logic from docker.py Alex Bennée
2026-09-10 18:15 ` [PATCH 8/9] tests/docker: add specific command to parser Alex Bennée
2026-09-10 18:15 ` [PATCH 9/9] tests/docker: swap --quiet for --verbose Alex Bennée
2026-09-12  8:46 ` [PATCH 0/9] testing: various docker clean-ups post meson tcg conversion Richard Henderson
2026-09-12 17:24   ` Alex Bennée
2026-09-12 10:52 ` Richard Henderson
2026-09-12 19:37   ` Alex Bennée

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87jyosub4v.fsf@suse.de \
    --to=farosas@suse.de \
    --cc=alex.bennee@linaro.org \
    --cc=berrange@redhat.com \
    --cc=brad@comstyle.com \
    --cc=brian.cain@oss.qualcomm.com \
    --cc=cohuck@redhat.com \
    --cc=crosa@redhat.com \
    --cc=gaosong@loongson.cn \
    --cc=imp@bsdimp.com \
    --cc=jiaxun.yang@flygoat.com \
    --cc=jsnow@redhat.com \
    --cc=kevans@freebsd.org \
    --cc=marcandre.lureau@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@mailo.com \
    --cc=pierrick.bouvier@oss.qualcomm.com \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=th.huth+qemu@posteo.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.