Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,12 @@ install_development_packages() {
install_ccache() {
install_package ccache
local dest="$HOME/.local/bin"
local ccache i
ccache=$(command -v ccache)
mkdir -p "$dest"
# no sudo: these live in the user's own home directory
for i in gcc g++ cc c++; do
local targ="$dest/$i"
sudo rm -f "$targ"
sudo ln -s "$(which ccache)" "$targ"
ln -sf "$ccache" "$dest/$i"
done
}

Expand Down