summaryrefslogtreecommitdiff
path: root/lib/spack/docs/workflows.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/workflows.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/workflows.rst')
-rw-r--r--lib/spack/docs/workflows.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/spack/docs/workflows.rst b/lib/spack/docs/workflows.rst
index 371fce35a2..454cb15ecc 100644
--- a/lib/spack/docs/workflows.rst
+++ b/lib/spack/docs/workflows.rst
@@ -541,9 +541,9 @@ spec format strings, as shown in the example below.
.. code-block:: yaml
projections:
- zlib: ${PACKAGE}-${VERSION}
- ^mpi: ${PACKAGE}-${VERSION}/${DEP:mpi:PACKAGE}-${DEP:mpi:VERSION}-${COMPILERNAME}-${COMPILERVER}
- all: ${PACKAGE}-${VERSION}/${COMPILERNAME}-${COMPILERVER}
+ zlib: {name}-{version}
+ ^mpi: {name}-{version}/{^mpi.name}-{^mpi.version}-{compiler.name}-{compiler.version}
+ all: {name}-{version}/{compiler.name}-{compiler.version}
The entries in the projections configuration file must all be either
specs or the keyword ``all``. For each spec, the projection used will