From 82aef70b417124d92783b3376abc1f6519d181ce Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Mon, 14 Aug 2023 17:17:22 -0400 Subject: [PATCH] Remove c/cb folder on windows (#1482) --- 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"