view .shell.d/99.sccache.sh @ 492:26caf7bf8805

mcfly: fix to correctly no-op when mcfly is absent
author Augie Fackler <raf@durin42.com>
date Wed, 01 Jul 2020 13:36:33 -0400
parents b2a3bee0d975
children 0593cba244a8
line wrap: on
line source

if which sccache > /dev/null ; then
    export SCCACHE_CACHE_SIZE="1G"
    export CC='sccache cc'
    export CXX='sccache c++'
    export RUSTC_WRAPPER="$(which sccache)"
fi