From 9da49232b3eebf3550b3d8ea87d10acf0ccaf0fda63f4aed02000d3f66457d2b Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 15 Mar 2018 11:16:17 +0000 Subject: [PATCH 1/2] =?UTF-8?q?-=20Update=20to=20version=203.4.1:=20=20=20?= =?UTF-8?q?*=20Fixed=20printing=20of=20version=20number=20in=20ccache=20--?= =?UTF-8?q?version.=20-=20Changes=20for=20version=203.4.0:=20=20=20*=20The?= =?UTF-8?q?=20compiler=20option=20form=20--sysroot=20arg=20is=20now=20hand?= =?UTF-8?q?led=20like=20the=20=20=20=20=20documented=20--sysroot=3Darg=20f?= =?UTF-8?q?orm.=20=20=20*=20Added=20support=20for=20caching=20.su=20files?= =?UTF-8?q?=20generated=20by=20GCC=20flag=20=20=20=20=20-fstack-usage.=20?= =?UTF-8?q?=20=20*=20ccache=20should=20now=20work=20with=20distcc=E2=80=99?= =?UTF-8?q?s=20=E2=80=9Cpump=E2=80=9D=20wrapper.=20=20=20*=20The=20optiona?= =?UTF-8?q?l=20unifier=20is=20no=20longer=20disabled=20when=20the=20direct?= =?UTF-8?q?=20mode=20=20=20=20=20is=20enabled.=20=20=20*=20Added=20support?= =?UTF-8?q?=20for=20nvcc=20compiler=20options=20--compiler-bindir/-ccbin,?= =?UTF-8?q?=20=20=20=20=20--output-directory/-odir=20and=20--libdevice-dir?= =?UTF-8?q?ectory/-ldir.=20=20=20*=20Boolean=20environment=20variable=20se?= =?UTF-8?q?ttings=20no=20longer=20accept=20the=20=20=20=20=20following=20(?= =?UTF-8?q?case-insensitive)=20values:=200,=20false,=20disable=20and=20no.?= =?UTF-8?q?=20=20=20=20=20All=20other=20values=20are=20accepted=20and=20ta?= =?UTF-8?q?ken=20to=20mean=20=E2=80=9Ctrue=E2=80=9D.=20This=20is=20=20=20?= =?UTF-8?q?=20=20to=20stop=20users=20from=20setting=20e.g.=20CCACHE=5FDISA?= =?UTF-8?q?BLE=3D0=20and=20then=20=20=20=20=20expect=20the=20cache=20to=20?= =?UTF-8?q?be=20used.=20=20=20*=20Improved=20support=20for=20run=5Fsecond?= =?UTF-8?q?=5Fcpp=20=3D=20false:=20If=20combined=20with=20=20=20=20=20pass?= =?UTF-8?q?ing=20-fdirectives-only=20(GCC)=20or=20frewrite-includes=20(Cla?= =?UTF-8?q?ng)=20to=20=20=20=20=20the=20compiler,=20diagnostics=20warnings?= =?UTF-8?q?=20and=20similar=20will=20be=20correct.=20=20=20*=20An=20implic?= =?UTF-8?q?it=20-MQ=20is=20now=20passed=20to=20the=20preprocessor=20only?= =?UTF-8?q?=20if=20the=20=20=20=20=20object=20file=20extension=20is=20non-?= =?UTF-8?q?standard.=20This=20should=20make=20it=20=20=20=20=20easier=20to?= =?UTF-8?q?=20use=20EDG-based=20compilers=20(e.g.=20GHS)=20which=20don?= =?UTF-8?q?=E2=80=99t=20=20=20=20=20understand=20-MQ.=20=20=20*=20ccache?= =?UTF-8?q?=20now=20treats=20an=20unreadable=20configuration=20file=20just?= =?UTF-8?q?=20like=20a=20=20=20=20=20missing=20configuration=20file.=20=20?= =?UTF-8?q?=20*=20Documented=20more=20pitfalls=20with=20enabling=20hard=5F?= =?UTF-8?q?links=20=20=20=20=20(CCACHE=5FHARDLINK).=20=20=20*=20Documented?= =?UTF-8?q?=20caveats=20related=20to=20colored=20warnings=20from=20compile?= =?UTF-8?q?rs.=20=20=20*=20File=20size=20and=20number=20counters=20are=20n?= =?UTF-8?q?ow=20updated=20correctly=20when?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ccache?expand=0&rev=60 --- ccache-3.3.6.tar.xz | 3 --- ccache-3.3.6.tar.xz.asc | 17 ----------------- ccache-3.4.1.tar.xz | 3 +++ ccache-3.4.1.tar.xz.asc | 17 +++++++++++++++++ ccache.changes | 38 ++++++++++++++++++++++++++++++++++++++ ccache.spec | 13 +++++++------ 6 files changed, 65 insertions(+), 26 deletions(-) delete mode 100644 ccache-3.3.6.tar.xz delete mode 100644 ccache-3.3.6.tar.xz.asc create mode 100644 ccache-3.4.1.tar.xz create mode 100644 ccache-3.4.1.tar.xz.asc diff --git a/ccache-3.3.6.tar.xz b/ccache-3.3.6.tar.xz deleted file mode 100644 index f664320..0000000 --- a/ccache-3.3.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:410a27fdaff64ead6df3fa57fa74bca0eca6b5f6ac77d7288af1256f6b12141d -size 316884 diff --git a/ccache-3.3.6.tar.xz.asc b/ccache-3.3.6.tar.xz.asc deleted file mode 100644 index 5bf63ba..0000000 --- a/ccache-3.3.6.tar.xz.asc +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iQIcBAABCAAGBQJabesuAAoJEJlt2gdVlK24WfoP/0s0GifJ1lZZ/WKRn5KSdsb9 -wdW31QjWR1n5c/S7WrU60X25F1Kwgzo8c3Se1lVBgwXXor3PtRKKP4WWzBS5RN6n -xPo2POT9V31JmyecTUrq6O2f2djhH1PhLXD8iSZFz9P8Bcawl36EKjAADG2dlpfp -gy1E1sHqgSJ2o+H/TMAZ0p+Vmpw5cpxdeNCUFqxYvpL5iEPG4vDrPzAnEwT+rKke -7gPGwuXz0+K8bOEHJIGcvcN5X2h8BwhYZE67rR9DUvnHQx9L2VPBcnDPIKY8TgBf -Yau0AMyHoc6Z+2QCYstQUo2bLxMQP5sBTo29i57OUrtdrf6etozUNLEgxkXlmoZY -VV4md2E34JPmafoo+wWb0fc6uEi83GSp2lufE0JT8hcObLi86lPDtiqg0ZSW7cED -Wnji1QNc1dEs6M0G5Ofi3BRM1PUpgV9YRwbr4+Aja4uySqTA+7yqpmcc+Ep+Bugv -Ye6B+0vF81h9lAap6cd+w2rQXyx5GUEaytkMkOKK3w9GoC6g7ki1ttqGLZNBC8YT -mcCtv/KsvY/70WMWKdMrOwWpSvZmA+dudbz+mWqTxTjDDDWtaiJda6cs0edxCiDY -heNGdv8LlnKFsuJqadbt3Sxp+QVMW9eewfU3zqWMkOzx6fJW1Ov2yKW4Ktk29ohE -Df2UC8Z9qQsi6J5xsYBa -=XsTV ------END PGP SIGNATURE----- diff --git a/ccache-3.4.1.tar.xz b/ccache-3.4.1.tar.xz new file mode 100644 index 0000000..6430653 --- /dev/null +++ b/ccache-3.4.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c2e260d4245e362552e47bec359941210a96419ac5adf582046ceb92489f7de +size 323728 diff --git a/ccache-3.4.1.tar.xz.asc b/ccache-3.4.1.tar.xz.asc new file mode 100644 index 0000000..8373aa2 --- /dev/null +++ b/ccache-3.4.1.tar.xz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABCAAGBQJagIkcAAoJEJlt2gdVlK24M0IQAKFaoD+oToW2U75ozGmx1iRE +WAFW4lVT4hH4XbEfKGlUiwVheBjREkzQxiH+Boo/20FcatmQZHoZxQkKpsClleMh +Hkr35ogZ95rTkPlMn5uKF1mHiIAyWUxotcFFLiOJ1L/fEZIJcKOvGCsKdEPEY+ny +c4tuChXIenrOEK5D7G3O82UcufKx6qaWChXv5Lvj42PzIzvZ+pfWjelsi8zZRrsZ +Rt+XuxoOtRI44Y9dhbWNM32iXrWjZIMVRSz9r1uva9KlMe0VWSsbHhxiJY/Vtwke +J7I5t7LVOCniy4nam1KBwnLG2ovBYu0FQegllsCL0S/ngHbdXNF4YBOxfZXYE1C0 +krAbAhKrIduA1NI+OsJVHLUYtxJGXC+cfSoPC9rFu4HtVHA6O530gEUIvUlUUmtX +mMOkiIsfl3B+npU+HDb5CEvh27PYQF7f+d3vBDHCC69PCqhS/ZatkrkhnzEhrzi0 +TXatxKkYl9cgNrfRFImXiq72zCGtD3RC1+gntCcJXvsFkfBKFu39OrzoWTIBqblO +tHLDvO4BkCPACfzRcnDIDI9xiqUdGeRkTa1CDUSfzMXNNOWss26T3Ud7z9WtfADn +yjZIv0SR9LiNM+oG7PJnjGBW2eJr2I9yAGR9V/MtDOHJUqOku7uy2+8BgHG+dXql +p7El2U9st2rtHsVqv34g +=Q3t9 +-----END PGP SIGNATURE----- diff --git a/ccache.changes b/ccache.changes index 2125acb..e5436ff 100644 --- a/ccache.changes +++ b/ccache.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Thu Mar 15 11:10:32 UTC 2018 - mpluskal@suse.com + +- Update to version 3.4.1: + * Fixed printing of version number in ccache --version. +- Changes for version 3.4.0: + * The compiler option form --sysroot arg is now handled like the + documented --sysroot=arg form. + * Added support for caching .su files generated by GCC flag + -fstack-usage. + * ccache should now work with distcc’s “pump” wrapper. + * The optional unifier is no longer disabled when the direct mode + is enabled. + * Added support for nvcc compiler options --compiler-bindir/-ccbin, + --output-directory/-odir and --libdevice-directory/-ldir. + * Boolean environment variable settings no longer accept the + following (case-insensitive) values: 0, false, disable and no. + All other values are accepted and taken to mean “true”. This is + to stop users from setting e.g. CCACHE_DISABLE=0 and then + expect the cache to be used. + * Improved support for run_second_cpp = false: If combined with + passing -fdirectives-only (GCC) or frewrite-includes (Clang) to + the compiler, diagnostics warnings and similar will be correct. + * An implicit -MQ is now passed to the preprocessor only if the + object file extension is non-standard. This should make it + easier to use EDG-based compilers (e.g. GHS) which don’t + understand -MQ. + * ccache now treats an unreadable configuration file just like a + missing configuration file. + * Documented more pitfalls with enabling hard_links + (CCACHE_HARDLINK). + * Documented caveats related to colored warnings from compilers. + * File size and number counters are now updated correctly when + files are overwritten in the cache, e.g. when using + CCACHE_RECACHE. + * run_second_cpp is now forced for nvcc. + * Fixed how the nvcc options -optf and -odir are handled. + ------------------------------------------------------------------- Sat Feb 3 04:53:41 UTC 2018 - avindra@opensuse.org diff --git a/ccache.spec b/ccache.spec index d219220..8b62036 100644 --- a/ccache.spec +++ b/ccache.spec @@ -17,12 +17,12 @@ Name: ccache -Version: 3.3.6 +Version: 3.4.1 Release: 0 Summary: A Fast C/C++ Compiler Cache -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Development/Languages/C and C++ -Url: https://ccache.samba.org/ +URL: https://ccache.samba.org/ Source0: https://www.samba.org/ftp/%{name}/%{name}-%{version}.tar.xz Source1: https://www.samba.org/ftp/%{name}/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring @@ -37,7 +37,7 @@ being done again. Supported languages are C, C++, Objective-C and Objective-C++. %prep -%setup -q +%autosetup %build %configure @@ -61,9 +61,10 @@ ln -sf ../../bin/%{name} cc ln -sf ../../bin/%{name} c++ %files -%doc AUTHORS.* GPL-3.0.txt LICENSE.* MANUAL.* NEWS.* README.* +%license LICENSE.* GPL-3.0.txt +%doc AUTHORS.* MANUAL.* NEWS.* README.* %{_bindir}/%{name} %{_libdir}/%{name} -%{_mandir}/man1/%{name}.1%{ext_man} +%{_mandir}/man1/%{name}.1%{?ext_man} %changelog From 090ad08b828f1784f58b62ccd92fb19cdac0ecf5fcb725da8642a98e2d094d81 Mon Sep 17 00:00:00 2001 From: Kristyna Streitova Date: Tue, 17 Apr 2018 13:49:43 +0000 Subject: [PATCH 2/2] Accepting request 597540 from home:kstreitova:branches:devel:tools:building MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to version 3.4.2 [bsc#1089879] * The cleanup algorithm has been fixed to not misbehave when files are removed by another process while the cleanup process is running. Previously, too many files could be removed from the cache if multiple cleanup processes were triggered at the same time, in extreme cases trimming the cache to a much smaller size than the configured limits. * Correctly hash preprocessed headers located in a “.gch directory”. Previously, ccache would not pick up changes to such precompiled headers, risking false positive cache hits. * Fixed build failure when using the bundled zlib sources. * ccache 3.3.5 added a workaround for not triggering Clang errors when a precompiled header’s dependency has an updated timestamp (but identical content). That workaround is now only applied when the compiler is Clang. * Made it possible to perform out-of-source builds in dev mode again. - AUTHORS.*, MANUAL.* and NEWS.* files are now located in the doc directory OBS-URL: https://build.opensuse.org/request/show/597540 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ccache?expand=0&rev=61 --- ccache-3.4.1.tar.xz | 3 --- ccache-3.4.1.tar.xz.asc | 17 ----------------- ccache-3.4.2.tar.xz | 3 +++ ccache-3.4.2.tar.xz.asc | 17 +++++++++++++++++ ccache.changes | 23 +++++++++++++++++++++++ ccache.spec | 6 +++--- 6 files changed, 46 insertions(+), 23 deletions(-) delete mode 100644 ccache-3.4.1.tar.xz delete mode 100644 ccache-3.4.1.tar.xz.asc create mode 100644 ccache-3.4.2.tar.xz create mode 100644 ccache-3.4.2.tar.xz.asc diff --git a/ccache-3.4.1.tar.xz b/ccache-3.4.1.tar.xz deleted file mode 100644 index 6430653..0000000 --- a/ccache-3.4.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8c2e260d4245e362552e47bec359941210a96419ac5adf582046ceb92489f7de -size 323728 diff --git a/ccache-3.4.1.tar.xz.asc b/ccache-3.4.1.tar.xz.asc deleted file mode 100644 index 8373aa2..0000000 --- a/ccache-3.4.1.tar.xz.asc +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iQIcBAABCAAGBQJagIkcAAoJEJlt2gdVlK24M0IQAKFaoD+oToW2U75ozGmx1iRE -WAFW4lVT4hH4XbEfKGlUiwVheBjREkzQxiH+Boo/20FcatmQZHoZxQkKpsClleMh -Hkr35ogZ95rTkPlMn5uKF1mHiIAyWUxotcFFLiOJ1L/fEZIJcKOvGCsKdEPEY+ny -c4tuChXIenrOEK5D7G3O82UcufKx6qaWChXv5Lvj42PzIzvZ+pfWjelsi8zZRrsZ -Rt+XuxoOtRI44Y9dhbWNM32iXrWjZIMVRSz9r1uva9KlMe0VWSsbHhxiJY/Vtwke -J7I5t7LVOCniy4nam1KBwnLG2ovBYu0FQegllsCL0S/ngHbdXNF4YBOxfZXYE1C0 -krAbAhKrIduA1NI+OsJVHLUYtxJGXC+cfSoPC9rFu4HtVHA6O530gEUIvUlUUmtX -mMOkiIsfl3B+npU+HDb5CEvh27PYQF7f+d3vBDHCC69PCqhS/ZatkrkhnzEhrzi0 -TXatxKkYl9cgNrfRFImXiq72zCGtD3RC1+gntCcJXvsFkfBKFu39OrzoWTIBqblO -tHLDvO4BkCPACfzRcnDIDI9xiqUdGeRkTa1CDUSfzMXNNOWss26T3Ud7z9WtfADn -yjZIv0SR9LiNM+oG7PJnjGBW2eJr2I9yAGR9V/MtDOHJUqOku7uy2+8BgHG+dXql -p7El2U9st2rtHsVqv34g -=Q3t9 ------END PGP SIGNATURE----- diff --git a/ccache-3.4.2.tar.xz b/ccache-3.4.2.tar.xz new file mode 100644 index 0000000..9b9ec4e --- /dev/null +++ b/ccache-3.4.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18a8b14367d63d3d37fb6c33cba60e1b7fcd7a63d608df97c9771ae0d234fee2 +size 324340 diff --git a/ccache-3.4.2.tar.xz.asc b/ccache-3.4.2.tar.xz.asc new file mode 100644 index 0000000..9336674 --- /dev/null +++ b/ccache-3.4.2.tar.xz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABCAAGBQJauAYVAAoJEJlt2gdVlK24UjYP/2vnr8x4OL8yq/uZfTsiAuhp +HLUzXbteo2PhANOW0ela4YtZ0zfuKLI2JmxkXanlbEUmJ0ncMdvMpnPyWfvSXrBK +xadQwip2rp8iqU8dCW+/z1mvmaZZEJiwGinSsAjJDymhjBBl+T9lzhlFuarLMhzr +OGE+DVHc1vgHQtj9yUeYMVyJp8N6qLx+Nu/Xk2nTAthdrH0vpqYunSBRm3jutBXI +C74d54ILWD9Bjd/CAaBIOEpn1AbIFxTI9k2cJIiGt3feju2pBEw4ZScYpOCOsFDo +G3sXiFgoABSZQwjCxcqLoL6sdkVzl3Wc6vp7JxYEv5mk5PCAhmfWKQNaBN8Bi3k1 +isjP9Ct8/zbYn6zNbxU6ypTGoFmXH0Em67YsDh0T3mZdEUzCvH611NhdqR4s6ndE +FWZ7XxoyYNcupZL/Uj9lTuTUDVw2B0N253/Repu6Zx03KFwgzmJLJ3iNbRWqO38O +6vHb1a9TGLrcQNNkCbYvIjCb4fCz3llGxQ+4RVPEWCcVqa/mbodlKJ9a9gGaYQXO +QsfaCvYlou6XOI9v2TyJbpaZxlZQi4wFQB8PYx3AAA8cdor46YYrfHagrjpGcdUT +R7afHNASra8+HK9yNtTEmTRRnvPDZgpWOxucAhEemJa8B8pv+OipRDn8sEmYdSkg +xt5UHreL+5Wfcq13xZsd +=p4ss +-----END PGP SIGNATURE----- diff --git a/ccache.changes b/ccache.changes index e5436ff..4765b7f 100644 --- a/ccache.changes +++ b/ccache.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Tue Apr 17 11:52:37 UTC 2018 - kstreitova@suse.com + +- Update to version 3.4.2 [bsc#1089879] + * The cleanup algorithm has been fixed to not misbehave when + files are removed by another process while the cleanup process + is running. Previously, too many files could be removed from + the cache if multiple cleanup processes were triggered at the + same time, in extreme cases trimming the cache to a much + smaller size than the configured limits. + * Correctly hash preprocessed headers located in a + “.gch directory”. Previously, ccache would not pick up changes + to such precompiled headers, risking false positive cache hits. + * Fixed build failure when using the bundled zlib sources. + * ccache 3.3.5 added a workaround for not triggering Clang errors + when a precompiled header’s dependency has an updated timestamp + (but identical content). That workaround is now only applied + when the compiler is Clang. + * Made it possible to perform out-of-source builds in dev mode + again. +- AUTHORS.*, MANUAL.* and NEWS.* files are now located in the doc + directory + ------------------------------------------------------------------- Thu Mar 15 11:10:32 UTC 2018 - mpluskal@suse.com diff --git a/ccache.spec b/ccache.spec index 8b62036..a530a12 100644 --- a/ccache.spec +++ b/ccache.spec @@ -17,12 +17,12 @@ Name: ccache -Version: 3.4.1 +Version: 3.4.2 Release: 0 Summary: A Fast C/C++ Compiler Cache License: GPL-3.0-or-later Group: Development/Languages/C and C++ -URL: https://ccache.samba.org/ +Url: https://ccache.samba.org/ Source0: https://www.samba.org/ftp/%{name}/%{name}-%{version}.tar.xz Source1: https://www.samba.org/ftp/%{name}/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring @@ -62,7 +62,7 @@ ln -sf ../../bin/%{name} c++ %files %license LICENSE.* GPL-3.0.txt -%doc AUTHORS.* MANUAL.* NEWS.* README.* +%doc doc/AUTHORS.* doc/MANUAL.* doc/NEWS.* README.* %{_bindir}/%{name} %{_libdir}/%{name} %{_mandir}/man1/%{name}.1%{?ext_man}