<div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 16, 2020 at 12:42 PM Hans Dedecker <<a href="mailto:dedeckeh@gmail.com">dedeckeh@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Jan 16, 2020 at 4:36 PM DENG Qingfang <<a href="mailto:dengqf6@mail2.sysu.edu.cn" target="_blank">dengqf6@mail2.sysu.edu.cn</a>> wrote:<br>
><br>
> Update ccache to 3.7.7<br>
><br>
> Release notes:<br>
> <a href="https://ccache.dev/releasenotes.html#_ccache_3_7_7" rel="noreferrer" target="_blank">https://ccache.dev/releasenotes.html#_ccache_3_7_7</a><br>
><br>
> Signed-off-by: DENG Qingfang <<a href="mailto:dengqf6@mail2.sysu.edu.cn" target="_blank">dengqf6@mail2.sysu.edu.cn</a>><br>
Patch applied, thx<br>
<br>
Hans<br>
> ---<br>
> tools/ccache/Makefile | 4 ++--<br>
> tools/ccache/patches/100-honour-copts.patch | 2 +-<br>
> 2 files changed, 3 insertions(+), 3 deletions(-)<br>
><br>
> diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile<br>
> index 50a1a412a8..4e99207872 100644<br>
> --- a/tools/ccache/Makefile<br>
> +++ b/tools/ccache/Makefile<br>
> @@ -8,11 +8,11 @@ include $(TOPDIR)/<a href="http://rules.mk" rel="noreferrer" target="_blank">rules.mk</a><br>
> include $(INCLUDE_DIR)/<a href="http://target.mk" rel="noreferrer" target="_blank">target.mk</a><br>
><br>
> PKG_NAME:=ccache<br>
> -PKG_VERSION:=3.7.6<br>
> +PKG_VERSION:=3.7.7<br>
><br>
> PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz<br>
> PKG_SOURCE_URL:=<a href="https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)" rel="noreferrer" target="_blank">https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)</a><br>
> -PKG_HASH:=73e2633ac9bca387b5a39c72a8f85634670c4091dab639228c433898163c86c0<br>
> +PKG_HASH:=b7c1d6d6fe42f18e424de92746af863e0bc85794da3d69e44300840c478c98cd<br>
><br>
> include $(INCLUDE_DIR)/<a href="http://host-build.mk" rel="noreferrer" target="_blank">host-build.mk</a><br>
><br>
> diff --git a/tools/ccache/patches/100-honour-copts.patch b/tools/ccache/patches/100-honour-copts.patch<br>
> index 97bacae2d2..a3cef56213 100644<br>
> --- a/tools/ccache/patches/100-honour-copts.patch<br>
> +++ b/tools/ccache/patches/100-honour-copts.patch<br>
> @@ -1,6 +1,6 @@<br>
> --- a/src/ccache.c<br>
> +++ b/src/ccache.c<br>
> -@@ -2224,6 +2224,7 @@ calculate_object_hash(struct args *args,<br>
> +@@ -2220,6 +2220,7 @@ calculate_object_hash(struct args *args,<br>
> "CPLUS_INCLUDE_PATH",<br>
> "OBJC_INCLUDE_PATH",<br>
> "OBJCPLUS_INCLUDE_PATH", // clang<br>
> --<br>
> 2.24.1<br><br></blockquote><div><br></div><div><br></div>In my testing, I've found that ccache measurably does not change the build times for OpenWRT.<div><br></div><div>Is your experience different?<br><br>Relevant flyspray conversations: <br><div><br></div><a href="https://bugs.openwrt.org/index.php?do=details&task_id=2596">https://bugs.openwrt.org/index.php?do=details&task_id=2596</a></div><div><a href="https://bugs.openwrt.org/index.php?do=details&task_id=2597">https://bugs.openwrt.org/index.php?do=details&task_id=2597</a></div><div><a href="https://bugs.openwrt.org/index.php?do=details&task_id=2596"></a><br></div></div></div>