GNOME Bugzilla – Bug 762807
Show sane default value for build workers preference
Last modified: 2016-05-05 14:42:17 UTC
The default value for the "number of parallel build workers preference" is -1. That's fine for the gsettings schema but it shouldn't be displayed to users in the preferences dialog, it should be converted into the actual value that would be used.
Created attachment 327351 [details] [review] prefs: show better values than 0 and -1 for parallel build workers
Fixed, however we don't show the actual value that would be used because that would be really weird to hit + from 4 and get 1. Instead, we use textual descriptions. Not happy about using the word "Default" in here, but the default value is sort of nebulous, and up to the build system to define. For example, in autotools, we default to N_CPU + 1. For 0, we show "Number of CPU". Which I'd love better wording for... Attachment 327351 [details] pushed as a5eb1b6 - prefs: show better values than 0 and -1 for parallel build workers