diff options
author | Sumanth Gundapaneni <sgundapa@codeaurora.org> | 2016-08-01 21:28:03 +0000 |
---|---|---|
committer | Sumanth Gundapaneni <sgundapa@codeaurora.org> | 2016-08-01 21:28:03 +0000 |
commit | 9f4dc98e96c69b3f298b0492a7ebb608c4d75ebd (patch) | |
tree | bdd80db76955f3f61e4d2d63722873594324779b /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | d3c7b8e303e96fae3ab0c3fc6a42f7f8b87a17e4 (diff) | |
download | bcm5719-llvm-9f4dc98e96c69b3f298b0492a7ebb608c4d75ebd.tar.gz bcm5719-llvm-9f4dc98e96c69b3f298b0492a7ebb608c4d75ebd.zip |
Build llvm with ccache if package is present
This patch has the following changes
The CMake variable LLVM_CCACHE_BUILD is set to OFF by default.
Set this to ON for a ccache enabled build
CCACHE_CPP2 is required to compile the source file directly instead
of compiling the preprocessed file. This will help WERROR is turned ON
for a host clang compiler
The below two options makes more sense in the context of a buildbot
CCACHE_HASHDIR is required to maintain the separate cached data across
builders. This will also help the debuggers to point to the correct source
location
CCACHE_SIZE is important in the perspective of buildbot to increase the
limit on the amount of data to hold in cache for faster compilation
CCACHE_DIR is used to save the cached data to a specific directory.
llvm-svn: 277389
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions