From 0f32985713308eb3c5d3d5a88486d09b3fb52b5a Mon Sep 17 00:00:00 2001 From: atalman Date: Mon, 14 Aug 2023 14:13:36 -0700 Subject: [PATCH] Remove c/cb folder on windows --- conda/build_pytorch.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/conda/build_pytorch.sh b/conda/build_pytorch.sh index ef630e155..88626a34a 100755 --- a/conda/build_pytorch.sh +++ b/conda/build_pytorch.sh @@ -286,9 +286,7 @@ fi # Some tricks for sccache with conda builds on Windows if [[ "$OSTYPE" == "msys" && "$USE_SCCACHE" == "1" ]]; then - if [[ ! -d "/c/cb" ]]; then - rm -rf /c/cb - fi + rm -rf /c/cb mkdir -p /c/cb/pytorch_1000000000000 export CONDA_BLD_PATH="C:\\cb" export CONDA_BUILD_EXTRA_ARGS="--dirty"