Accepting request 883205 from devel:tools:building

- Update to version 4.2.1:
  * Ccache now only dup2`s stderr into `$UNCACHED_ERR_FD for calls to the preprocessor/compiler. This works around a complex bug in interaction with GNU Make, LTO linking and the Linux PTY driver.
  * Fixed detection of color diagnostics usage when using -Xclang -fcolordiagnostics options.
  * The -frecord-gcc-switches compiler option is now handled correctly to avoid false positive cache hits.
  * Made it possible for per-compilation debug log files to be written in most argument processing error scenarios. Previously, ccache would only write debug log files if the argument processing phase was successful.
  * Made ccache bail out on too hard Clang option -gen-cdb-fragment-path.
  * The run_second_cpp made is now enforced on macOS if -g is used since newer Clang versions on macOS produce different debug information when compiling preprocessed code.
  * Made ccache only reject -f(no-)color-diagnostics for a known GCC compiler. This fixes a problem when using said option with clang++ on macOS.
  * Build configuration scripts now probe for atomic increment as well. This fixes a linking error on Sparc.
  * An existing CMake log message level is now used when warning about not finding asciidoc.
  * Fixed assertion in the "Debug option" test.
  * Upgraded to doctest 2.4.6. This fixes a build error with glibc >= 2.34.

OBS-URL: https://build.opensuse.org/request/show/883205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ccache?expand=0&rev=58
This commit is contained in:
Richard Brown 2021-04-08 19:03:11 +00:00 committed by Git OBS Bridge
commit 9bf621fa7b
6 changed files with 38 additions and 22 deletions

3
ccache-4.2.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d6ba1cdefdc690401f404b747d81a9a1802b17af4235815866b7620d980477e
size 431484

16
ccache-4.2.1.tar.xz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWpOacaRnks9XhmpRmW3aB1WUrbgFAmBff3gACgkQmW3aB1WU
rbheAg//Ry3YVTNB/fOGlyLln0vlGwO4ls4UgJG3F3yBxg90UNw0A6khsweUe9eZ
E03kPSwVDrkHm+ZDbzcZ/px/cQI6d8qVJEvzXbYrsPkg1wnOmfMF5hylUw+bsicn
kegHvlHzc1tAQjP02BEVex1brjyDV1FueNO5aBkwUp2Gur7DQ68FdW2p+TBBJEbl
VNaPDPvfeEuFjre0qSTcHfVeUpqVQjhWPxS5IPo6fSC7zWsxH7dJ8OLDJmzLd71P
Q/QfFhFiwKylskM8BEmjAqVBC7MgiQm93ECMHeoa3oocPC6WNytwGZ+JLAY4eiC6
EzgE+RltTTqWsIPQ25e2aorjnKzYBarvjeTLoHR7RBZ1jo3anrpMg3i1l8MhY3Ls
6YI+B/agX8yfgsSjurmajkUe3DpiqEWBCOoe5csJ8YKMt5GDVF5J58g3E/rsMJNZ
7u6pumA6fu3o3mMvvE+uzY5S/EQn0kSaqkLhi4Y7sW0jJHjX7FFr3gjn/g3ZZDsQ
fJFbMDKr3nVkXVGxUzl34cz11MmONg3A/EhVxI86Ptlu3yHeLSiQs6TdqyE3ip5M
8aWJCYCrVvemzr1IUH9JHUtrGMGMtDxdlDlweTczloWNTljgmBHPk1NM12dDUnlD
TV6yiO6somK4eBC6TPgb+lVZtAtBdHf2T/FtOJmwLz56VDQUd3I=
=KIjF
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f14b11888c39778c93814fc6843fc25ad60ff6ba4eeee3dff29a1bad67ba94f
size 422688

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEWpOacaRnks9XhmpRmW3aB1WUrbgFAmAY7mUACgkQmW3aB1WU
rbjptQ//VJWNl30eD0W/jceZSvKdUySztKPdQfld1XwqNETyDLKTkjZyOiYovXYU
Yekd8dWOMsBVsCXWllyZJGvBqWsUOaYPbWF84vNOv+fe/jB6cTi41uW+XP/PsbaC
+NT465jbMUIN2081cksftJUic23dBPUPlJxe2wfC1j3cNUPVqEsFfhP59XpDI53i
fPdfX36G3PJxl9d7jXIAeeb056LmM0uGq7Y8XXxvVIsanDKusXuUU2IrnDmz5t1R
AbQFmJLv8d4ingaSlpaVjrLMF56A5mJL9Zo4opdV9OyqJcVHNrP8/4hABKpOCngO
PaHK1VKLJLW/ZCTREfI78T+TTo0Qm2b/oaosvPMJTm5NWRZdqVuVCrgI7VQNTppu
bBd2kboNrCZZa4Oet98W+X90jRo/VJ3fOKFsUMGiC48gbJ/ZeOBTmDWLlnt/tjS4
iy/crLTYmxz0Pe96Yd/9TcJkgv6TXItH+dBpFrh2Kw77y1z190hYNu/1ATM+j+OK
ieb3X487x65Mw1oQdH80t8ntrrEhtSqjKdBJrwzq5JMD38ryOvDYCFmvd1wF0DDw
xqgqOCK5wdaqu9kESQKjHv8zjq8M/qArNe5gYpksmppsF2m3iILJcTEHAnRgTs/f
6xA9uRb/4M7lynmfqbLAFVUjkmqgC708YGSZrN7wFHAIdnnyURA=
=RO3j
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Apr 6 08:12:49 UTC 2021 - Martin Pluskal <mpluskal@suse.com>
- Update to version 4.2.1:
* Ccache now only dup2`s stderr into `$UNCACHED_ERR_FD for calls to the preprocessor/compiler. This works around a complex bug in interaction with GNU Make, LTO linking and the Linux PTY driver.
* Fixed detection of color diagnostics usage when using -Xclang -fcolordiagnostics options.
* The -frecord-gcc-switches compiler option is now handled correctly to avoid false positive cache hits.
* Made it possible for per-compilation debug log files to be written in most argument processing error scenarios. Previously, ccache would only write debug log files if the argument processing phase was successful.
* Made ccache bail out on too hard Clang option -gen-cdb-fragment-path.
* The run_second_cpp made is now enforced on macOS if -g is used since newer Clang versions on macOS produce different debug information when compiling preprocessed code.
* Made ccache only reject -f(no-)color-diagnostics for a known GCC compiler. This fixes a problem when using said option with clang++ on macOS.
* Build configuration scripts now probe for atomic increment as well. This fixes a linking error on Sparc.
* An existing CMake log message level is now used when warning about not finding asciidoc.
* Fixed assertion in the "Debug option" test.
* Upgraded to doctest 2.4.6. This fixes a build error with glibc >= 2.34.
-------------------------------------------------------------------
Thu Feb 4 11:11:55 UTC 2021 - Martin Pluskal <mpluskal@suse.com>

View File

@ -17,7 +17,7 @@
Name: ccache
Version: 4.2
Version: 4.2.1
Release: 0
Summary: A Fast C/C++ Compiler Cache
License: GPL-3.0-or-later
@ -64,11 +64,11 @@ ln -sf ../../bin/%{name} c++
# and for nvidia cuda
ln -sf ../../bin/%{name} nvcc
%check
# Following failure needs to be adressed:
# The following tests FAILED:
# 29 - test.upgrade (Failed)
#%%check
#ctest
%ctest ||:
%files
%license LICENSE.* GPL-3.0.txt