@@ -132,7 +132,7 @@ Adding Package Documentation
132132
133133First, let's fill in the documentation.
134134
135- Bring mpileaks' ``package.py `` file back up in your editor with the ``spack edit `` command:
135+ Bring `` tutorial- mpileaks`` ' ``package.py `` file back up in your editor with the ``spack edit `` command:
136136
137137.. code-block :: console
138138
@@ -158,7 +158,7 @@ Now make the changes and additions to your ``package.py`` file.
158158The resulting package should contain the following information:
159159
160160.. literalinclude :: tutorial/examples/packaging/1.package.py
161- :caption: mpileaks/package.py (from tutorial/examples/packaging/1.package.py)
161+ :caption: tutorial- mpileaks/package.py (from tutorial/examples/packaging/1.package.py)
162162 :lines: 5-
163163 :language: python
164164 :emphasize-lines: 6,8,11,13
@@ -212,7 +212,7 @@ The ``mpileaks`` software relies on three third-party libraries:
212212
213213 Fortunately, all of these dependencies are built-in packages in Spack; otherwise, we would have to create packages for them as well.
214214
215- Bring mpileaks' ``package.py `` file back up with the ``spack edit `` command:
215+ Bring `` tutorial- mpileaks`` ' ``package.py `` file back up with the ``spack edit `` command:
216216
217217.. code-block :: console
218218
@@ -359,7 +359,7 @@ has a ``prefix`` property containing its installation path.
359359
360360So let's add the configuration arguments for specifying the paths to the two concrete dependencies in the ``configure_args `` method of our package.
361361
362- Bring mpileaks' ``package.py `` file back up with the ``spack edit `` command:
362+ Bring `` tutorial- mpileaks`` ' ``package.py `` file back up with the ``spack edit `` command:
363363
364364.. code-block :: console
365365
@@ -413,7 +413,7 @@ Let's add the variant to expect an ``int`` value with a default of ``0``.
413413Setting the default to ``0 `` effectively disables the option.
414414Change ``configure_args `` to retrieve the value and add the corresponding configure arguments when a non-zero value is provided by the user.
415415
416- Bring mpileaks' ``package.py `` file back up with the ``spack edit `` command:
416+ Bring `` tutorial- mpileaks`` ' ``package.py `` file back up with the ``spack edit `` command:
417417
418418.. code-block :: console
419419
@@ -435,7 +435,7 @@ Now run the installation again with the ``--verbose`` install option -- to get m
435435.. literalinclude :: outputs/packaging/install-mpileaks-4.out
436436 :language: console
437437
438- Notice the addition of the two stack start arguments in the configure command that appears at the end of the highlighted line after mpileaks' ``Executing phase: 'configure' ``.
438+ Notice the addition of the two stack start arguments in the configure command that appears at the end of the highlighted line after `` tutorial- mpileaks`` ' ``Executing phase: 'configure' ``.
439439
440440------------
441441Adding Tests
0 commit comments