Skip to content

Commit

Permalink
Set SCCACHE_IDLE_TIMEOUT to INFINITE(0) on Windows (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc123 authored May 8, 2020
1 parent 30850f4 commit 219fab7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conda/pytorch-nightly/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ set CMAKE_GENERATOR=Ninja

IF NOT "%USE_SCCACHE%" == "1" goto sccache_end

set SCCACHE_IDLE_TIMEOUT=0

sccache --stop-server
sccache --start-server
sccache --zero-stats
Expand Down
2 changes: 2 additions & 0 deletions windows/internal/setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ if "%CXX%"=="sccache-cl" goto sccache_start
goto sccache_end

:sccache_start
set SCCACHE_IDLE_TIMEOUT=0

sccache --stop-server
sccache --start-server
sccache --zero-stats
Expand Down

0 comments on commit 219fab7

Please sign in to comment.