Updates to Configuration Files docs for SC18#9801
Conversation
lib/spack/docs/configuration.rst
Outdated
| @@ -109,26 +111,25 @@ and `scopeb`, to a `spack spec` command: | |||
| Command-line scopes come *after* the ``spack`` command and *before* the | |||
|
I agree with the change of terminology (command-line scope -> custom scope) There is a remaining use of the term "command-line scope" that needs to be updated. Once that's done ping me and I'll merge this. |
|
I like the new terminology. |
|
You might consider changing the help text for |
|
I'm looking at some of the internals in |
Internally it may assign variable names like
They are treated as separate scopes so one will definitely have precedence, and Spack should arrange when pushing scopes to preserve the command line scope (as we refer to it here) as the highest precedence one |
I think the only controversial change here is a change in how our configuration scopes are presented. Previously, we listed the custom scope added via
--config-scopeas "command line" scope. However, there is actually a higher precedence scope of build settings listed on the command line. I separated "command line" into "custom" and "command line" to distinguish this. Let me know how people feel about this change before I make the same change to the Configuration Tutorial.