Skip to content

Commit bd8db28

Browse files
committed
fix various issues
1 parent f3f1e6d commit bd8db28

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tutorial_buildsystems.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ This will open the ``AutotoolsPackage`` file in your text editor.
9494
long examples. We only show what is relevant to the packager.
9595

9696

97-
.. literalinclude:: _spack_root/lib/spack/spack/build_systems/autotools.py
97+
.. literalinclude:: _spack_packages/repos/spack_repo/builtin/build_systems/autotools.py
9898
:emphasize-lines: 2,4,28-37
9999
:lines: 138-158,589-617
100100
:linenos:
@@ -178,7 +178,7 @@ Let's also take a look inside the ``MakefilePackage`` class:
178178
Take note of the following:
179179

180180

181-
.. literalinclude:: _spack_root/lib/spack/spack/build_systems/makefile.py
181+
.. literalinclude:: _spack_packages/repos/spack_repo/builtin/build_systems/makefile.py
182182
:language: python
183183
:emphasize-lines: 60,64,69
184184
:lines: 40-111
@@ -445,7 +445,7 @@ Let's look at these defaults in the ``CMakePackage`` class in the ``_std_args()`
445445
446446
$ spack edit --build-system cmake
447447
448-
.. literalinclude:: _spack_root/lib/spack/spack/build_systems/cmake.py
448+
.. literalinclude:: _spack_packages/repos/spack_repo/builtin/build_systems/cmake.py
449449
:language: python
450450
:lines: 167-300
451451
:emphasize-lines: 87,96

tutorial_configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ First, we will look at the default ``packages.yaml`` file.
359359
$ spack config --scope=defaults:base edit packages
360360
361361
362-
.. literalinclude:: _spack_root/etc/spack/defaults/packages.yaml
362+
.. literalinclude:: _spack_root/etc/spack/defaults/base/packages.yaml
363363
:language: yaml
364364
:emphasize-lines: 51
365365

tutorial_environments.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ Note that the reported version *does* match that of our installation.
473473
Reproducing builds
474474
------------------
475475

476-
Spack environments provide users with *virtual environments* similar to `Python venv <https://docs.python.org/3/library/venv.html>`_ and `Conda environments <https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#>`_).
476+
Spack environments provide users with *virtual environments* similar to `Python venv <https://docs.python.org/3/library/venv.html>`_ and `Conda environments <https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html>`__).
477477
The goal is to ensure packages in one environment are kept separate from those of another.
478478
These environments can be managed by Spack or independent.
479479
In either case, their environment files can be used to reproduce builds by other users and on other machines.

0 commit comments

Comments
 (0)