From 01ff58d9174eb81ae8f774600702bb0cb3b405a1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 15 Sep 2022 07:14:37 +0000 Subject: ccache: upgrade 4.6.2 -> 4.6.3 Signed-off-by: Richard Purdie --- meta/recipes-devtools/ccache/ccache_4.6.2.bb | 30 ---------------------- meta/recipes-devtools/ccache/ccache_4.6.3.bb | 28 ++++++++++++++++++++ .../files/0001-Include-time.h-for-time_t.patch | 29 --------------------- ...-Include-sys-types.h-for-mode_t-defintion.patch | 25 ------------------ 4 files changed, 28 insertions(+), 84 deletions(-) delete mode 100644 meta/recipes-devtools/ccache/ccache_4.6.2.bb create mode 100644 meta/recipes-devtools/ccache/ccache_4.6.3.bb delete mode 100644 meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch delete mode 100644 meta/recipes-devtools/ccache/files/0002-config-Include-sys-types.h-for-mode_t-defintion.patch (limited to 'meta/recipes-devtools/ccache') diff --git a/meta/recipes-devtools/ccache/ccache_4.6.2.bb b/meta/recipes-devtools/ccache/ccache_4.6.2.bb deleted file mode 100644 index dbac02243c..0000000000 --- a/meta/recipes-devtools/ccache/ccache_4.6.2.bb +++ /dev/null @@ -1,30 +0,0 @@ -SUMMARY = "a fast C/C++ compiler cache" -DESCRIPTION = "ccache is a compiler cache. It speeds up recompilation \ -by caching the result of previous compilations and detecting when the \ -same compilation is being done again. Supported languages are C, C\+\+, \ -Objective-C and Objective-C++." -HOMEPAGE = "http://ccache.samba.org" -SECTION = "devel" - -LICENSE = "GPL-3.0-or-later" -LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=7a19377a02749d8a1281ed608169b0ee" - -DEPENDS = "zstd" - -SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz \ - file://0001-xxhash.h-Fix-build-with-gcc-12.patch \ - file://0001-Include-time.h-for-time_t.patch \ - file://0002-config-Include-sys-types.h-for-mode_t-defintion.patch \ -" -SRC_URI[sha256sum] = "6a746a9bed01585388b68e2d58af2e77741fc8d66bc360b5a0b4c41fc284dafe" - -UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/" - -inherit cmake - -PATCHTOOL = "patch" - -BBCLASSEXTEND = "native nativesdk" - -PACKAGECONFIG[docs] = "-DENABLE_DOCUMENTATION=ON,-DENABLE_DOCUMENTATION=OFF,asciidoc" -PACKAGECONFIG[redis] = "-DREDIS_STORAGE_BACKEND=ON,-DREDIS_STORAGE_BACKEND=OFF,hiredis" diff --git a/meta/recipes-devtools/ccache/ccache_4.6.3.bb b/meta/recipes-devtools/ccache/ccache_4.6.3.bb new file mode 100644 index 0000000000..5ed46cdc19 --- /dev/null +++ b/meta/recipes-devtools/ccache/ccache_4.6.3.bb @@ -0,0 +1,28 @@ +SUMMARY = "a fast C/C++ compiler cache" +DESCRIPTION = "ccache is a compiler cache. It speeds up recompilation \ +by caching the result of previous compilations and detecting when the \ +same compilation is being done again. Supported languages are C, C\+\+, \ +Objective-C and Objective-C++." +HOMEPAGE = "http://ccache.samba.org" +SECTION = "devel" + +LICENSE = "GPL-3.0-or-later" +LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=7a19377a02749d8a1281ed608169b0ee" + +DEPENDS = "zstd" + +SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz \ + file://0001-xxhash.h-Fix-build-with-gcc-12.patch \ + " +SRC_URI[sha256sum] = "f46ba3706ad80c30d4d5874dee2bf9227a7fcd0ccaac31b51919a3053d84bd05" + +UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/" + +inherit cmake + +PATCHTOOL = "patch" + +BBCLASSEXTEND = "native nativesdk" + +PACKAGECONFIG[docs] = "-DENABLE_DOCUMENTATION=ON,-DENABLE_DOCUMENTATION=OFF,asciidoc" +PACKAGECONFIG[redis] = "-DREDIS_STORAGE_BACKEND=ON,-DREDIS_STORAGE_BACKEND=OFF,hiredis" diff --git a/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch b/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch deleted file mode 100644 index d752eb0651..0000000000 --- a/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 590c656838a9b3769a7a855fb1891bfa8d8878ad Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 23 Aug 2022 10:27:21 -0700 -Subject: [PATCH] Include time.h for time_t - -Fixes -src/core/Statistics.hpp:41:37: error: 'time_t' has not been declared -| 41 | time_t last_updated, -| | ^~~~~~ - -Upstream-Status: Submitted [https://github.com/ccache/ccache/pull/1145] -Signed-off-by: Khem Raj - ---- - src/core/Statistics.hpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/core/Statistics.hpp b/src/core/Statistics.hpp -index 54f32e9..eb80e1c 100644 ---- a/src/core/Statistics.hpp -+++ b/src/core/Statistics.hpp -@@ -21,6 +21,7 @@ - #include - - #include -+#include - #include - #include - #include diff --git a/meta/recipes-devtools/ccache/files/0002-config-Include-sys-types.h-for-mode_t-defintion.patch b/meta/recipes-devtools/ccache/files/0002-config-Include-sys-types.h-for-mode_t-defintion.patch deleted file mode 100644 index 0fd77602df..0000000000 --- a/meta/recipes-devtools/ccache/files/0002-config-Include-sys-types.h-for-mode_t-defintion.patch +++ /dev/null @@ -1,25 +0,0 @@ -From f98b390a2d323f7f92fb0492b0943d201afe5b8f Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 23 Aug 2022 10:40:53 -0700 -Subject: [PATCH] config: Include sys/types.h for mode_t defintion - -Upstream-Status: Submitted [https://github.com/ccache/ccache/pull/1145] -Signed-off-by: Khem Raj - ---- - src/Config.hpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/Config.hpp b/src/Config.hpp -index a9e08ec..9e7af40 100644 ---- a/src/Config.hpp -+++ b/src/Config.hpp -@@ -25,6 +25,8 @@ - - #include "third_party/nonstd/optional.hpp" - -+#include -+ - #include - #include - #include -- cgit 1.2.3-korg