From caf3ac227f414ed6b23d4ddc36babc4052a30d381912f14ad1ba5eb1fa9ee77c Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sun, 11 Sep 2016 07:53:03 +0000 Subject: [PATCH 1/4] - Update to version 3.3.1: OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ccache?expand=0&rev=49 --- ccache-3.2.7.tar.xz | 3 -- ccache-3.2.7.tar.xz.asc | 17 ---------- ccache-3.3.1.tar.xz | 3 ++ ccache-3.3.1.tar.xz.asc | 17 ++++++++++ ccache.changes | 74 +++++++++++++++++++++++++++++++++++++++++ ccache.spec | 3 +- 6 files changed, 96 insertions(+), 21 deletions(-) delete mode 100644 ccache-3.2.7.tar.xz delete mode 100644 ccache-3.2.7.tar.xz.asc create mode 100644 ccache-3.3.1.tar.xz create mode 100644 ccache-3.3.1.tar.xz.asc diff --git a/ccache-3.2.7.tar.xz b/ccache-3.2.7.tar.xz deleted file mode 100644 index d27479f..0000000 --- a/ccache-3.2.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f1db1ef3cdcf85cf40c7be926c28b4a3beb12ea4d7f1760edf45e753c5147d95 -size 305596 diff --git a/ccache-3.2.7.tar.xz.asc b/ccache-3.2.7.tar.xz.asc deleted file mode 100644 index c8e62cb..0000000 --- a/ccache-3.2.7.tar.xz.asc +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iQIcBAABCAAGBQJXj6CtAAoJEJlt2gdVlK24OqkQAIZQpMHtlrvigQlIAeftv10Y -8RrnFf57hv5xVdLLaM2QJCzyT2xgYbiY1ycXDy2HmyxJHMBkubuNvCq8/YcDFOFz -SEK8wmABYHVx8EXfkrCzFCMKvxA7ENl7U+Pw8DAcRppK11ZvpStqY1FOd9IjUdQt -zYpcqtD/FWhCf0UXXTNRufN/jhk24Kkj2vDhQCbN9Gu50polqkG+EcQGX9yEgi86 -57BGJdTHAWuFRKF2iSpEcJQaP9c28PPQxwhEXebYyOt3u/nGeJnuTgrXm4gzrlar -p6H5RA800ev211scbzDHHAqkog7To3xuCiyrusoXWR82hmSpbJuJ70EbWlOM5UHb -D7P6DPYqsYCEiBiY8RuYzSFsrVTOdFpW2IFIIzL0ZRG2YxCGJ5zqzfUcMSU6kv1+ -RDD8DZOyFgVM1FwijA+0s03KEQQdehCAPvhbnkQoFYSVdL+IRfEi9D+8OGdMeAXB -EHSY1wkVgHnUbELaBiu+uqcB1QYLFovmTX2oUn4qdxKHnUrMWVs5I3u2SipbARdE -1ICvSqX4i0v1exw0oPi410AX6PlkxH2Lb80JEdbOKRW4d9ZMDBpqdIah3UscbNei -wWyEX2W9Lj/ZwLkzuDGqpepyxQ8ayEQSR349S3HAjdageKs2ialnrdSLAkOx9Oy9 -g5zyeghy6dCjT3Upn5pP -=Z9YB ------END PGP SIGNATURE----- diff --git a/ccache-3.3.1.tar.xz b/ccache-3.3.1.tar.xz new file mode 100644 index 0000000..a533b7d --- /dev/null +++ b/ccache-3.3.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6d87a49cc6d7639636d289ed9a5f560bc2acf7ab698fe8ee14e9c9f15ba41c6 +size 311856 diff --git a/ccache-3.3.1.tar.xz.asc b/ccache-3.3.1.tar.xz.asc new file mode 100644 index 0000000..a385dd4 --- /dev/null +++ b/ccache-3.3.1.tar.xz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABCAAGBQJX0GngAAoJEJlt2gdVlK24pKQP/i7B/aF1pirrE01OzVvnG/QG +02hwrC9HFWuTA5KdxxIQR0TdgsAJau3ZUU+eaLgWP4JhFoUOD2EVS40rguUh2bL+ +TNudBhVyPHFA6fCgpAspM587CPqRReL8d3LH8DGTRPftZ0m5PDFSMDyWwfSzbqmm +eQwNdvvXzLtuTjhPxs1eNIQsN2cTCMSYjIGQe+aFJPaA+6GbHaHywxs6hS/k4R/S +EUWcdXB6v6eUUI02FSYjSywQbNUlLc3gdqUG7ypahcXaMqVFMCe7dc+VXrynCv02 +lUnWsDSmnTlK78Ob1hTgI9iLklIEft8tMQ99v98wDEVRraC9XQqCYDebizpWHPTx +pOJFAh3nHw3ENkCwGJTZoymFvk8uThnm8P21JEx9rrmdcJVh5ZdM/9Xn8dQAQWDZ +JmhX0NkKo6igcf8nJxiythB5GecCJKgZGIywzub8VB3h7nPfSI7rUDAtmz//qNla +uqbucc8Aap8eGtrg83hya+qdQP8n3z/6CiAX3fh88DTNn+XMTji7WuJ3gQoHe5Nk +dOys98QRo8l3aA2LoGhv8+Ngs82oLtQYXQuzGr9/Tozm2iGca1fAFfoJjihp//47 +GI8dgdfV9mBdcUBDl6499CTNdHAKk40KXKP0Pi9QxMz17rKvcM39PDWbCWFhdnf2 +CXikwjWKj+gLETPmNz5v +=oUBU +-----END PGP SIGNATURE----- diff --git a/ccache.changes b/ccache.changes index 08a07dd..7f0012e 100644 --- a/ccache.changes +++ b/ccache.changes @@ -1,3 +1,77 @@ +------------------------------------------------------------------- +Sun Sep 11 07:42:26 UTC 2016 - mpluskal@suse.com + +- Update to version 3.3.1: + * Fixed a problem in the “multiple -arch options” support + introduced in 3.3. When using the direct mode (the default), + different combinations of -arch options were not detected + properly. + * Fixed an issue when compiler option -Wp,-MT,path is used + instead of -MT path (and similar for -MF, -MP and -MQ) and + run_second_cpp (CCACHE_CPP2) is enabled. +- Changes for 3.3.0: + * A C99-compatible compiler is now required to build ccache. + * The configuration option run_second_cpp (CCACHE_CPP2) now + defaults to true. This improves ccache’s out-of-the-box + experience for compilers that can’t compile their own + preprocessed output with the same outcome as if they compiled + the real source code directly, e.g. newer versions of GCC and + Clang. + * The configuration option hash_dir (CCACHE_HASHDIR) now defaults + to true. + * Added a new ignore_headers_in_manifest configuration option, + which specifies headers that should be ignored in the direct + mode. + * Added a new prefix_command_cpp (CCACHE_PREFIX_CPP) configuration + option, which specifies one or several prefixes to add to the + command line ccache uses when invoking the preprocessor. + * Added a new limit_multiple (CCACHE_LIMIT_MULTIPLE) configuration + option, which specifies how much of the cache to remove when + cleaning. + * Added a new keep_comments_cpp (CCACHE_COMMENTS) configuration + option, which tells ccache not to discard the comments before + hashing preprocessor output. This can be used to check + documentation with -Wdocumentation. + * Added a new sloppiness option no_system_headers, which tells + ccache not to include system headers in manifest files. + * Added a new statistics counter that tracks the number of + performed cleanups due to the cache size being over the limit. + The value is shown in the output of “ccache -s”. + * Added support for relocating debug info directory using + -fdebug-prefix-map. This allows for cache hits even when + hash_dir is used in combination with base_dir. + * Added a new “cache hit rate” field to the output of “ccache -s”. + * Added support for caching compilation of assembler code produced + by e.g. “gcc -S file.c”. + * Added support for cuda including the -optf/--options-file option. + * Added support for Fortran 77. + * Added support for multiple -arch options to produce "fat binaries". + * Multiple identical -arch arguments are now handled without bailing. + * The concatenated form of some long compiler options is now + recognized, for example when using -isystemPATH instead of + -isystem PATH. + * If hard-linking is enabled and but fails (e.g. due to + cross-device linking), ccache now falls back to copying instead + of running the compiler. + * Made the hash_dir option only have effect when generating debug + info. + * ccache now knows how to convert absolute paths to relative + paths inside dependency files when using base_dir. + * Improved parsing of -g* options. + * Made ccache understand -Wp,-D* options. + * ccache now understands the undocumented -coverage (only one + dash) GCC option. + * Names of included files are no longer included in the hash of + the compiler’s preprocessed output. This leads to more + potential cache hits when not using the direct mode. + * Increased buffer size used when reading file data. This + improves performance slightly. +- Changes for 3.2.8: + * Bail out on too hard compiler option -P. + * Fixed clang test suite when running on Linux. + * Fixed build and test for MinGW32 and Windows. +- Add fortran alias + ------------------------------------------------------------------- Fri Aug 26 13:27:20 UTC 2016 - tchvatal@suse.com diff --git a/ccache.spec b/ccache.spec index e607ad7..e1bd150 100644 --- a/ccache.spec +++ b/ccache.spec @@ -17,7 +17,7 @@ Name: ccache -Version: 3.2.7 +Version: 3.3.1 Release: 0 Summary: A Fast C/C++ Compiler Cache License: GPL-3.0+ @@ -51,6 +51,7 @@ mkdir -p %{buildroot}/%{_libdir}/%{name} cd %{buildroot}/%{_libdir}/%{name} ln -sf ../../bin/%{name} gcc ln -sf ../../bin/%{name} g++ +ln -sf ../../bin/%{name} gfortran # do the same for clang ln -sf ../../bin/%{name} clang ln -sf ../../bin/%{name} clang++ From 4e0fced85be968966bdc7dafe4bdf92d0ea03f6952409b13af5b0bc0e1214409 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sun, 11 Sep 2016 08:01:53 +0000 Subject: [PATCH 2/4] . OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ccache?expand=0&rev=50 --- ccache.changes | 2 +- ccache.spec | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ccache.changes b/ccache.changes index 7f0012e..6ded3a9 100644 --- a/ccache.changes +++ b/ccache.changes @@ -70,7 +70,7 @@ Sun Sep 11 07:42:26 UTC 2016 - mpluskal@suse.com * Bail out on too hard compiler option -P. * Fixed clang test suite when running on Linux. * Fixed build and test for MinGW32 and Windows. -- Add fortran alias +- Add fortran amd objc symlinks ------------------------------------------------------------------- Fri Aug 26 13:27:20 UTC 2016 - tchvatal@suse.com diff --git a/ccache.spec b/ccache.spec index e1bd150..23125a8 100644 --- a/ccache.spec +++ b/ccache.spec @@ -29,12 +29,12 @@ Source2: %{name}.keyring BuildRequires: xz BuildRequires: zlib-devel Provides: distcc:%{_bindir}/ccache -BuildRoot: %{_tmppath}/%{name}-%{version}-build %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++. +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++. %prep %setup -q @@ -51,6 +51,7 @@ mkdir -p %{buildroot}/%{_libdir}/%{name} cd %{buildroot}/%{_libdir}/%{name} ln -sf ../../bin/%{name} gcc ln -sf ../../bin/%{name} g++ +ln -sf ../../bin/%{name} gcc-objc ln -sf ../../bin/%{name} gfortran # do the same for clang ln -sf ../../bin/%{name} clang From 77f4cef5cfb82d4e79d77823c649af4289ab9dd91277df9ccbf6370bf2d97d40 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sun, 11 Sep 2016 09:16:07 +0000 Subject: [PATCH 3/4] . OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ccache?expand=0&rev=51 --- ccache.changes | 66 +++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/ccache.changes b/ccache.changes index 6ded3a9..bb77d61 100644 --- a/ccache.changes +++ b/ccache.changes @@ -9,64 +9,64 @@ Sun Sep 11 07:42:26 UTC 2016 - mpluskal@suse.com * Fixed an issue when compiler option -Wp,-MT,path is used instead of -MT path (and similar for -MF, -MP and -MQ) and run_second_cpp (CCACHE_CPP2) is enabled. -- Changes for 3.3.0: +- Changes for version 3.3.0: * A C99-compatible compiler is now required to build ccache. * The configuration option run_second_cpp (CCACHE_CPP2) now - defaults to true. This improves ccache’s out-of-the-box - experience for compilers that can’t compile their own - preprocessed output with the same outcome as if they compiled - the real source code directly, e.g. newer versions of GCC and - Clang. + defaults to true. This improves ccache’s out-of-the-box + experience for compilers that can’t compile their own + preprocessed output with the same outcome as if they compiled + the real source code directly, e.g. newer versions of GCC and + Clang. * The configuration option hash_dir (CCACHE_HASHDIR) now defaults - to true. + to true. * Added a new ignore_headers_in_manifest configuration option, - which specifies headers that should be ignored in the direct - mode. + which specifies headers that should be ignored in the direct + mode. * Added a new prefix_command_cpp (CCACHE_PREFIX_CPP) configuration - option, which specifies one or several prefixes to add to the - command line ccache uses when invoking the preprocessor. + option, which specifies one or several prefixes to add to the + command line ccache uses when invoking the preprocessor. * Added a new limit_multiple (CCACHE_LIMIT_MULTIPLE) configuration - option, which specifies how much of the cache to remove when - cleaning. + option, which specifies how much of the cache to remove when + cleaning. * Added a new keep_comments_cpp (CCACHE_COMMENTS) configuration - option, which tells ccache not to discard the comments before - hashing preprocessor output. This can be used to check - documentation with -Wdocumentation. + option, which tells ccache not to discard the comments before + hashing preprocessor output. This can be used to check + documentation with -Wdocumentation. * Added a new sloppiness option no_system_headers, which tells - ccache not to include system headers in manifest files. + ccache not to include system headers in manifest files. * Added a new statistics counter that tracks the number of - performed cleanups due to the cache size being over the limit. - The value is shown in the output of “ccache -s”. + performed cleanups due to the cache size being over the limit. + The value is shown in the output of “ccache -s”. * Added support for relocating debug info directory using - -fdebug-prefix-map. This allows for cache hits even when - hash_dir is used in combination with base_dir. + -fdebug-prefix-map. This allows for cache hits even when + hash_dir is used in combination with base_dir. * Added a new “cache hit rate” field to the output of “ccache -s”. * Added support for caching compilation of assembler code produced - by e.g. “gcc -S file.c”. + by e.g. “gcc -S file.c”. * Added support for cuda including the -optf/--options-file option. * Added support for Fortran 77. * Added support for multiple -arch options to produce "fat binaries". * Multiple identical -arch arguments are now handled without bailing. * The concatenated form of some long compiler options is now - recognized, for example when using -isystemPATH instead of - -isystem PATH. + recognized, for example when using -isystemPATH instead of + -isystem PATH. * If hard-linking is enabled and but fails (e.g. due to - cross-device linking), ccache now falls back to copying instead - of running the compiler. + cross-device linking), ccache now falls back to copying instead + of running the compiler. * Made the hash_dir option only have effect when generating debug - info. + info. * ccache now knows how to convert absolute paths to relative - paths inside dependency files when using base_dir. + paths inside dependency files when using base_dir. * Improved parsing of -g* options. * Made ccache understand -Wp,-D* options. * ccache now understands the undocumented -coverage (only one - dash) GCC option. + dash) GCC option. * Names of included files are no longer included in the hash of - the compiler’s preprocessed output. This leads to more - potential cache hits when not using the direct mode. + the compiler’s preprocessed output. This leads to more + potential cache hits when not using the direct mode. * Increased buffer size used when reading file data. This - improves performance slightly. -- Changes for 3.2.8: + improves performance slightly. +- Changes for version 3.2.8: * Bail out on too hard compiler option -P. * Fixed clang test suite when running on Linux. * Fixed build and test for MinGW32 and Windows. From 5b8aba9bfc6c916a8ee37a3ec179dfb572b7a11781fba2b575185b5dcaf699b7 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sun, 11 Sep 2016 09:17:40 +0000 Subject: [PATCH 4/4] . OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ccache?expand=0&rev=52 --- ccache.changes | 58 +++++++++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/ccache.changes b/ccache.changes index bb77d61..eda02ce 100644 --- a/ccache.changes +++ b/ccache.changes @@ -11,65 +11,65 @@ Sun Sep 11 07:42:26 UTC 2016 - mpluskal@suse.com run_second_cpp (CCACHE_CPP2) is enabled. - Changes for version 3.3.0: * A C99-compatible compiler is now required to build ccache. - * The configuration option run_second_cpp (CCACHE_CPP2) now - defaults to true. This improves ccache’s out-of-the-box + * The configuration option run_second_cpp (CCACHE_CPP2) now + defaults to true. This improves ccache’s out-of-the-box experience for compilers that can’t compile their own preprocessed output with the same outcome as if they compiled the real source code directly, e.g. newer versions of GCC and Clang. - * The configuration option hash_dir (CCACHE_HASHDIR) now defaults + * The configuration option hash_dir (CCACHE_HASHDIR) now defaults to true. - * Added a new ignore_headers_in_manifest configuration option, + * Added a new ignore_headers_in_manifest configuration option, which specifies headers that should be ignored in the direct mode. - * Added a new prefix_command_cpp (CCACHE_PREFIX_CPP) configuration + * Added a new prefix_command_cpp (CCACHE_PREFIX_CPP) configuration option, which specifies one or several prefixes to add to the command line ccache uses when invoking the preprocessor. - * Added a new limit_multiple (CCACHE_LIMIT_MULTIPLE) configuration + * Added a new limit_multiple (CCACHE_LIMIT_MULTIPLE) configuration option, which specifies how much of the cache to remove when cleaning. - * Added a new keep_comments_cpp (CCACHE_COMMENTS) configuration + * Added a new keep_comments_cpp (CCACHE_COMMENTS) configuration option, which tells ccache not to discard the comments before hashing preprocessor output. This can be used to check documentation with -Wdocumentation. - * Added a new sloppiness option no_system_headers, which tells + * Added a new sloppiness option no_system_headers, which tells ccache not to include system headers in manifest files. - * Added a new statistics counter that tracks the number of + * Added a new statistics counter that tracks the number of performed cleanups due to the cache size being over the limit. The value is shown in the output of “ccache -s”. - * Added support for relocating debug info directory using - -fdebug-prefix-map. This allows for cache hits even when + * Added support for relocating debug info directory using + -fdebug-prefix-map. This allows for cache hits even when hash_dir is used in combination with base_dir. - * Added a new “cache hit rate” field to the output of “ccache -s”. - * Added support for caching compilation of assembler code produced + * Added a new “cache hit rate” field to the output of “ccache -s”. + * Added support for caching compilation of assembler code produced by e.g. “gcc -S file.c”. - * Added support for cuda including the -optf/--options-file option. - * Added support for Fortran 77. - * Added support for multiple -arch options to produce "fat binaries". - * Multiple identical -arch arguments are now handled without bailing. - * The concatenated form of some long compiler options is now + * Added support for cuda including the -optf/--options-file option. + * Added support for Fortran 77. + * Added support for multiple -arch options to produce "fat binaries". + * Multiple identical -arch arguments are now handled without bailing. + * The concatenated form of some long compiler options is now recognized, for example when using -isystemPATH instead of -isystem PATH. - * If hard-linking is enabled and but fails (e.g. due to + * If hard-linking is enabled and but fails (e.g. due to cross-device linking), ccache now falls back to copying instead of running the compiler. - * Made the hash_dir option only have effect when generating debug + * Made the hash_dir option only have effect when generating debug info. - * ccache now knows how to convert absolute paths to relative + * ccache now knows how to convert absolute paths to relative paths inside dependency files when using base_dir. - * Improved parsing of -g* options. - * Made ccache understand -Wp,-D* options. - * ccache now understands the undocumented -coverage (only one + * Improved parsing of -g* options. + * Made ccache understand -Wp,-D* options. + * ccache now understands the undocumented -coverage (only one dash) GCC option. - * Names of included files are no longer included in the hash of + * Names of included files are no longer included in the hash of the compiler’s preprocessed output. This leads to more potential cache hits when not using the direct mode. - * Increased buffer size used when reading file data. This + * Increased buffer size used when reading file data. This improves performance slightly. - Changes for version 3.2.8: - * Bail out on too hard compiler option -P. - * Fixed clang test suite when running on Linux. - * Fixed build and test for MinGW32 and Windows. + * Bail out on too hard compiler option -P. + * Fixed clang test suite when running on Linux. + * Fixed build and test for MinGW32 and Windows. - Add fortran amd objc symlinks -------------------------------------------------------------------