Skip to content

Commit

Permalink
Clean up old sccache log before build (#8305)
Browse files Browse the repository at this point in the history
  • Loading branch information
yf225 authored and ezyang committed Jun 10, 2018
1 parent b78466a commit 07d3f14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .jenkins/pytorch/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ trap_add cleanup EXIT
if which sccache > /dev/null; then
# Save sccache logs to file
sccache --stop-server || true
rm ~/sccache_error.log || true
SCCACHE_ERROR_LOG=~/sccache_error.log RUST_LOG=sccache::server=error sccache --start-server

# Report sccache stats for easier debugging
Expand Down

0 comments on commit 07d3f14

Please sign in to comment.