Mercurial > dotfiles
comparison .shell.d/99.sccache.sh @ 508:0593cba244a8
sccache: embiggen cache
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Fri, 11 Dec 2020 13:40:51 -0500 |
parents | b2a3bee0d975 |
children |
comparison
equal
deleted
inserted
replaced
507:7d298a83fceb | 508:0593cba244a8 |
---|---|
1 if which sccache > /dev/null ; then | 1 if which sccache > /dev/null ; then |
2 export SCCACHE_CACHE_SIZE="1G" | 2 export SCCACHE_CACHE_SIZE="4G" |
3 export CC='sccache cc' | 3 export CC='sccache cc' |
4 export CXX='sccache c++' | 4 export CXX='sccache c++' |
5 export RUSTC_WRAPPER="$(which sccache)" | 5 export RUSTC_WRAPPER="$(which sccache)" |
6 fi | 6 fi |