[gnome-continuous] Set all auto-features as enabled with Meson
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] Set all auto-features as enabled with Meson
- Date: Sun, 7 Oct 2018 20:40:08 +0000 (UTC)
commit 13e5b3c5127ba318cb7bb7c4de6b53b74528886f
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Oct 5 13:18:46 2018 +0100
Set all auto-features as enabled with Meson
Meson added "auto features", i.e. options that can have a tri-state
"auto/enable/disable" value. Auto-builders, like Continuous, should only
ever rely on explicit configuration option, in order to increase the
likelihood of a reproducible build; for this use case, Meson allows to
automatically set all auto-features to the "enable" state. This means
that, for any Meson-based module, any feature detection that uses an
auto-feature will either succeed or fail because of a missing
dependency, and it's up to us to enable or disable the feature
explicitly in the module's "config-opts" key.
src/ostree-build-compile-one | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/ostree-build-compile-one b/src/ostree-build-compile-one
index 9a28520..58674f4 100755
--- a/src/ostree-build-compile-one
+++ b/src/ostree-build-compile-one
@@ -114,6 +114,7 @@ def main(args):
]
meson_configargs = [
'--wrap-mode=nodownload',
+ '--auto-features=enabled',
]
makeargs = ['make']
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]