summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ccache
AgeCommit message (Collapse)Author
2024-02-29ccache: upgrade 4.9 -> 4.9.1Wang Mingyu
License-Update: Copyright year updated to 2024. Changelog: ========== - Improved detection of bad remote storage URLs gracefully. This also fixes crashes seen in ccache's own test suite. + - Made caching completely disabled when modification of a source or include file is detected during ccache invocation. Previously this was only done for the direct mode. + - Fixed a MSVC crash when using '/Zi' with many concurrent compilations. + - Fixed a crash when '-arch' is the last compiler option. + Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-07ccache: upgrade 4.8.3 -> 4.9Wang Mingyu
License-Update: =============== Upgrade to fmt 10.1.1 Upgrade to cpp-httplib 0.14.3 Upgrade to BLAKE3 1.5.0 Changelog: https://ccache.dev/releasenotes.html#_ccache_4_9 0001-xxhash.h-Fix-build-with-gcc-12.patch refreshed for 4.9 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14ccache: upgrade 4.8.2 -> 4.8.3Wang Mingyu
License-Update: Copyright year updated to 2021 Changelog: =========== -Fixed various problems with parsing of MSVC response file (.rsp). -Fixed handling of NVCC -Xcompiler and --Werror options. -Fixed bookkeeping of files when hard linking or file cloning is enabled. -Made a workaround for GCC 12.3 bug 109241 where GCC fails to compile ccache. -Upgraded to xxHash 0.8.2, which fixes compilation of ccache with GCC 12 and -Og. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-28ccache: upgrade 4.8.1 -> 4.8.2Wang Mingyu
License-Update: BLAKE3 updated to 1.4.0 cpp-httplib updated to 0.12.6 Changelog: ========== Fixed parsing of Windows drive letter in file URLs for remote storage. Fixed a bug affecting depend mode with MSVC. Ccache no longer passes -v to the preprocessor. This improves preprocessor mode hit rate when -v is on the compiler command line. Made --trim-max-size accept 0 for no limit. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02ccache: upgrade 4.8 -> 4.8.1Wang Mingyu
License-Update: cpp-httplib updated to v0.12.3 Copyright year updated to 2023 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-04-13ccache: upgrade 4.7.4 -> 4.8Wang Mingyu
License-Update: bump: Upgrade to doctest 2.4.10 chore: Update copyright years Changelog: https://ccache.dev/releasenotes.html#_ccache_4_8 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-12-06ccache: upgrade 4.7.2 -> 4.7.4Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-08ccache: upgrade 4.6.3 -> 4.7.2Alexander Kanavin
License-Update: formatting, years, removed redundant copy of a boost license Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-09-28meta: fix version checks in all github recipes using the github-releases classAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-17ccache: upgrade 4.6.2 -> 4.6.3Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-02ccache: Upgrade to 4.6.2Khem Raj
Fix build with musl Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-25ccache: Fix build with gcc12 on muslKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-25ccache: Update the patch statusKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07ccache: Fix build with gcc-12Mingli Yu
Fix the build failure when debug build is enabled. Add DEBUG_BUILD = "1" in conf/local.conf. $ bitbake ccache | /buildarea/tmp/work/core2-64-poky-linux/ccache/4.6.1-r0/ccache-4.6.1/src/third_party/xxhash.h:3932:1: error: inlining failed in call to 'always_inline' 'XXH3_accumulate_512_sse2': function not considered for inlining 3932 | XXH3_accumulate_512_sse2( void* XXH_RESTRICT acc, | ^~~~~~~~~~~~~~~~~~~~~~~~ /buildarea/tmp/work/core2-64-poky-linux/ccache/4.6.1-r0/ccache-4.6.1/src/third_party/xxhash.h:4369:9: note: called from here 4369 | f_acc512(acc, | ^~~~~~~~~~~~~ 4370 | in, | ~~~ 4371 | secret + n*XXH_SECRET_CONSUME_RATE); Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-27ccache: upgrade 4.6 -> 4.6.1wangmy
Changelog: https://ccache.dev/releasenotes.html#_ccache_4_6_1 License-Update: - Copyright year updated to 2020 - updated version of expected-lite from 0.5.0 to revision 3abf06821d489d56aa9c60eccf8aab70d67d158b Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02ccache: upgrade 4.5.1 -> 4.6wangmy
License-Update: year updated to 2022 version of library updated Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie
license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09ccache: upgrade 4.5 -> 4.5.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21ccache: upgrade 4.4.2 -> 4.5Alexander Kanavin
License-Update: third party version references updated Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23ccache: upgrade 4.4 -> 4.4.2Alexander Kanavin
License-Update: formatting Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26ccache: upgrade 4.3 -> 4.4Alexander Kanavin
License-Update: formatting Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11ccache: version bump 4.2.1 -> 4.3Bastian Krause
Instead of [1] a very similar PR [2] was merged that allows enabling/disabling documentation builds. So drop the patch here and use the upstream cmake option ENABLE_DOCUMENTATION instead. [1] https://github.com/ccache/ccache/pull/844 [2] https://github.com/ccache/ccache/pull/842 Signed-off-by: Bastian Krause <bst@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06ccache: add packageconfig docs optionBastian Krause
Before, ccache's configure stage built HTML documentation and man pages depending on if asciidoc is installed. This patch makes it configurable. Pass the new cmake option BUILD_DOCS along and add the asciidoc dependency if necessary. This fixes an issue when ccache's configure stage found asciidoc/a2x on the system outside of the sysroot (e.g. installed via 'apt install asciidoc'). ccache would then decide to build docs and manual pages, but would fail during compilation: the system's a2x could not find the system's asciidoc because it did not reside in the set PATH. By enabling/disabling docs/man page generation explicitly and adding asciidoc to DEPENDS as necessary, this is no longer an issue. Signed-off-by: Bastian Krause <bst@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18ccache: upgrade 4.2 -> 4.2.1wangmy
License-Update: add license information of src/third_party/win32/winerror_to_errno.h Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01ccache: upgrade 4.1 -> 4.2Wang Mingyu
0001-Improve-SIMD-detection-735.patch 0001-blake3-Remove-asm-checks-for-sse-avx.patch 0002-Always-use-64bit-to-print-time_t.patch removed since they'are included in 4.2 -License-Update: Copyright year updated to 2021. Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08ccache: Extend to nativesdkRobert Yang
Now we have to use host's ccache as described by: f5b29367af ccache.bbclass: use ccache from host distribution So extend it to nativesdk and will add it to buildtools-tarball. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08ccache: Fix build on aarch64/clangKhem Raj
asm option checks in cmake gets it wrong to just check compiler options to decide if SSE/AVX is supported, this accidentally then succeeds on aarch64 and ends up compiler failures on aarch64 with clang Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-01ccache: Build fixes for clang and riscv32Khem Raj
Backport patch to improve AVX detection helps build with clang Add proposed patch to fix build with 32bit architectures using 64bit time_t Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31ccache: upgrade 3.7.11 -> 4.1Alexander Kanavin
Convert recipe from autotools to cmake. zstd is a new hard dependency. License-Update: formatting Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-25ccache: Upgrade to 3.7.11Mingli Yu
Bug fixes: Added knowledge about -fprofile-{correction,reorder-functions,values}. ccache now handles the Intel compiler option -xCODE (where CODE is a processor feature code) correctly. Added support for NVCC's -Werror and --Werror options. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28ccache: upgrade 3.7.9 -> 3.7.10Andreas Müller
remove SRC_URI[md5sum] Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28ccache: merge ccache.inc into recipeAndreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-03ccache: upgrade 3.7.7 -> 3.7.9Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-03ccache: upgrade 3.7.3 -> 3.7.7Alexander Kanavin
License-Update: copyright years Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-30ccache: 3.7.1 -> 3.7.3Robert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01ccache: fix upstream version checkAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12ccache: upgrade 3.6 -> 3.7.1Adrian Bunk
Remove backported patches. Switch to new download location. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-24ccache: Fix Segmentation fault error when gcc -o /dev/nullRobert Yang
Fixed: $ export CCACHE_DEBUG=1 $ ccache gcc -c hello.c -o /dev/null Segmentation fault (core dumped) This is because failed to open /dev/null.foo (Permission denied), check file stream before write to it can fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-24ccache: 3.5 -> 3.6Robert Yang
* Rebased 0002-dev.mk.in-fix-file-name-too-long.patch and sent it to upstream, and got merged. * The LIC_FILES_CHKSUM is changed because of year updated. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-14ccache: 3.4.2 -> 3.5Robert Yang
License-Update: Copyright year and zlib version are changed, others are the same. This version supports CCACHE_DEBUG which will make the debug easier. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2019-01-14ccache-native: Remove dependenciesRobert Yang
Remove ccache-native's dependencies so that all native recipes can depend on ccache-native and use it except ccache-native itself. It has the following 4 dependencies: - xz-native: It is intruduced by ccache-3.4.2.tar.xz, use ccache-3.4.2.tar.gz to replace of it can fix the problem. - zlib-native: Use --with-bundled-zlib to fix it. - autotools-native: Set INHIBIT_AUTOTOOLS_DEPS and add a do_configure() to fix the problem. - quilt-native: Set PATCHTOOL = "patch" to fix it. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2018-07-04ccache: 3.3.5 -> 3.4.2Robert Yang
* The license file is changed to LICENSE.adoc, it is still GPLv3+. * Removed Revert-Create-man-page-in-the-make-install-from-git-.patch, it was used for fixing a build failure of no asciidoc, but now there is no such a failure, so remove it. * Refreshed 0002-dev.mk.in-fix-file-name-too-long.patch Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07ccache: refresh patchesRoss Burton
The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-02-16ccache: 3.3.4 -> 3.3.5Robert Yang
The LIC_FILES_CHKSUM is changed because of year updated, the contents are the same. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-23ccache: Switch to downloading xz tarballMike Crowe
ccache tarballs have been available in tar.xz format since at least v3.1.1. The v3.3.4 tarball is about 30% smaller so we might as well switch to it. Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-23ccache: Upgrade to v3.3.4Mike Crowe
Only the copyright year has been updated in LICENSE.txt. The license text itself has not changed. This version fixes a bug with dependency output that could cause problems when compiling kernels for different MACHINEs using a shared ccache. See https://github.com/ccache/ccache/issues/158 Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-01-31ccache: update to 3.3.3Yannick Gicquel
Release note available at this location: https://ccache.samba.org/releasenotes.html#_ccache_3_3_3 Moving to tarball source as git.samba.org is not used anymore. License checksum change is due to an update in URL, now refering to "https" protocol instead of "http", line 32: 'https://ccache.samba.org/authors.html' Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-25ccache: 3.2.4 -> 3.2.5Robert Yang
Add Revert-Create-man-page-in-the-make-install-from-git-.patch to disable asciidoc since we don't have it. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28ccache: update to 3.2.4Alexander Kanavin
Drop backported 0001-Fix-regression-in-recent-change-related-to-zlib-in-n.patch Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-09-21ccache: fix file name too longRobert Yang
The all_cppflags change paths to filename which cause file name too long error when the path is longer than NAME_MAX (usually 255). Strip srcdir to fix the problem. [YOCTO #8313] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>