-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ccache] Update to version 4.9.1. JB#47542
Move to using submodule. Cleanup spec.
- Loading branch information
Showing
7 changed files
with
38 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "ccache"] | ||
path = ccache | ||
url = https://github.com/sailfishos-mirror/ccache.git |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Name: ccache | ||
Summary: C/C++ compiler cache | ||
Version: 4.9.1 | ||
Release: 1 | ||
License: GPLv3+ | ||
URL: https://github.com/sailfishos/ccache | ||
Source: %{name}-%{version}.tar.xz | ||
Provides: distcc:/usr/bin/ccache | ||
BuildRequires: cmake | ||
BuildRequires: pkgconfig(libzstd) | ||
BuildRequires: pkgconfig(zlib) | ||
|
||
%description | ||
ccache is a compiler cache. It speeds up recompilation of C/C++ code | ||
by caching previous compiles and detecting when the same compile is | ||
being done again. The main focus is to handle the GNU C/C++ compiler | ||
(GCC), but it may also work with compilers that mimic GCC good enough. | ||
|
||
%prep | ||
%autosetup -n %{name}-%{version}/%{name} | ||
|
||
%build | ||
%cmake \ | ||
-DENABLE_DOCUMENTATION=OFF \ | ||
-DOFFLINE=1 \ | ||
-DREDIS_STORAGE_BACKEND=OFF | ||
%cmake_build | ||
|
||
%install | ||
%cmake_install | ||
|
||
%files | ||
%license GPL-3.0.txt | ||
%{_bindir}/ccache |