From cf5e850f27cc7cdd4101e4f610f519e2111f4f9a Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Mon, 10 Feb 2014 09:58:09 -0800 Subject: Add spack patch docs to build process section. --- lib/spack/docs/packaging_guide.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lib') 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`` ~~~~~~~~~~~~~~~~~ -- cgit v1.2.3-70-g09d2