Bug 453899

Summary: Ccache not detected at digikam git compilation
Product: [Applications] digikam Reporter: maderios <leoutation>
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version First Reported In: 8.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 7.7.0
Sentry Crash Report:

Description maderios 2022-05-16 18:04:48 UTC
Digikam builds successfully but ccache is not detected
I see with 'ccache'
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ - skipped
 Check for working C compiler: /usr/lib/ccache/bin/cc - skipped
 ccache found............................. NO  (optional)
digiKam will be compiled without CCACHE build support
Please install the ccache (version >= 3.0.0) development package.
Using ccache to speed-up compilations..... NO
But ccache 4.6-1 is already installed on my system, it works fine with other applications compilations.
Comment 1 maderios 2022-05-17 08:12:33 UTC
Now, ccache needs to be enabled in Digikam compilation script, otherwise it's disabled by  default
For me (Arch)
-DBUILD_WITH_CCACHE=ON