Matthias Reichl d0bd3e503c kodi: fix wrongly enabled internal ccache handling
Commit 98a96ef1f7 ("kodi: use cmake")
incorrectly switched kodi's internal ccache usage from off to on,
resulting in the compiler being double-wrapped in ccache.

As our gcc ccache wrappers will get a new timestamp on each clean
rebuild this also meant ccache was practically disabled (as the
"compiler"'s mtime changed), leading to about 1400 cache misses,
unnecessary rebuilds, about 1GB of data being added to the cache
and rather long rebuild times.

Fix this by configuring kodi with -DENABLE_CCACHE=ON matching the
previous --disable-ccache we had before switching to cmake.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-09-17 20:36:45 +02:00
2021-03-11 10:00:02 -08:00
2016-03-12 01:41:55 +01:00
2022-04-24 20:08:53 +00:00
2021-12-06 19:36:22 +01:00

LibreELEC

LibreELEC is a 'Just enough OS' Linux distribution for the award-winning Kodi software on popular mediacentre hardware. Further information on the project can be found on the LibreELEC website.

Issues & Support

Please ask questions in the LibreELEC forum: Help & Support or ask a member of project staff in the #libreelec IRC channel on Libera.Chat. Please report bugs via GitHub Issues.

Donations

Contributions towards current project funding goals can be made via OpenCollective.

License

LibreELEC original code is released under GPLv2.

Copyright

As LibreELEC includes code from many upstream projects it has many copyright owners; notably OpenELEC which we forked from after disagreeing with project direction and management, and OpenBricks/GeeXboX the uncredited source of the original 2009 build system. LibreELEC makes no claim of copyright on any upstream code. However all original LibreELEC authored code is copyright LibreELEC.tv. Patches to upstream code have the same license as the upstream project unless specified otherwise. For a complete copyright list please checkout the source code to examine license headers. Unless expressly stated otherwise all code submitted to the LibreELEC project (in any form) is licensed under GPLv2 and copyright is donated to the project. This approach gives the project freedom to maintain the code without the overhead of preserving contact with every submitter, e.g. GPLv3. You are free to retain copyright by adding your copyright header to each submitted code page. If you submit code that is not your own work it is your responsibility to place a header stating the copyright.

Description
Languages
Makefile 58.9%
Shell 24.8%
Python 11.7%
JavaScript 3.3%
CMake 0.4%
Other 0.8%