← Back to issue list

Make snapcraft work with ccache

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1626766
Type
issue
State
open
Author
~oparoz
Labels
Created
2016-09-22 22:18:34.137259+00:00
Updated
2019-10-24 20:02:35.892398+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Despite having a properly configured ccache using $PATH, parts don't seem to be using it when compiling code. It should be automatically picked up and used. A simple test is to build a snap using a simple C++ example. Compiling by hand uses ccache, compiling uses snapcraft doesn't. ``` $ whereis g++ g++: /usr/bin/g++ /usr/lib/ccache/g++ /usr/share/man/man1/g++.1.gz $ which g++ /usr/lib/ccache/g++ ```

Evaluation history

No evaluation history available.