Re: RFC: Pass --auto-features=enabled in meson

2018-07-24 Thread Igor Gnatenko
On Tue, Jul 24, 2018 at 3:43 PM Stephen Gallagher wrote: > On Mon, Jul 23, 2018 at 10:28 PM wrote: > >> On Mon, Jul 23, 2018 at 8:27 PM, Josh Boyer >> wrote: >> > My biggest objection here is that it blindly enables things, which >> > continues to make our package set a web of

Re: RFC: Pass --auto-features=enabled in meson

2018-07-24 Thread Stephen Gallagher
On Mon, Jul 23, 2018 at 10:28 PM wrote: > On Mon, Jul 23, 2018 at 8:27 PM, Josh Boyer > wrote: > > My biggest objection here is that it blindly enables things, which > > continues to make our package set a web of inter-dependencies and > > makes any attempts at minimization harder. I don't

Re: RFC: Pass --auto-features=enabled in meson

2018-07-24 Thread Igor Gnatenko
On Tue, Jul 24, 2018 at 4:23 AM Josh Boyer wrote: > On Mon, Jul 23, 2018 at 6:40 PM Igor Gnatenko > wrote: > > > > Hello, > > > > meson 0.47.0 has new option type - feature (tri-state option - > enabled/disabled/auto). It is quite common that in autofoo and less in > cmake worlds people rely on

Re: RFC: Pass --auto-features=enabled in meson

2018-07-23 Thread mcatanzaro
On Mon, Jul 23, 2018 at 8:27 PM, Josh Boyer wrote: My biggest objection here is that it blindly enables things, which continues to make our package set a web of inter-dependencies and makes any attempts at minimization harder. I don't think we should default to building everything in here. I

Re: RFC: Pass --auto-features=enabled in meson

2018-07-23 Thread mcatanzaro
On Mon, Jul 23, 2018 at 4:44 PM, Igor Gnatenko wrote: I believe that for distribution we should make sure that all default features are enabled and if not, packager should explicitly disable feature. For instance when I was testing some RPM patches for new compression types, it was disabling

Re: RFC: Pass --auto-features=enabled in meson

2018-07-23 Thread Josh Boyer
On Mon, Jul 23, 2018 at 6:40 PM Igor Gnatenko wrote: > > Hello, > > meson 0.47.0 has new option type - feature (tri-state option - > enabled/disabled/auto). It is quite common that in autofoo and less in cmake > worlds people rely on auto-detection of dependencies and enabling features > based

RFC: Pass --auto-features=enabled in meson

2018-07-23 Thread Igor Gnatenko
Hello, meson 0.47.0 has new option type - feature (tri-state option - enabled/disabled/auto). It is quite common that in autofoo and less in cmake worlds people rely on auto-detection of dependencies and