Docs: Spack info option updates (#33376)

This commit is contained in:
Tamara Dahlgren 2022-10-18 12:11:21 -07:00 committed by GitHub
parent c6c5e56ec1
commit 13356f3bfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 10 deletions

View file

@ -85,7 +85,7 @@ All packages whose names or descriptions contain documentation:
To get more information on a particular package from `spack list`, use To get more information on a particular package from `spack list`, use
`spack info`. Just supply the name of a package: `spack info`. Just supply the name of a package:
.. command-output:: spack info mpich .. command-output:: spack info --all mpich
Most of the information is self-explanatory. The *safe versions* are Most of the information is self-explanatory. The *safe versions* are
versions that Spack knows the checksum for, and it will use the versions that Spack knows the checksum for, and it will use the

View file

@ -32,7 +32,7 @@ oneAPI packages or use::
For more information on a specific package, do:: For more information on a specific package, do::
spack info <package-name> spack info --all <package-name>
Intel no longer releases new versions of Parallel Studio, which can be Intel no longer releases new versions of Parallel Studio, which can be
used in Spack via the :ref:`intelpackage`. All of its components can used in Spack via the :ref:`intelpackage`. All of its components can

View file

@ -3369,27 +3369,44 @@ The name and order in which the phases will be executed can be obtained either r
docs at :py:mod:`~.spack.build_systems`, or using the ``spack info`` command: docs at :py:mod:`~.spack.build_systems`, or using the ``spack info`` command:
.. code-block:: console .. code-block:: console
:emphasize-lines: 13,14 :emphasize-lines: 26-27
$ spack info m4 $ spack info --phases m4
AutotoolsPackage: m4 AutotoolsPackage: m4
Homepage: https://www.gnu.org/software/m4/m4.html
Description:
GNU M4 is an implementation of the traditional Unix macro processor.
Homepage: https://www.gnu.org/software/m4/m4.html
Preferred version:
1.4.19 https://ftpmirror.gnu.org/m4/m4-1.4.19.tar.gz
Safe versions: Safe versions:
1.4.17 ftp://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz 1.4.19 https://ftpmirror.gnu.org/m4/m4-1.4.19.tar.gz
1.4.18 https://ftpmirror.gnu.org/m4/m4-1.4.18.tar.gz
1.4.17 https://ftpmirror.gnu.org/m4/m4-1.4.17.tar.gz
Deprecated versions:
None
Variants: Variants:
Name Default Description Name [Default] When Allowed values Description
============== ==== ============== ===============================
sigsegv on Build the libsigsegv dependency sigsegv [on] -- on, off Build the libsigsegv dependency
Installation Phases: Installation Phases:
autoreconf configure build install autoreconf configure build install
Build Dependencies: Build Dependencies:
diffutils gnuconfig libsigsegv
Link Dependencies:
libsigsegv libsigsegv
... Run Dependencies:
None
Typically, phases have default implementations that fit most of the common cases: Typically, phases have default implementations that fit most of the common cases: