2024-01-05 21:08:50 +01:00
|
|
|
Name: ccache
|
2024-02-07 15:28:04 +01:00
|
|
|
Version: 4.9.1
|
2024-01-05 21:08:56 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 21:08:50 +01:00
|
|
|
Summary: A compiler cache that often boosts from 5 to 10 times speedup in common compilations.
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 21:08:51 +01:00
|
|
|
URL: https://ccache.dev/
|
2024-01-05 21:08:51 +01:00
|
|
|
Source: https://github.com/ccache/ccache.git/v%{version}/ccache-%{version}.tar.bz2
|
2024-01-05 21:08:50 +01:00
|
|
|
License: GPL
|
2024-01-05 21:08:51 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 21:08:51 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-05 21:08:51 +01:00
|
|
|
BuildRequires: libhiredis-devel
|
2024-01-05 21:08:51 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libzstd-devel
|
2024-01-05 21:08:51 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 21:08:51 +01:00
|
|
|
BuildRequires: asciidoc
|
2024-01-05 21:08:50 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
ccache is a compiler cache. It acts as a caching pre-processor to C/C++ compilers, using the -E compiler switch and a hash to detect when a compilation can be satisfied from cache. This often results in a 5 to 10 times speedup in common compilations.
|
|
|
|
|
2024-01-05 21:08:55 +01:00
|
|
|
%debug_package
|
2024-01-05 21:08:51 +01:00
|
|
|
|
2024-01-05 21:08:50 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 21:08:55 +01:00
|
|
|
%cmake -d build
|
|
|
|
|
|
|
|
#%ifarch %{ix86}
|
|
|
|
# -DUSE_FASTER_LINKER=OFF
|
|
|
|
#%endif
|
2024-01-05 21:08:51 +01:00
|
|
|
|
2024-01-05 21:08:50 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
2024-01-05 21:08:51 +01:00
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 21:08:51 +01:00
|
|
|
%makeinstall -C build
|
2024-01-05 21:08:50 +01:00
|
|
|
|
2024-01-05 21:08:55 +01:00
|
|
|
install -d -m0755 %{buildroot}%{_libdir}/ccache/bin
|
|
|
|
for p in gcc g++ c++; do
|
|
|
|
ln -s %{_bindir}/ccache %{buildroot}%{_libdir}/ccache/bin/${p}
|
|
|
|
ln -s %{_bindir}/ccache %{buildroot}%{_libdir}/ccache/bin/%{_host}-${p}
|
|
|
|
done
|
|
|
|
|
|
|
|
for p in cc clang clang++; do
|
|
|
|
ln -s %{_bindir}/ccache %{buildroot}%{_libdir}/ccache/bin/${p}
|
|
|
|
done
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_sysconfdir}/default
|
|
|
|
cat > %{buildroot}%{_sysconfdir}/default/ccache << EOF
|
|
|
|
CCACHE_ENABLED=no
|
|
|
|
EOF
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_sysconfdir}/profile.d
|
|
|
|
cat > %{buildroot}%{_sysconfdir}/profile.d/ccache.sh << EOF
|
|
|
|
. %{_sysconfdir}/default/ccache
|
|
|
|
if [ "\${CCACHE_ENABLED}" == "yes" ]; then
|
|
|
|
export PATH=%{_libdir}/ccache/bin:\$PATH
|
|
|
|
fi
|
|
|
|
EOF
|
|
|
|
|
2024-01-05 21:08:50 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 21:08:55 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/default/ccache
|
|
|
|
%{_sysconfdir}/profile.d/ccache.sh
|
2024-01-05 21:08:50 +01:00
|
|
|
%{_bindir}/ccache
|
2024-01-05 21:08:55 +01:00
|
|
|
%dir %{_libdir}/ccache
|
|
|
|
%{_libdir}/ccache/*
|
|
|
|
%{_mandir}/man1/ccache.1*
|
2024-01-05 21:08:51 +01:00
|
|
|
%doc GPL-3.0.txt
|
2024-01-05 21:08:50 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-02-07 15:28:04 +01:00
|
|
|
* Tue Feb 06 2024 Automatic Build System <autodist@openmamba.org> 4.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:56 +01:00
|
|
|
* Sun Dec 31 2023 Automatic Build System <autodist@mambasoft.it> 4.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:55 +01:00
|
|
|
* Sun Dec 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.3-2mamba
|
|
|
|
- provide ccache folder with symlinks, profile and default files to quickly enable or disable system-wide usage
|
|
|
|
|
2024-01-05 21:08:55 +01:00
|
|
|
* Wed Aug 30 2023 Automatic Build System <autodist@mambasoft.it> 4.8.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:54 +01:00
|
|
|
* Tue Jun 13 2023 Automatic Build System <autodist@mambasoft.it> 4.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:54 +01:00
|
|
|
* Sat May 20 2023 Automatic Build System <autodist@mambasoft.it> 4.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:53 +01:00
|
|
|
* Mon Mar 13 2023 Automatic Build System <autodist@mambasoft.it> 4.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:52 +01:00
|
|
|
* Wed Jan 11 2023 Automatic Build System <autodist@mambasoft.it> 4.7.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:52 +01:00
|
|
|
* Mon Nov 07 2022 Automatic Build System <autodist@mambasoft.it> 4.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:52 +01:00
|
|
|
* Sun Oct 30 2022 Automatic Build System <autodist@mambasoft.it> 4.7.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:52 +01:00
|
|
|
* Sun Oct 23 2022 Automatic Build System <autodist@mambasoft.it> 4.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:52 +01:00
|
|
|
* Tue Oct 18 2022 Automatic Build System <autodist@mambasoft.it> 4.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:52 +01:00
|
|
|
* Sun Aug 28 2022 Automatic Build System <autodist@mambasoft.it> 4.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:52 +01:00
|
|
|
* Tue Aug 23 2022 Automatic Build System <autodist@mambasoft.it> 4.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:52 +01:00
|
|
|
* Mon May 16 2022 Automatic Build System <autodist@mambasoft.it> 4.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:52 +01:00
|
|
|
* Mon Feb 28 2022 Automatic Build System <autodist@mambasoft.it> 4.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:52 +01:00
|
|
|
* Wed Nov 17 2021 Automatic Build System <autodist@mambasoft.it> 4.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Sun Nov 14 2021 Automatic Build System <autodist@mambasoft.it> 4.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Wed Sep 29 2021 Automatic Build System <autodist@mambasoft.it> 4.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Sat Sep 11 2021 Automatic Build System <autodist@mambasoft.it> 4.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Fri Aug 20 2021 Automatic Build System <autodist@mambasoft.it> 4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Mon May 10 2021 Automatic Build System <autodist@mambasoft.it> 4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Tue Mar 30 2021 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Sun Jan 10 2021 Automatic Build System <autodist@mambasoft.it> 4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Sat Jul 25 2020 Automatic Build System <autodist@mambasoft.it> 3.7.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Fri Jul 17 2020 Automatic Build System <autodist@mambasoft.it> 3.7.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Tue Mar 31 2020 Automatic Build System <autodist@mambasoft.it> 3.7.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Mon Mar 23 2020 Automatic Build System <autodist@mambasoft.it> 3.7.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Mon Jan 06 2020 Automatic Build System <autodist@mambasoft.it> 3.7.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Thu Nov 28 2019 Automatic Build System <autodist@mambasoft.it> 3.7.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Sat Nov 09 2019 Automatic Build System <autodist@mambasoft.it> 3.7.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Fri Sep 13 2019 Automatic Build System <autodist@mambasoft.it> 3.7.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Wed Aug 21 2019 Automatic Build System <autodist@mambasoft.it> 3.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Sat Aug 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.2-1mamba
|
|
|
|
- update to 3.7.2
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Mon Jan 28 2019 Automatic Build System <autodist@mambasoft.it> 3.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Wed Oct 17 2018 Automatic Build System <autodist@mambasoft.it> 3.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Tue Sep 04 2018 Automatic Build System <autodist@mambasoft.it> 3.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Sun Apr 08 2018 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Tue Feb 27 2018 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Thu Jan 18 2018 Automatic Build System <autodist@mambasoft.it> 3.3.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Fri Feb 24 2017 Automatic Build System <autodist@mambasoft.it> 3.3.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Fri Oct 28 2016 Automatic Build System <autodist@mambasoft.it> 3.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Fri Sep 30 2016 Automatic Build System <autodist@mambasoft.it> 3.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Fri Sep 09 2016 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Thu Sep 01 2016 Automatic Build System <autodist@mambasoft.it> 3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:51 +01:00
|
|
|
* Mon Jul 25 2016 Automatic Build System <autodist@mambasoft.it> 3.2.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jul 24 2016 Automatic Build System <autodist@mambasoft.it> 3.2.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:50 +01:00
|
|
|
* Thu Apr 21 2016 Automatic Build System <autodist@mambasoft.it> 3.2.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:50 +01:00
|
|
|
* Thu Dec 17 2015 Automatic Build System <autodist@mambasoft.it> 3.2.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:50 +01:00
|
|
|
* Wed Aug 19 2015 Automatic Build System <autodist@mambasoft.it> 3.2.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:50 +01:00
|
|
|
* Wed May 13 2015 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:50 +01:00
|
|
|
* Sun Dec 14 2014 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:50 +01:00
|
|
|
* Thu Nov 20 2014 Automatic Build System <autodist@mambasoft.it> 3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:50 +01:00
|
|
|
* Tue Oct 21 2014 Automatic Build System <autodist@mambasoft.it> 3.1.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:50 +01:00
|
|
|
* Thu Jan 10 2013 Automatic Build System <autodist@mambasoft.it> 3.1.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 17 2012 Automatic Build System <autodist@mambasoft.it> 3.1.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jul 21 2012 Automatic Build System <autodist@mambasoft.it> 3.1.7-1mamba
|
|
|
|
- update to 3.1.7
|
|
|
|
|
|
|
|
* Wed May 23 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4-3mamba
|
|
|
|
- group entry fixed
|
|
|
|
|
|
|
|
* Sun Oct 30 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4-2qilnx
|
|
|
|
- specfile updated
|
|
|
|
|
|
|
|
* Fri Dec 17 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4-1qilnx
|
|
|
|
- update to version 2.4 by autospec
|
|
|
|
|
|
|
|
* Mon Oct 13 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3-1qilnx
|
|
|
|
- first build
|