diff mbox series

[OpenWrt-Devel] ccache: update to 3.7.7

Message ID 20200116153500.7966-1-dengqf6@mail2.sysu.edu.cn
State Accepted
Headers show
Series [OpenWrt-Devel] ccache: update to 3.7.7 | expand

Commit Message

DENG Qingfang Jan. 16, 2020, 3:35 p.m. UTC
Update ccache to 3.7.7

Release notes:
https://ccache.dev/releasenotes.html#_ccache_3_7_7

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
---
 tools/ccache/Makefile                       | 4 ++--
 tools/ccache/patches/100-honour-copts.patch | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Comments

Hans Dedecker Jan. 16, 2020, 6:01 p.m. UTC | #1
On Thu, Jan 16, 2020 at 4:36 PM DENG Qingfang <dengqf6@mail2.sysu.edu.cn> wrote:
>
> Update ccache to 3.7.7
>
> Release notes:
> https://ccache.dev/releasenotes.html#_ccache_3_7_7
>
> Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Patch applied, thx

Hans
> ---
>  tools/ccache/Makefile                       | 4 ++--
>  tools/ccache/patches/100-honour-copts.patch | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile
> index 50a1a412a8..4e99207872 100644
> --- a/tools/ccache/Makefile
> +++ b/tools/ccache/Makefile
> @@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk
>  include $(INCLUDE_DIR)/target.mk
>
>  PKG_NAME:=ccache
> -PKG_VERSION:=3.7.6
> +PKG_VERSION:=3.7.7
>
>  PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
>  PKG_SOURCE_URL:=https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)
> -PKG_HASH:=73e2633ac9bca387b5a39c72a8f85634670c4091dab639228c433898163c86c0
> +PKG_HASH:=b7c1d6d6fe42f18e424de92746af863e0bc85794da3d69e44300840c478c98cd
>
>  include $(INCLUDE_DIR)/host-build.mk
>
> diff --git a/tools/ccache/patches/100-honour-copts.patch b/tools/ccache/patches/100-honour-copts.patch
> index 97bacae2d2..a3cef56213 100644
> --- a/tools/ccache/patches/100-honour-copts.patch
> +++ b/tools/ccache/patches/100-honour-copts.patch
> @@ -1,6 +1,6 @@
>  --- a/src/ccache.c
>  +++ b/src/ccache.c
> -@@ -2224,6 +2224,7 @@ calculate_object_hash(struct args *args,
> +@@ -2220,6 +2220,7 @@ calculate_object_hash(struct args *args,
>                         "CPLUS_INCLUDE_PATH",
>                         "OBJC_INCLUDE_PATH",
>                         "OBJCPLUS_INCLUDE_PATH", // clang
> --
> 2.24.1
>
>
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Michael Jones Jan. 16, 2020, 9:13 p.m. UTC | #2
On Thu, Jan 16, 2020 at 12:42 PM Hans Dedecker <dedeckeh@gmail.com> wrote:

> On Thu, Jan 16, 2020 at 4:36 PM DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
> wrote:
> >
> > Update ccache to 3.7.7
> >
> > Release notes:
> > https://ccache.dev/releasenotes.html#_ccache_3_7_7
> >
> > Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
> Patch applied, thx
>
> Hans
> > ---
> >  tools/ccache/Makefile                       | 4 ++--
> >  tools/ccache/patches/100-honour-copts.patch | 2 +-
> >  2 files changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile
> > index 50a1a412a8..4e99207872 100644
> > --- a/tools/ccache/Makefile
> > +++ b/tools/ccache/Makefile
> > @@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk
> >  include $(INCLUDE_DIR)/target.mk
> >
> >  PKG_NAME:=ccache
> > -PKG_VERSION:=3.7.6
> > +PKG_VERSION:=3.7.7
> >
> >  PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
> >  PKG_SOURCE_URL:=
> https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)
> >
> -PKG_HASH:=73e2633ac9bca387b5a39c72a8f85634670c4091dab639228c433898163c86c0
> >
> +PKG_HASH:=b7c1d6d6fe42f18e424de92746af863e0bc85794da3d69e44300840c478c98cd
> >
> >  include $(INCLUDE_DIR)/host-build.mk
> >
> > diff --git a/tools/ccache/patches/100-honour-copts.patch
> b/tools/ccache/patches/100-honour-copts.patch
> > index 97bacae2d2..a3cef56213 100644
> > --- a/tools/ccache/patches/100-honour-copts.patch
> > +++ b/tools/ccache/patches/100-honour-copts.patch
> > @@ -1,6 +1,6 @@
> >  --- a/src/ccache.c
> >  +++ b/src/ccache.c
> > -@@ -2224,6 +2224,7 @@ calculate_object_hash(struct args *args,
> > +@@ -2220,6 +2220,7 @@ calculate_object_hash(struct args *args,
> >                         "CPLUS_INCLUDE_PATH",
> >                         "OBJC_INCLUDE_PATH",
> >                         "OBJCPLUS_INCLUDE_PATH", // clang
> > --
> > 2.24.1
>
>

In my testing, I've found that ccache measurably does not change the build
times for OpenWRT.

Is your experience different?

Relevant flyspray conversations:

https://bugs.openwrt.org/index.php?do=details&task_id=2596
https://bugs.openwrt.org/index.php?do=details&task_id=2597
<https://bugs.openwrt.org/index.php?do=details&task_id=2596>
diff mbox series

Patch

diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile
index 50a1a412a8..4e99207872 100644
--- a/tools/ccache/Makefile
+++ b/tools/ccache/Makefile
@@ -8,11 +8,11 @@  include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/target.mk
 
 PKG_NAME:=ccache
-PKG_VERSION:=3.7.6
+PKG_VERSION:=3.7.7
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)
-PKG_HASH:=73e2633ac9bca387b5a39c72a8f85634670c4091dab639228c433898163c86c0
+PKG_HASH:=b7c1d6d6fe42f18e424de92746af863e0bc85794da3d69e44300840c478c98cd
 
 include $(INCLUDE_DIR)/host-build.mk
 
diff --git a/tools/ccache/patches/100-honour-copts.patch b/tools/ccache/patches/100-honour-copts.patch
index 97bacae2d2..a3cef56213 100644
--- a/tools/ccache/patches/100-honour-copts.patch
+++ b/tools/ccache/patches/100-honour-copts.patch
@@ -1,6 +1,6 @@ 
 --- a/src/ccache.c
 +++ b/src/ccache.c
-@@ -2224,6 +2224,7 @@ calculate_object_hash(struct args *args,
+@@ -2220,6 +2220,7 @@ calculate_object_hash(struct args *args,
  			"CPLUS_INCLUDE_PATH",
  			"OBJC_INCLUDE_PATH",
  			"OBJCPLUS_INCLUDE_PATH", // clang