Skip to content

Instantly share code, notes, and snippets.

@nathanchance
Created March 24, 2017 02:58
Show Gist options
  • Save nathanchance/35fc64048c4ad452d5bfe05396a5cb5a to your computer and use it in GitHub Desktop.
Save nathanchance/35fc64048c4ad452d5bfe05396a5cb5a to your computer and use it in GitHub Desktop.
wget https://www.samba.org/ftp/ccache/ccache-3.3.4.tar.gz && tar -xvf ccache-3.3.4.tar.gz && cd ccache-3.3.4 && ./configure && sudo make -j$( grep "^processor" /proc/cpuinfo | wc -l ) install && cd .. && rm -rf ccache-3.3.4*
git clone https://github.com/ninja-build/ninja && cd ninja && ./configure.py --bootstrap && sudo cp -v ninja /usr/local/bin && cd .. && rm -rf ninja
which ninja && which ccache
ccache -V && ninja --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment