diff options
author | TizenOpenSource <tizenopensrc@samsung.com> | 2023-12-07 12:49:28 +0900 |
---|---|---|
committer | TizenOpenSource <tizenopensrc@samsung.com> | 2023-12-07 12:49:28 +0900 |
commit | ebe44f3d0109516ea1b85321719f1804d843919b (patch) | |
tree | c25ad3c973ccb46816eb621cc9614325302f079c | |
parent | 72a4278b0fbe466db8ee7b2772c2e2734ff9b504 (diff) | |
download | ccache-accepted/tizen/base/asan/20240422.014757.tar.gz ccache-accepted/tizen/base/asan/20240422.014757.tar.bz2 ccache-accepted/tizen/base/asan/20240422.014757.zip |
Bump to 4.8.3accepted/tizen/base/toolchain/20240124.003840accepted/tizen/base/riscv/20231220.050653accepted/tizen/base/asan/20240422.014757accepted/tizen/base/20231217.213507tizen_basesandbox/ccache_4.8.3accepted/tizen_base_toolchainaccepted/tizen_base_riscvaccepted/tizen_base_asanaccepted/tizen_base
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
-rw-r--r-- | .gitignore | 26 | ||||
-rw-r--r-- | packaging/ccache.changes | 192 | ||||
-rw-r--r-- | packaging/ccache.manifest | 5 | ||||
-rw-r--r-- | packaging/ccache.spec | 78 |
4 files changed, 275 insertions, 26 deletions
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d8e547f..0000000 --- a/.gitignore +++ /dev/null @@ -1,26 +0,0 @@ -# Typical build directories -/build*/ - -# CLion -/.idea/ -/cmake-build-*/ - -# Downloaded tools -misc/.clang-format-exe - -# Emacs save files -*~ - -# Vim save files -.*.sw? -.*.un~ - -# Visual Studio settings and build output -/.vs/ -/out/build/ - -# Visual Studio Code settings -/.vscode/ - -# macOS custom attributes -.DS_Store/ diff --git a/packaging/ccache.changes b/packaging/ccache.changes new file mode 100644 index 0000000..7a20353 --- /dev/null +++ b/packaging/ccache.changes @@ -0,0 +1,192 @@ +------------------------------------------------------------------- +Sun Aug 21 18:24:58 UTC 2011 - asterios.dramis@gmail.com + +- update to ccache-3.1.6 + - Rewrite argument to --sysroot if CCACHE_BASEDIR is used. + - Don't crash if getcwd() fails. + - Fixed alignment of "called for preprocessing" counter. + +------------------------------------------------------------------- +Mon Jun 6 14:52:55 UTC 2011 - puzel@novell.com + +- update to ccache-3.1.5 + - Added a new statistics counter named ``called for + preprocessing''. + - The original command line is now logged to the file specified + with `CCACHE_LOGFILE`. + - Improved error logging when system calls fail. + - Added support for rewriting absolute paths in + `-F`/`-iframework` GCC options. + - Improved order of statistics counters in `ccache -s` output. + - The `-MF`/`-MT`/`-MQ` options with concatenated argument are + now handled correctly when they are last on the commandline. + - ccache is now bug compatible with GCC for the `-MT`/`-MQ` + options with concatenated arguments. + - Fixed a minor memory leak. + - Systems that lack (and don't need to be linked with) libm are + now supported. + +------------------------------------------------------------------- +Wed Feb 16 18:19:41 UTC 2011 - asterios.dramis@gmail.com + +- update to ccache-3.1.4 + - Made a work-around for a bug in gzputc() in zlib 1.2.5. + - Corrupt manifest files are now removed so that they won't block direct + mode hits. + - ccache now copes with file systems that don't know about symbolic links. + - The file handle in now correctly closed on write error when trying to + create a cache dir tag. +- Spec file updates: + - Changes based on rpmdevtools templates and spec-cleaner run. + - Updated Summary: and %description. + - Made it compile with external zlib instead of the bundled copy. + - Added also the html files in the %doc section. + +------------------------------------------------------------------- +Mon Nov 29 09:56:02 UTC 2010 - puzel@novell.com + +- update to ccache-3.1.3 + - The -MFarg, -MTarg and -MQarg compiler options (i.e, without + space between option and argument) are now handled correctly. + +------------------------------------------------------------------- +Mon Nov 22 10:58:50 UTC 2010 - puzel@novell.com + +- update to ccache-3.1.2 + - bail out on too hard compiler options '-fdump-*' + - NULL return values from malloc/calloc of zero bytes are now + handled correctly + - improved documentation on which information is included in the + hash sum + - made the 'too new header file' test case work on file systems + with unsynchronized clocks + - the test suite now also works on systems that lack a /dev/zero + +------------------------------------------------------------------- +Mon Nov 8 09:46:57 UTC 2010 - puzel@novell.com + +- update to ccache-3.1.1 + - ccache now falls back to preprocessor mode when a non-regular + include file (device, socket, etc) has been detected so that + potential hanging due to blocking reads is avoided. + - CRC errors are now detected when decompressing compressed files + in the cache. + - Fixed potential object file corruption race on NFS. + - Minor documentation corrections. + - Fixed configure detection of ar. + - ccache development version (set by dev.mk) now works with gits + whose `describe` command doesn't understand `--dirty`. + +------------------------------------------------------------------- +Fri Sep 17 09:22:59 UTC 2010 - puzel@novell.com + +- update to ccache-3.1 + - features: + - Added support for hashing the output of a custom command + (e.g. `$compiler --version`) to identify the compiler + instead of stat-ing or hashing the compiler binary. + - Added support for caching compilations that use precompiled + headers. + - Locking of the files containing statistics counters is now + done using symlinks instead of POSIX locks. + - Manifest files are now updated without the need of taking + locks. + - Added `.cp` and `.CP` as known C++ suffixes. + - Improved logging. + - bugfixes: + - Non-fatal error messages are now never printed to stderr but + logged instead. + - Fixed a bug affecting failing commands when `--ccache-skip` is + used. + - Made `--ccache-skip` work for all options. + - EINTR is now handled correctly. + +------------------------------------------------------------------- +Fri Jul 16 08:15:51 UTC 2010 - puzel@novell.com + +- update to ccache-3.0.1 + - bugfixes: + - The statistics counter ``called for link'' is now correctly + updated when linking with a single object file. + - Fixed a problem with out-of-source builds. + +------------------------------------------------------------------- +Mon Jul 12 11:43:54 UTC 2010 - puzel@novell.com + +- update to ccache-3.0 + - notable changes: + - The way the hashes are calculated has changed, so you won't get + cache hits for compilation results stored by older ccache + versions. Because of this, you might as well clear the old + cache directory with `ccache --clear` if you want, unless you + plan to keep using an older ccache version. + - ccache now has a ``direct mode'' where it computes a hash of + the source code (including all included files) and compiler + options without running the preprocessor. By not running the + preprocessor, CPU usage is reduced; the speed is somewhere + between 1 and 5 times that of ccache running in traditional + mode, depending on the circumstances. The speedup will be + higher when I/O is fast (e.g., when files are in the disk + cache). The direct mode can be disabled by setting + +CCACHE_NODIRECT+. + - Support has been added for rewriting absolute paths to relative + paths when hashing, in order to increase cache hit rate when + building the same source code in different directories even + when compiling with `-g` and when using absolute include + directory paths. This is done by setting the `CCACHE_BASEDIR` + environment variable to an absolute path that specifies which + paths to rewrite. + - Object files are now optionally stored compressed in the cache. + The runtime cost is negligible, and more files will fit in the + ccache directory and in the disk cache. Set `CCACHE_COMPRESS` + to enable object file compression. Note that you can't use + compression in combination with the hard link feature. + - A `CCACHE_COMPILERCHECK` option has been added. This option + tells ccache what compiler-identifying information to hash to + ensure that results retrieved from the cache are accurate. + Possible values are: none (don't hash anything), mtime (hash + the compiler's mtime and size) and content (hash the content of + the compiler binary). The default is mtime. +- see /usr/share/doc/packages/ccache/NEWS.txt for complete + release notes + +------------------------------------------------------------------- +Wed Jan 25 21:34:51 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Thu Sep 29 03:16:43 CEST 2005 - dmueller@suse.de + + - add norootforbuild + +------------------------------------------------------------------- +Wed Sep 28 23:24:29 CEST 2005 - dmueller@suse.de + +- add norootforbuild + +------------------------------------------------------------------- +Thu Oct 21 11:56:47 CEST 2004 - ltinkl@suse.cz + +- update to version 2.4 + +------------------------------------------------------------------- +Mon Sep 29 11:38:06 CEST 2003 - ltinkl@suse.cz + +- update to version 2.3 + +------------------------------------------------------------------- +Wed Jul 09 13:28:43 CEST 2003 - ltinkl@suse.cz + +- updated sources to version 2.2 + +------------------------------------------------------------------- +Fri Mar 28 15:38:13 CET 2003 - vbobek@suse.cz + +- provides binary from older distcc package [#25806] + +------------------------------------------------------------------- +Mon Feb 10 14:32:44 CET 2003 - vbobek@suse.cz + +- initial suse release 2.1.1 + diff --git a/packaging/ccache.manifest b/packaging/ccache.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/ccache.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/ccache.spec b/packaging/ccache.spec new file mode 100644 index 0000000..9e846bb --- /dev/null +++ b/packaging/ccache.spec @@ -0,0 +1,78 @@ +# +# spec file for package ccache +# +# Copyright (c) 2021 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: ccache +Version: 4.8.3 +Release: 0 +Summary: A Fast C/C++ Compiler Cache +License: GPL-3.0-or-later +URL: https://ccache.dev/ +Source0: https://github.com/ccache/ccache/releases/download/v%{version}/ccache-%{version}.tar.xz +Source1001: ccache.manifest +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: libzstd-devel >= 1.1.2 +BuildRequires: libxslt +Provides: distcc:%{_bindir}/ccache + +%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++. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +export CFLAGS+=" -fPIC " +export CXXFLAGS+=" -fPIC " +export LDFLAGS+=" -pie " +%cmake -DREDIS_STORAGE_BACKEND=OFF +%__make %{?_smp_mflags} + +%install +%make_install + +# create the compat symlinks into /usr/libdir/ccache +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 +ln -sf ../../bin/%{name} clang++ +# and regular cc +ln -sf ../../bin/%{name} cc +ln -sf ../../bin/%{name} c++ +# and for nvidia cuda +ln -sf ../../bin/%{name} nvcc + + +%files +%manifest %{name}.manifest +%defattr(-,root,root,-) +%license LICENSE.* GPL-3.0.txt +%doc doc/AUTHORS.* doc/MANUAL.* doc/NEWS.* README.* +%{_bindir}/%{name} +%{_libdir}/%{name} + +%changelog |