summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CMake.rst
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2018-01-24 18:15:08 +0000
committerPaul Robinson <paul.robinson@sony.com>2018-01-24 18:15:08 +0000
commit052f14ef5a662b58d6db4acfae253252bcb6bdcd (patch)
tree8e021490d032ee2d343448b35850795b9be5094d /llvm/docs/CMake.rst
parentc4796d474572a03c97d0ddac4584b65c3e0e267f (diff)
downloadbcm5719-llvm-052f14ef5a662b58d6db4acfae253252bcb6bdcd.tar.gz
bcm5719-llvm-052f14ef5a662b58d6db4acfae253252bcb6bdcd.zip
Fix up and document controlling ccache via CMake options.
Patch by Matthew Davis! Differential Revision: https://reviews.llvm.org/D41757 llvm-svn: 323357
Diffstat (limited to 'llvm/docs/CMake.rst')
-rw-r--r--llvm/docs/CMake.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index 05edec64da3..5fea12801c5 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -551,6 +551,14 @@ LLVM-specific variables
<http://clang.llvm.org/docs/SourceBasedCodeCoverage.html>`_ instrumentation
is enabled while building llvm.
+**LLVM_CCACHE_BUILD**:BOOL
+ If enabled and the ``ccache`` program is available, then LLVM will be
+ built using ``ccache`` to speed up rebuilds of LLVM and its components.
+ Defaults to OFF. The size and location of the cache maintained
+ by ``ccache`` can be adjusted via the LLVM_CCACHE_MAXSIZE and LLVM_CCACHE_DIR
+ options, which are passed to the CCACHE_MAXSIZE and CCACHE_DIR environment
+ variables, respectively.
+
CMake Caches
============
OpenPOWER on IntegriCloud