Accepting request 287550 from home:pluskalm:branches:devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/287550 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ccache?expand=0&rev=34
This commit is contained in:
parent
8ca088b04e
commit
83b5fbfe11
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:04d3e2e438ac8d4cc4b110b68cdd61bd59226c6588739a4a386869467f5ced7c
|
||||
size 266547
|
3
ccache-3.2.1.tar.xz
Normal file
3
ccache-3.2.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:872af34e1d2cef18694001d29db7f167d644e7602ca32cd6c74b28d81458bd9d
|
||||
size 297868
|
17
ccache-3.2.1.tar.xz.asc
Normal file
17
ccache-3.2.1.tar.xz.asc
Normal file
@ -0,0 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1
|
||||
|
||||
iQIcBAABCAAGBQJUiKLzAAoJEJlt2gdVlK24MCAP/0ArDT9HvfULtXza2j1yT6jR
|
||||
0GmvbqzGjSDGEiT3krC7kLX/X+oajcWm7peQEvs7x0D8Li005Qhgr2bHOwxqYwVL
|
||||
qWfNK0pg2D3PkL1XOj0mchRXHdZFNeHNinTFNzu9EHDQtK8ihMsZHJWZeRk6blms
|
||||
2jomzSIr5B/iuRM4C6np0LUkIO/JOF8tVm5H604e7Zc56CT+9jLt6aYiqW9HCaCO
|
||||
wEJ3/JmIFCVA0VW642caIWkhd7FHy24JEdjxzVz77O/2JNWAC6icNUWtZEwMcPQE
|
||||
YCnujq618dilbnRP32CQNgTxCWLIfQ4gsEBOG3PY4JcJejlcra777TY3CIL9ugO2
|
||||
4PgQdEOCedIY0pZlAyH4bevK2w68u3bwi/Z9n1wWV9bT2ghLNwb5GlubX0d5xAY+
|
||||
5LvnENZb/tScd5wzIi3HvnxHhlFGEkDareyfAcGGC7+lrz0N6soYydNax+AHZLSK
|
||||
qYvMSHUYX1p/Y9upQKqWCXPSerGjx3MvLbGdSff14pdOxaKDTgFSfQZPtq3D8wKz
|
||||
QaD22rsrtarTcIa4hnyh8wTQ4/cpBDaD4ekT1hbcBblcDOhzo0qoeX2VBaEnpm5T
|
||||
OT51uBVF+8h282Ma5bGT181dHVkTWBSEiXiDz8V8AhFPyOBVblVDpeyM8lIDjEIM
|
||||
RN1DBPE497e+2c1UCrW8
|
||||
=zJhj
|
||||
-----END PGP SIGNATURE-----
|
@ -1,161 +0,0 @@
|
||||
X-Git-Url: https://gitweb.samba.org/?p=ccache.git;a=blobdiff_plain;f=test.sh;h=3e3838712aecb402b89bd070b1c46c616e44a1c6;hp=3ed90697bf6ec0eb1a69e4affbb1cfe65a8d74cb;hb=b5d63f81c1a83fd4c50b769a96a04f581b7db70c;hpb=fd7d9b8d9aaaaacfa0eafe668bff4404b8efa5e9
|
||||
|
||||
Index: ccache-3.1.9/test.sh
|
||||
===================================================================
|
||||
--- ccache-3.1.9.orig/test.sh
|
||||
+++ ccache-3.1.9/test.sh
|
||||
@@ -3,7 +3,7 @@
|
||||
# A simple test suite for ccache.
|
||||
#
|
||||
# Copyright (C) 2002-2007 Andrew Tridgell
|
||||
-# Copyright (C) 2009-2012 Joel Rosdahl
|
||||
+# Copyright (C) 2009-2013 Joel Rosdahl
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -562,6 +562,12 @@ int test3;
|
||||
EOF
|
||||
backdate test1.h test2.h test3.h
|
||||
|
||||
+ $COMPILER -c -Wp,-MD,expected.d test.c
|
||||
+ expected_d_content=`cat expected.d`
|
||||
+
|
||||
+ $COMPILER -c -Wp,-MMD,expected_mmd.d test.c
|
||||
+ expected_mmd_d_content=`cat expected_mmd.d`
|
||||
+
|
||||
##################################################################
|
||||
# First compilation is a miss.
|
||||
testname="first compilation"
|
||||
@@ -677,7 +683,7 @@ EOF
|
||||
checkstat 'cache hit (direct)' 0
|
||||
checkstat 'cache hit (preprocessed)' 0
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile other.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile other.d "$expected_d_content"
|
||||
|
||||
rm -f other.d
|
||||
|
||||
@@ -685,7 +691,7 @@ EOF
|
||||
checkstat 'cache hit (direct)' 1
|
||||
checkstat 'cache hit (preprocessed)' 0
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile other.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile other.d "$expected_d_content"
|
||||
|
||||
rm -f other.d
|
||||
|
||||
@@ -698,7 +704,7 @@ EOF
|
||||
checkstat 'cache hit (direct)' 0
|
||||
checkstat 'cache hit (preprocessed)' 0
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile other.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile other.d "$expected_mmd_d_content"
|
||||
|
||||
rm -f other.d
|
||||
|
||||
@@ -706,7 +712,7 @@ EOF
|
||||
checkstat 'cache hit (direct)' 1
|
||||
checkstat 'cache hit (preprocessed)' 0
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile other.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile other.d "$expected_mmd_d_content"
|
||||
|
||||
rm -f other.d
|
||||
|
||||
@@ -760,7 +766,7 @@ EOF
|
||||
checkstat 'cache hit (direct)' 0
|
||||
checkstat 'cache hit (preprocessed)' 0
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile test.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile test.d "$expected_d_content"
|
||||
|
||||
rm -f test.d
|
||||
|
||||
@@ -768,7 +774,7 @@ EOF
|
||||
checkstat 'cache hit (direct)' 1
|
||||
checkstat 'cache hit (preprocessed)' 0
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile test.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile test.d "$expected_d_content"
|
||||
|
||||
##################################################################
|
||||
# Check the scenario of running a ccache with direct mode on a cache
|
||||
@@ -780,7 +786,7 @@ EOF
|
||||
checkstat 'cache hit (direct)' 0
|
||||
checkstat 'cache hit (preprocessed)' 0
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile test.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile test.d "$expected_d_content"
|
||||
|
||||
rm -f test.d
|
||||
|
||||
@@ -788,7 +794,7 @@ EOF
|
||||
checkstat 'cache hit (direct)' 0
|
||||
checkstat 'cache hit (preprocessed)' 1
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile test.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile test.d "$expected_d_content"
|
||||
|
||||
rm -f test.d
|
||||
|
||||
@@ -796,7 +802,7 @@ EOF
|
||||
checkstat 'cache hit (direct)' 0
|
||||
checkstat 'cache hit (preprocessed)' 2
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile test.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile test.d "$expected_d_content"
|
||||
|
||||
rm -f test.d
|
||||
|
||||
@@ -804,7 +810,7 @@ EOF
|
||||
checkstat 'cache hit (direct)' 1
|
||||
checkstat 'cache hit (preprocessed)' 2
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile test.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile test.d "$expected_d_content"
|
||||
|
||||
##################################################################
|
||||
# Check that -MF works.
|
||||
@@ -815,7 +821,7 @@ EOF
|
||||
checkstat 'cache hit (direct)' 0
|
||||
checkstat 'cache hit (preprocessed)' 0
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile other.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile other.d "$expected_d_content"
|
||||
|
||||
rm -f other.d
|
||||
|
||||
@@ -823,7 +829,7 @@ EOF
|
||||
checkstat 'cache hit (direct)' 1
|
||||
checkstat 'cache hit (preprocessed)' 0
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile other.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile other.d "$expected_d_content"
|
||||
|
||||
##################################################################
|
||||
# Check that a missing .d file in the cache is handled correctly.
|
||||
@@ -835,13 +841,13 @@ EOF
|
||||
checkstat 'cache hit (direct)' 0
|
||||
checkstat 'cache hit (preprocessed)' 0
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile other.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile other.d "$expected_d_content"
|
||||
|
||||
$CCACHE $COMPILER -c -MD test.c
|
||||
checkstat 'cache hit (direct)' 1
|
||||
checkstat 'cache hit (preprocessed)' 0
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile other.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile other.d "$expected_d_content"
|
||||
|
||||
find $CCACHE_DIR -name '*.d' -exec rm -f '{}' \;
|
||||
|
||||
@@ -849,7 +855,7 @@ EOF
|
||||
checkstat 'cache hit (direct)' 1
|
||||
checkstat 'cache hit (preprocessed)' 1
|
||||
checkstat 'cache miss' 1
|
||||
- checkfile other.d "test.o: test.c test1.h test3.h test2.h"
|
||||
+ checkfile other.d "$expected_d_content"
|
||||
|
||||
##################################################################
|
||||
# Check that stderr from both the preprocessor and the compiler is emitted
|
@ -1,3 +1,62 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 20 18:12:09 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Add gpg signature
|
||||
- Remove ccache-gcc48.patch and xclang.patch (both are already
|
||||
present in current release)
|
||||
- On i586, use only small testsuite (quicktest) full testsuite
|
||||
fails (https://bugzilla.samba.org/show_bug.cgi?id=11109)
|
||||
- Update to 3.2.1:
|
||||
* Added support for configuring ccache via one or several
|
||||
configuration files instead of via environment variables.
|
||||
Environment variables still have priority but are no longer
|
||||
the recommended way of customizing ccache behavior. See the
|
||||
manual for more information.
|
||||
* Added support for compiler error/warning messages with color.
|
||||
* Made creation of temporary directories and cache directories
|
||||
smarter to avoid unnecessary stat calls.
|
||||
* Improved efficiency of the algorithm that scans for
|
||||
__DATE_ and __TIME__ tokens in the hashed source code.
|
||||
* Added support for several binaries (separated by space) in
|
||||
CCACHE_PREFIX.
|
||||
* The -c option is no longer passed to the preprocessor.
|
||||
This fixes problems with clang and Solaris’s C++ compiler.
|
||||
* ccache no longer passes preprocessor options like -D and -I to
|
||||
the compiler when compiling preprocessed output. This fixes
|
||||
warnings emitted by clang.
|
||||
* Compiler options -fprofile-generate, -fprofile-arcs,
|
||||
-fprofile-use and -fbranch-probabilities are now handled
|
||||
without bailing.
|
||||
* Added support for clang’s --serialize-diagnostic option,
|
||||
storing the diagnostic file (.dia) in the cache.
|
||||
* Added support for precompiled headers when using clang.
|
||||
* Changed the -x language option to use the new objective C
|
||||
standard for GCC and clang.
|
||||
* On a cache miss, ccache now instructs the compiler to create
|
||||
the object file at the real destination and then copies the
|
||||
file into the cache instead of the other way around. This is
|
||||
needed to support compiler options like -fprofile-arcs
|
||||
and --serialize-diagnostics.
|
||||
* ccache now checks that included files' ctimes aren’t too new.
|
||||
This check can be turned off by adding include_file_ctime
|
||||
to the “ccache sloppinessâhe filename part of options
|
||||
like -Wp,-MDfilename is no longer included in the hash
|
||||
since the filename doesn’t have any bearing on the result.
|
||||
* Added a “read-only directâefault cache size is now 5 GB
|
||||
(was previously 1 GiB).
|
||||
* Added support for @file and -@file arguments (reading options
|
||||
from a file).
|
||||
* Bail out on too hard compiler option -Wp,-P.
|
||||
* Optimized MD4 calculation code on little-endian systems.
|
||||
* Various improvements and fixes on win32.
|
||||
* Improved logging to the ccache log file.
|
||||
* Added --dump-manifest command-line option for debugging purposes.
|
||||
* Added --with-bundled-zlib configure option.
|
||||
* Upgraded bundled zlib to version 1.2.8.
|
||||
* Improved dev.mk to be more platform independent.
|
||||
* Made the test suite work with clang and gcc-llvm on OS X.
|
||||
* Various other improvements of the test suite.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 25 08:44:41 UTC 2013 - pgajdos@suse.com
|
||||
|
||||
|
167
ccache.keyring
Normal file
167
ccache.keyring
Normal file
@ -0,0 +1,167 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2
|
||||
|
||||
mQINBFQExj8BEADMWT73pNZLLdGOaJH1Ex/zz6bMLwfegERL4MhrmDcoh56k+aA5
|
||||
Ql2/XyX4Ks2trN+iuJwCvDBa1amAXbsjDk0Q9G2hQqTdM6GFLzUQxIycD7a+aEh2
|
||||
kHK2dFLn48tpYuZfTroGg9rNT9v+Aa5d0ImGWp6KIYh8ZnDGqgM3d5ilySSF9pfX
|
||||
Iw9cv8uELgaKAbOuPsqRKCwxMIHOZ5Al8x5RJ3WUfTHrVWnJE4xIulLseMYPFYBQ
|
||||
BuWW7dOm1lEPTElcRPoxdgDjhA9eOh/OxSzVjUYXeR/k/sWVtUA53rO5Ntz+B9vD
|
||||
xDQQKkpguMvHuQfeJB1mbvZLTEXvhc2nwKBUqYjIIPMg7Ue/9PgkuKVcb/hF9oxW
|
||||
5APnwNzTY1/nRcvjLLMPGJ1jRxU0NDnPXxcSP6SvbGznCWVwbBr439d2g8cRTdAU
|
||||
MGUzB6spXg62OxihLzqGz7U0aVxZMrvIKgYFHKg8SG4e206hEParyNo5DTwS9l9a
|
||||
McVarmiH2uWLxJGmG1e8q+9Oyl9/K2D3nWjbF+w5VPaB/dvl+n/6bgus6GASzSev
|
||||
iI7mdcCDcKWChjMgbQVnV+tLI3kks9abDLOUM28xEc4yL+frMTBan5ZpYvRC8ZKV
|
||||
vG4BkojPVIrV979GIJd6Med6Mo9JYJzy+eOShcsOHpiChpqA2QmwZH9A3wARAQAB
|
||||
tB5Kb2VsIFJvc2RhaGwgPGpvZWxAZGViaWFuLm9yZz6IRgQQEQgABgUCVATJNwAK
|
||||
CRAAZPn/u4RelzwLAJ9W6/FGasA/L5tIgmHwwo7WZjMxzgCgrBrpvZau46MWBlcH
|
||||
ffO/DamRyF2IRgQQEQgABgUCVAc+yQAKCRDRFdBnql/XrI1YAKCOL8Zp/B1SZLau
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EKZhAbA3F1JEjccSdO69CXUB2puE1IzsxzwlQGe7jWewm1FkckPoe6s0f7P
|
||||
UWD4t+ArKQtCajvi1DUkwIqh3kTqKNfrqw7o8a2T2429asJe/7Ud/Jo6eO/Wckab
|
||||
xLg+qs/7G0Dsv44LOI5b1Cn2M4IG0PsWZz4CLyaoGqf4NMF2N7aarHdlpVWNfhLx
|
||||
sYOhGebI8IXZiLXXkPFB2y7xFVsF6Rrz+0d+XbHWKTP9doGFD5gQFwvPj4pGB7mS
|
||||
T0xRUijJDf1amb4bOflYDZ3ciiuRUFyD9BcZCQILl+K379Z1YLi8HpswFK8cj65E
|
||||
PDum45S3/qLYCuSM1TAR9ewfX5Zjya5v4GERioBDtx4mt1rOfEETSjbUohkMVMiK
|
||||
3TV8Ox5URjVslyZvnFVVxDo3S7RdL1+8cUn8s2GIYgyvy6pOIQJeptcbKkihBwAs
|
||||
f5CbPOicK/lQnUiLVPCSd6uLfM0YAMw3ageU5WwnQrjLMLb6jqBsKl0mCBZHSMmY
|
||||
fnaoH27/r7ypQuIf2hgLcqYur61i/iRKJaYuKzVcY04V5K0fJvlo2Ag7Y45/QxDQ
|
||||
Z7QDfCcFVxwlRZDlAF76gOA10hBnLcJLrfEjjyck
|
||||
=/ou8
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
27
ccache.spec
27
ccache.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ccache
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,15 +17,16 @@
|
||||
|
||||
|
||||
Name: ccache
|
||||
Version: 3.1.9
|
||||
Version: 3.2.1
|
||||
Release: 0
|
||||
Summary: A Fast C/C++ Compiler Cache
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/C and C++
|
||||
Url: http://ccache.samba.org/
|
||||
Source0: http://samba.org/ftp/ccache/%{name}-%{version}.tar.bz2
|
||||
Patch1: xclang.patch
|
||||
Patch2: ccache-gcc48.patch
|
||||
Source0: http://samba.org/ftp/%{name}/%{name}-%{version}.tar.xz
|
||||
Source1: http://samba.org/ftp/%{name}/%{name}-%{version}.tar.xz.asc
|
||||
Source2: %{name}.keyring
|
||||
BuildRequires: xz
|
||||
BuildRequires: zlib-devel
|
||||
Provides: distcc:/usr/bin/ccache
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -37,23 +38,27 @@ again. Supported languages are C, C++, Objective-C and Objective-C++.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
make install DESTDIR=%{buildroot} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make check
|
||||
%ifarch i586
|
||||
# On i586 use only quick minimal testsuite, full one fails
|
||||
# (https://bugzilla.samba.org/show_bug.cgi?id=11109)
|
||||
make quicktest %{?_smp_mflags}
|
||||
%else
|
||||
make check %{?_smp_mflags}
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS.* GPL-3.0.txt LICENSE.* MANUAL.* NEWS.* README.*
|
||||
%doc %{_mandir}/man1/ccache.1%{ext_man}
|
||||
%{_bindir}/ccache
|
||||
%doc %{_mandir}/man1/%{name}.1%{ext_man}
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%changelog
|
||||
|
45
xclang.patch
45
xclang.patch
@ -1,45 +0,0 @@
|
||||
commit 8e005b067d8c2423e24ee14ffdee8343f650f1e8
|
||||
Author: Bernhard Bauer <bauerb@chromium.org>
|
||||
Date: Tue Aug 16 10:23:55 2011 +0200
|
||||
|
||||
Support -Xclang compiler option.
|
||||
|
||||
diff --git a/compopt.c b/compopt.c
|
||||
index 35d51ad..77b57f5 100644
|
||||
--- a/compopt.c
|
||||
+++ b/compopt.c
|
||||
@@ -49,6 +49,7 @@ static const struct compopt compopts[] = {
|
||||
{"-U", AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG},
|
||||
{"-V", TAKES_ARG},
|
||||
{"-Xassembler", TAKES_ARG},
|
||||
+ {"-Xclang", TAKES_ARG},
|
||||
{"-Xlinker", TAKES_ARG},
|
||||
{"-Xpreprocessor", TOO_HARD_DIRECT | TAKES_ARG},
|
||||
{"-aux-info", TAKES_ARG},
|
||||
commit 06be1c4cc33bf2def9c6e64483b397128f57dbe3
|
||||
Author: Lubos Lunak <l.lunak@suse.cz>
|
||||
Date: Thu Jul 26 14:45:16 2012 +0200
|
||||
|
||||
hash also Clang plugins
|
||||
|
||||
diff --git a/ccache.c b/ccache.c
|
||||
index 50b4260..738c022 100644
|
||||
--- a/ccache.c
|
||||
+++ b/ccache.c
|
||||
@@ -972,6 +972,16 @@ calculate_object_hash(struct args *args, struct mdfour *hash, int direct_mode)
|
||||
continue;
|
||||
}
|
||||
|
||||
+ if (str_eq(args->argv[i], "-Xclang")
|
||||
+ && i + 3 < args->argc
|
||||
+ && str_eq(args->argv[i+1], "-load")
|
||||
+ && str_eq(args->argv[i+2], "-Xclang")
|
||||
+ && stat(args->argv[i+3], &st) == 0) {
|
||||
+ hash_delimiter(hash, "plugin");
|
||||
+ hash_compiler(hash, &st, args->argv[i+3], false);
|
||||
+ continue;
|
||||
+ }
|
||||
+
|
||||
/* All other arguments are included in the hash. */
|
||||
hash_delimiter(hash, "arg");
|
||||
hash_string(hash, args->argv[i]);
|
Loading…
Reference in New Issue
Block a user