diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-03-02 17:18:46 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-04-20 11:17:34 +0200 |
commit | 5a347a735232750f8b524aeaea68e9b6f1647f72 (patch) | |
tree | 68aec809f0a1ac76315d716c15bec07aa7c02b3b /configure | |
parent | bc848265bca784b8807361e355eabc3d401d0561 (diff) | |
download | qemu-5a347a735232750f8b524aeaea68e9b6f1647f72.zip qemu-5a347a735232750f8b524aeaea68e9b6f1647f72.tar.gz qemu-5a347a735232750f8b524aeaea68e9b6f1647f72.tar.bz2 |
build-sys: prevent meson from downloading wrapped subprojects
The following patches are going to introduce meson wrap dependencies,
which is a solution to download and build missing dependencies.
The QEMU build-system will do network access with no way to avoid the
fallback. As a start, hardcode "--wrap-mode=nodownload" in configure, so
that wraps would be used only after a conscious decision of the user to
use "meson subprojects download" (before running configure).
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230302131848.1527460-3-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2615,6 +2615,10 @@ if test "$skip_meson" = no; then rm -rf meson-private meson-info meson-logs + # Prevent meson from automatically downloading wrapped subprojects when missing. + # You can use 'meson subprojects download' before running configure. + meson_option_add "--wrap-mode=nodownload" + # Built-in options test "$bindir" != "bin" && meson_option_add "-Dbindir=$bindir" test "$default_feature" = no && meson_option_add -Dauto_features=disabled |