diff options
author | Christoph Junghans <christoph.junghans@gmail.com> | 2018-07-09 15:06:10 -0600 |
---|---|---|
committer | scheibelp <scheibel1@llnl.gov> | 2018-07-09 14:06:10 -0700 |
commit | 8bc3f7d726d18d2c76e5bcc64d4160ae950b2cae (patch) | |
tree | f6a0cb0e0c55f11253990d4971e96358eea2ec94 /etc | |
parent | 8770957b7ad26f9697663c39b43f493ac8ecd79c (diff) | |
download | spack-8bc3f7d726d18d2c76e5bcc64d4160ae950b2cae.tar.gz spack-8bc3f7d726d18d2c76e5bcc64d4160ae950b2cae.tar.bz2 spack-8bc3f7d726d18d2c76e5bcc64d4160ae950b2cae.tar.xz spack-8bc3f7d726d18d2c76e5bcc64d4160ae950b2cae.zip |
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
Diffstat (limited to 'etc')
-rw-r--r-- | etc/spack/defaults/config.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
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 |