diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2014-02-10 09:58:09 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-02-10 09:58:09 -0800 |
commit | cf5e850f27cc7cdd4101e4f610f519e2111f4f9a (patch) | |
tree | 286abd3b8caccd19044552896be98a45305d1e57 /lib | |
parent | 7152c82ec714fcb2441c8ffc8b5a87445838a7c6 (diff) | |
download | spack-cf5e850f27cc7cdd4101e4f610f519e2111f4f9a.tar.gz spack-cf5e850f27cc7cdd4101e4f610f519e2111f4f9a.tar.bz2 spack-cf5e850f27cc7cdd4101e4f610f519e2111f4f9a.tar.xz spack-cf5e850f27cc7cdd4101e4f610f519e2111f4f9a.zip |
Add spack patch docs to build process section.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/docs/packaging_guide.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/spack/docs/packaging_guide.rst b/lib/spack/docs/packaging_guide.rst index 8b1576ae88..1c3a971aba 100644 --- a/lib/spack/docs/packaging_guide.rst +++ b/lib/spack/docs/packaging_guide.rst @@ -1314,6 +1314,18 @@ the downloaded archive in its temporary directory, where it will be built by ``spack install``. Similar to ``fetch``, if the archive has already been expanded, ``stage`` is idempotent. +``spack patch`` +~~~~~~~~~~~~~~~~~ + +After staging, Spack applies patches to downloaded packages, if any +have been specified in the package file. This command will run the +install process throught he fetch, stage, and patch phases. Spack +keeps track of whether patches have already been applied and skips +this step if they have been. If Spack discovers that patches didn't +apply cleanly on some previous run, then it will restage the entire +package before patching. + + ``spack clean`` ~~~~~~~~~~~~~~~~~ |