view .shell.d/99.sccache.sh @ 484:c85072e620a8

append_path_element: new function that I've had for a while
author Augie Fackler <raf@durin42.com>
date Tue, 30 Jun 2020 10:36:15 -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