[PATCH] D41757: [Docs] Add a configuration note about building with CCACHE support.

Matt Davis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 19:47:52 PST 2018


mattd created this revision.
mattd added reviewers: sgundapa, chandlerc.
Herald added a subscriber: mgorny.

Mention in the CMake configuration documentation that LLVM builds support the use of ccache.


https://reviews.llvm.org/D41757

Files:
  docs/CMake.rst


Index: docs/CMake.rst
===================================================================
--- docs/CMake.rst
+++ docs/CMake.rst
@@ -551,6 +551,13 @@
   <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_SIZE and LLVM_CCACHE_DIR
+  options respectively.
+
 CMake Caches
 ============
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41757.128707.patch
Type: text/x-patch
Size: 643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180105/f5d2f965/attachment.bin>


More information about the llvm-commits mailing list