Add ccache support (#3761)

If the user sets "ccache: true" in spack's config.yaml, Spack will use an available
ccache executable when compiling c/c++ code. This feature is disabled by default
(i.e. "ccache: false") and the documentation is updated with how to enable
ccache support
This commit is contained in:
Christoph Junghans
2018-07-09 15:06:10 -06:00
committed by scheibelp
parent 8770957b7a
commit 8bc3f7d726
5 changed files with 41 additions and 1 deletions

View File

@@ -90,3 +90,7 @@ config:
# If set to 4, for example, `spack install` will run `make -j4`.
# If not set, all available cores are used by default.
# build_jobs: 4
# If set to true, spack will use ccache to cache c compiles.
ccache: false