diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst --- a/llvm/docs/CMake.rst +++ b/llvm/docs/CMake.rst @@ -227,6 +227,12 @@ compilers installed, CMake might not default to the one you wish to use. +**CMAKE_{C,CXX}_COMPILER_LAUNCHER**:STRING + Specifies the compiler launcher to use. This can be used to do a build with + `ccache` by setting `CMAKE_C_COMPILER_LAUNCHER` and + `CMAKE_CXX_COMPILER_LAUNCHER` both to `ccache` in addition to having ccache + installed. + .. _Frequently Used LLVM-related variables: Frequently Used LLVM-related variables @@ -399,14 +405,6 @@ example, you can build *llvm-as* with a Makefile-based system by executing *make llvm-as* at the root of your build directory. -**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. - **LLVM_CREATE_XCODE_TOOLCHAIN**:BOOL macOS Only: If enabled CMake will generate a target named 'install-xcode-toolchain'. This target will create a directory at