summaryrefslogtreecommitdiff
path: root/lib/spack/docs/config_yaml.rst
diff options
context:
space:
mode:
authorGreg Becker <becker33@llnl.gov>2019-04-17 18:21:40 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2019-04-17 18:21:40 -0700
commitf242f5f8a99f6fa5bd2739a4f1fdd9b41c44e92e (patch)
treed3a2e4b2b94c8507028058055c4fa04f01841ac4 /lib/spack/docs/config_yaml.rst
parent49334f006d54636a5ed9c81093c913c323b65995 (diff)
downloadspack-f242f5f8a99f6fa5bd2739a4f1fdd9b41c44e92e.tar.gz
spack-f242f5f8a99f6fa5bd2739a4f1fdd9b41c44e92e.tar.bz2
spack-f242f5f8a99f6fa5bd2739a4f1fdd9b41c44e92e.tar.xz
spack-f242f5f8a99f6fa5bd2739a4f1fdd9b41c44e92e.zip
Features: Improve Spec format strings (#10556)
* Update spec format to simpler syntax, maintain backwards compatibility * Switch to new spec.format method throughout internals * update package files for new format strings * documentation and minor code cleanup. removed nonsensical variant sigils
Diffstat (limited to 'lib/spack/docs/config_yaml.rst')
-rw-r--r--lib/spack/docs/config_yaml.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/docs/config_yaml.rst b/lib/spack/docs/config_yaml.rst
index 03e9060d45..ad2ff736af 100644
--- a/lib/spack/docs/config_yaml.rst
+++ b/lib/spack/docs/config_yaml.rst
@@ -39,7 +39,7 @@ default path uses the full 32 characters.
Secondly, it is
also possible to modify the entire installation scheme. By default
Spack uses
-``${ARCHITECTURE}/${COMPILERNAME}-${COMPILERVER}/${PACKAGE}-${VERSION}-${HASH}``
+``{architecture}/{compiler.name}-{compiler.version}/{name}-{version}-{hash}``
where the tokens that are available for use in this directive are the
same as those understood by the ``Spec.format`` method. Using this parameter it
is possible to use a different package layout or reduce the depth of
@@ -48,7 +48,7 @@ the installation paths. For example
.. code-block:: yaml
config:
- install_path_scheme: '${PACKAGE}/${VERSION}/${HASH:7}'
+ install_path_scheme: '{name}/{version}/{hash:7}'
would install packages into sub-directories using only the package
name, version and a hash length of 7 characters.