Skip to content

Commit 4d02c5a

Browse files
committed
A couple more small changes
1 parent a80c530 commit 4d02c5a

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

tutorial_environments.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ So, adding specs to an environment at a later point in time will not cause exist
199199
`install-level build parallelism <https://spack.readthedocs.io/en/latest/packaging_guide.html#install-level-build-parallelism>`_.
200200

201201
^^^^^^^^^^^^^^
202-
Using packages
202+
Using Packages
203203
^^^^^^^^^^^^^^
204204

205205
Spack environments provide a convenient way to use your installed packages by automatically making them available in your shell environment.
@@ -307,10 +307,10 @@ The output shows the special ``spack.yaml`` configuration file that Spack uses t
307307

308308
There are several important parts of this file:
309309

310-
* ``specs:``: The list of package specs to install in the environment.
311-
* ``view:``: Controls whether the environment generates a *view* (the
310+
* ``specs:`` The list of package specs to install in the environment.
311+
* ``view:`` Controls whether the environment generates a *view* (the
312312
directory tree with symlinks to installed packages we discussed earlier).
313-
* ``concretizer:unify:``: Determines how package specs in the environment are
313+
* ``concretizer:unify:`` Determines how package specs in the environment are
314314
concretized together to reduce duplicated dependencies when possible.
315315

316316
The ``specs`` list should look familiar -- these are the package specs we've been modifying previously with ``spack add`` and ``spack install``.
@@ -353,7 +353,9 @@ Change it to include the ``packages:mpi:require`` entry below:
353353
require: [mpich]
354354
355355
# add package specs to the `specs` list
356-
specs: [tcl, trilinos]
356+
specs:
357+
- tcl
358+
- trilinos
357359
358360
359361
.. note::

0 commit comments

Comments
 (0)