Don't remove incremental cache for sysroot building

This more than halves compilation time for the sysroot
This commit is contained in:
bjorn3 2019-04-24 16:35:58 +02:00
parent 8c2bd3ec64
commit 964edb9a61

View File

@ -3,7 +3,8 @@ set -e
cd $(dirname "$0")
# Cleanup for previous run
cargo clean
# v Clean target dir except for build scripts and incremental cache
rm -r target/*/{debug,release}/{build,deps,examples,libsysroot*,native} || true
rm Cargo.lock 2>/dev/null || true
rm -r sysroot 2>/dev/null || true