summaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorYi Zhang <zhanyi@microsoft.com>2021-08-02 08:42:59 -0700
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>2021-08-02 08:44:16 -0700
commit3dc588d577c38c4330cefcd3853882d6fc9d50d7 (patch)
treeb6c85e06024cd1d311b6ebf9cf5fe9202b6f1e5d /.circleci
parent51f687fd4b97d5bf9b1a20a849923c0ad2e93cee (diff)
downloadpytorch-3dc588d577c38c4330cefcd3853882d6fc9d50d7.tar.gz
pytorch-3dc588d577c38c4330cefcd3853882d6fc9d50d7.tar.bz2
pytorch-3dc588d577c38c4330cefcd3853882d6fc9d50d7.zip
Fix: no enough space for cu102 debug nightly build (#62465)
Summary: Fixes #{issue number} ![image](https://user-images.githubusercontent.com/16190118/127632173-783630b7-c644-4239-b1dd-fb12b6bacf83.png) verification: https://app.circleci.com/pipelines/github/pytorch/pytorch/358483/workflows/a34a0123-54fe-418f-9211-4af75ee56a70/jobs/15120463 Pull Request resolved: https://github.com/pytorch/pytorch/pull/62465 Reviewed By: iramazanli Differential Revision: D30045280 Pulled By: janeyx99 fbshipit-source-id: f40090eb02fd1d86033971611d492c7b107cc4bd
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/scripts/binary_windows_build.sh52
1 files changed, 26 insertions, 26 deletions
diff --git a/.circleci/scripts/binary_windows_build.sh b/.circleci/scripts/binary_windows_build.sh
index 8b45381abc..2eeb40e9ed 100644
--- a/.circleci/scripts/binary_windows_build.sh
+++ b/.circleci/scripts/binary_windows_build.sh
@@ -17,40 +17,40 @@ fi
if [[ "${DESIRED_CUDA}" == "cu111" || "${DESIRED_CUDA}" == "cu113" ]]; then
export BUILD_SPLIT_CUDA="ON"
+fi
- echo "Free Space for CUDA DEBUG BUILD"
- if [[ "$CIRCLECI" == 'true' ]]; then
- if [[ -d "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community" ]]; then
- rm -rf "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community"
- fi
+echo "Free Space for CUDA DEBUG BUILD"
+if [[ "$CIRCLECI" == 'true' ]]; then
+ if [[ -d "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community" ]]; then
+ rm -rf "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community"
+ fi
- if [[ -d "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0" ]]; then
- rm -rf "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0"
- fi
+ if [[ -d "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0" ]]; then
+ rm -rf "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0"
+ fi
- if [[ -d "C:\\Program Files (x86)\\Microsoft.NET" ]]; then
- rm -rf "C:\\Program Files (x86)\\Microsoft.NET"
- fi
+ if [[ -d "C:\\Program Files (x86)\\Microsoft.NET" ]]; then
+ rm -rf "C:\\Program Files (x86)\\Microsoft.NET"
+ fi
- if [[ -d "C:\\Program Files\\dotnet" ]]; then
- rm -rf "C:\\Program Files\\dotnet"
- fi
+ if [[ -d "C:\\Program Files\\dotnet" ]]; then
+ rm -rf "C:\\Program Files\\dotnet"
+ fi
- if [[ -d "C:\\Program Files (x86)\\dotnet" ]]; then
- rm -rf "C:\\Program Files (x86)\\dotnet"
- fi
+ if [[ -d "C:\\Program Files (x86)\\dotnet" ]]; then
+ rm -rf "C:\\Program Files (x86)\\dotnet"
+ fi
- if [[ -d "C:\\Program Files (x86)\\Microsoft SQL Server" ]]; then
- rm -rf "C:\\Program Files (x86)\\Microsoft SQL Server"
- fi
+ if [[ -d "C:\\Program Files (x86)\\Microsoft SQL Server" ]]; then
+ rm -rf "C:\\Program Files (x86)\\Microsoft SQL Server"
+ fi
- if [[ -d "C:\\Program Files (x86)\\Xamarin" ]]; then
- rm -rf "C:\\Program Files (x86)\\Xamarin"
- fi
+ if [[ -d "C:\\Program Files (x86)\\Xamarin" ]]; then
+ rm -rf "C:\\Program Files (x86)\\Xamarin"
+ fi
- if [[ -d "C:\\Program Files (x86)\\Google" ]]; then
- rm -rf "C:\\Program Files (x86)\\Google"
- fi
+ if [[ -d "C:\\Program Files (x86)\\Google" ]]; then
+ rm -rf "C:\\Program Files (x86)\\Google"
fi
fi