diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/docs/packaging_guide.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/spack/docs/packaging_guide.rst b/lib/spack/docs/packaging_guide.rst index ea5cc347ce..27705b3dbf 100644 --- a/lib/spack/docs/packaging_guide.rst +++ b/lib/spack/docs/packaging_guide.rst @@ -2397,13 +2397,15 @@ this because uninstalling the dependency would break the package. ``build``, ``link``, and ``run`` dependencies all affect the hash of Spack packages (along with ``sha256`` sums of patches and archives used to build the -package, and a [canonical hash](https://github.com/spack/spack/pull/28156) of +package, and a `canonical hash <https://github.com/spack/spack/pull/28156>`_ of the ``package.py`` recipes). ``test`` dependencies do not affect the package hash, as they are only used to construct a test environment *after* building and installing a given package installation. Older versions of Spack did not include -build dependencies in the hash, but this has been -[fixed](https://github.com/spack/spack/pull/28504) as of [Spack -``v0.18``](https://github.com/spack/spack/releases/tag/v0.18.0) +build dependencies in the hash, but this has been +`fixed <https://github.com/spack/spack/pull/28504>`_ as of |Spack v0.18|_. + +.. |Spack v0.18| replace:: Spack ``v0.18`` +.. _Spack v0.18: https://github.com/spack/spack/releases/tag/v0.18.0 If the dependency type is not specified, Spack uses a default of ``('build', 'link')``. This is the common case for compiler languages. |