lkml.org 
[lkml]   [2017]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2] kbuild: shrink .cache.mk when it exceeds 1000 lines
2017-10-13 20:25 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> The cache files are only cleaned away by "make clean". If you continue
> incremental builds, the cache files will grow up little by little.
> It is not a big deal in general use cases because compiler flags do not
> change quite often.
>
> However, if you do build-test for various architectures, compilers, and
> kernel configurations, you will end up with huge cache files soon.
>
> When the cache file exceeds 1000 lines, shrink it down to 500 by "tail".
> The Least Recently Added lines are cut. (not Least Recently Used)
> I hope it will work well enough.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>

Applied to linux-kbuild/kbuild.

--
Best Regards
Masahiro Yamada

\
 
 \ /
  Last update: 2017-10-22 17:16    [W:0.050 / U:0.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site