diff options
Diffstat (limited to 'meta/conf')
| -rw-r--r-- | meta/conf/ccache.conf | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meta/conf/ccache.conf b/meta/conf/ccache.conf index 499e5327b8..377eb42196 100644 --- a/meta/conf/ccache.conf +++ b/meta/conf/ccache.conf | |||
| @@ -1,7 +1,14 @@ | |||
| 1 | max_size = 0 | ||
| 2 | |||
| 3 | # Avoid spurious cache misses caused by recipe sysroot creation: Creating a | 1 | # Avoid spurious cache misses caused by recipe sysroot creation: Creating a |
| 4 | # recipe sysroot hardlinks all dependent files into place. Hardlinking updates | 2 | # recipe sysroot hardlinks all dependent files into place. Hardlinking updates |
| 5 | # the file's ctime which in turn interferes with ccache's include_file_ctime | 3 | # the file's ctime which in turn interferes with ccache's include_file_ctime |
| 6 | # check. | 4 | # check. |
| 7 | sloppiness = include_file_ctime | 5 | sloppiness = include_file_ctime |
| 6 | |||
| 7 | # We need to stop ccache considering the current directory or the | ||
| 8 | # debug-prefix-map target directory to be significant when calculating | ||
| 9 | # its hash. Without this the cache would be invalidated every time | ||
| 10 | # ${PV} or ${PR} change. | ||
| 11 | hash_dir = false | ||
| 12 | |||
| 13 | # If ccache runs under pseudo it will try to create files in /run/user/0/ccache-tmp | ||
| 14 | temporary_dir = $CCACHE_DIR/tmp | ||
