From 8bc3f7d726d18d2c76e5bcc64d4160ae950b2cae Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Mon, 9 Jul 2018 15:06:10 -0600 Subject: 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 --- etc/spack/defaults/config.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc') diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml index e4914e3fa3..28628a3d49 100644 --- a/etc/spack/defaults/config.yaml +++ b/etc/spack/defaults/config.yaml @@ -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 -- cgit v1.2.3-60-g2f50