Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #730 from comit-network/697-sccache
Browse files Browse the repository at this point in the history
Install sccache from crates.io
  • Loading branch information
D4nte committed Jan 31, 2019
2 parents 4010eb4 + f4a56f2 commit 3e9816b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,9 @@ find $HOME/.cargo/registry/src $HOME/.cargo/registry/cache \
description = "Setup & start sscache"
workspace = false
private = true
install_script = ["which sccache || (unset RUSTC_WRAPPER; cargo install --git https://github.com/mozilla/sccache.git --rev 9d30660a6f5a94bc7a8e4d2a125c8677b9e08129)"]
install_script = ["which sccache || (unset RUSTC_WRAPPER; cargo install sccache)"]
# Start sccache with limited cache size to avoid a constantly growing caches (and thus continuously slower builds)
env = { "SCCACHE_CACHE_SIZE" = "400M" }
# Start sccache with limited cache size to avoid a constantly
# growing caches (and thus continuously slower builds)
command = "sccache"
args = ["--start-server"]

Expand Down

0 comments on commit 3e9816b

Please sign in to comment.