Skip to content

Commit 8beebcd

Browse files
committed
Add 'spack repo list' to tutorial repo set up process
Signed-off-by: tldahlgren <dahlgren1@llnl.gov>
1 parent 24491a6 commit 8beebcd

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

outputs/packaging/repo-list.out

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
$ spack repo list
2+
[+] tutorial v2.2 /home/spack/repos/spack_repo/tutorial
3+
[+] builtin v2.2 /home/spack/.spack/package_repos/fncqgg4/repos/spack_repo/builtin

tutorial_packaging.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ In order to avoid modifying your Spack installation with the package we are crea
4343
:language: console
4444

4545
Doing this ensures changes we make here do not adversely affect other parts of the tutorial.
46+
47+
Now let's look at the available repositories to us using the `spack repo list` command:
48+
49+
.. literalinclude:: outputs/packaging/repo-list.out
50+
:language: console
51+
4652
You can find out more about repositories at `Package Repositories <https://spack.readthedocs.io/en/latest/repositories.html>`_ and the command at `spack repo <https://spack.readthedocs.io/en/latest/repositories.html#cmd-spack-repo>`_.
4753

4854

0 commit comments

Comments
 (0)