[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/4] build-sys: prevent meson from downloading wrapped subproject
From: |
marcandre . lureau |
Subject: |
[PATCH 2/4] build-sys: prevent meson from downloading wrapped subprojects |
Date: |
Thu, 2 Mar 2023 17:18:46 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
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>
---
configure | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure b/configure
index 2a8a9be8a1..02b4aa4ce9 100755
--- a/configure
+++ b/configure
@@ -2585,6 +2585,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
--
2.39.2
- [PATCH 0/4] Add meson wrap fallback for slirp & dtc, marcandre . lureau, 2023/03/02
- [PATCH 1/4] mtest2make.py: teach suite name that are just "PROJECT", marcandre . lureau, 2023/03/02
- [PATCH 2/4] build-sys: prevent meson from downloading wrapped subprojects,
marcandre . lureau <=
- [PATCH 3/4] build-sys: add slirp.wrap, marcandre . lureau, 2023/03/02
- [PATCH 4/4] build-sys: replace dtc submodule with dtc.wrap, marcandre . lureau, 2023/03/02
- Re: [PATCH 0/4] Add meson wrap fallback for slirp & dtc, Daniel P . Berrangé, 2023/03/06
- Re: [PATCH 0/4] Add meson wrap fallback for slirp & dtc, Paolo Bonzini, 2023/03/06