Skip to content

Instantly share code, notes, and snippets.

@agutenkunst
Last active November 25, 2020 12:01
Show Gist options
  • Save agutenkunst/e6bd80ac69ea562ed2ec98541611cae2 to your computer and use it in GitHub Desktop.
Save agutenkunst/e6bd80ac69ea562ed2ec98541611cae2 to your computer and use it in GitHub Desktop.
Setup ccache

Run

sudo apt install ccache -y
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
source ~/.bashrc

If there is a error containing something like

ccache: error: Failed to create temporary file for /home/alex/.ccache/tmp/tmp.cpp_stderr: Permission denied

try

sudo rm -rf ~/.ccache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment