Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # Defines the configuration of ccache. | |
|
brettw
2014/11/26 21:18:14
Can you mention here what ccache is?
Mostyn Bramley-Moore
2014/11/26 22:09:52
Done.
| |
| 6 # | |
| 7 # TIPS: | |
| 8 # | |
| 9 # Set clang_use_chrome_plugins=false since ccache doesn't know how to handle | |
| 10 # clang plugins. | |
|
Nico
2014/11/26 17:01:06
Is there a bug filed with ccache for this?
Mostyn Bramley-Moore
2014/11/26 22:09:52
ccache 3.1.10 onwards supports the -Xclang flag: h
Mostyn Bramley-Moore
2014/11/26 22:23:24
(Turns out I didn't remove the new ccache from my
| |
| 11 # | |
| 12 # Use ccache 3.2 or later to avoid clang unused argument warnings: | |
| 13 # https://bugzilla.samba.org/show_bug.cgi?id=8118 | |
| 14 # | |
| 15 # To avoid -Wparentheses-equality clang warnings, at some cost in terms of | |
| 16 # speed, you can do: | |
| 17 # export CCACHE_CPP2=yes | |
| 18 | |
| 19 declare_args() { | |
| 20 # Set to true to enable ccache. Probably doesn't work on windows. | |
| 21 use_ccache = false | |
| 22 } | |
| OLD | NEW |