File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,6 @@ IF "%DEBUG%" == "" (
75
75
set LIBTORCH_PREFIX = libtorch-win-%VARIANT% -debug
76
76
)
77
77
78
- :: remove files to save space.
79
- rmdir /s /q " C:/Program Files/NVIDIA GPU Computing Toolkit/"
80
- rmdir /s /q " C:/Program Files (x86)/Microsoft Visual Studio/"
81
-
82
78
7z a -tzip " %LIBTORCH_PREFIX% -%PYTORCH_BUILD_VERSION% .zip" libtorch\*
83
79
:: Cleanup raw data to save space
84
80
rmdir /s /q libtorch
Original file line number Diff line number Diff line change @@ -51,6 +51,6 @@ if (($exitCode -ne 0) -and ($exitCode -ne 3010)) {
51
51
}
52
52
Start-Process " ${PWD} \Collect.exe" - NoNewWindow - Wait - PassThru
53
53
New-Item - Path " C:\w\build-results" - ItemType " directory" - Force
54
- Copy-Item - Path " C:\Users\circleci \AppData\Local\Temp\vslogs.zip" - Destination " C:\w\build-results\"
54
+ Copy-Item - Path " C:\Users\${ env: USERNAME} \AppData\Local\Temp\vslogs.zip" - Destination " C:\w\build-results\"
55
55
exit 1
56
56
}
Original file line number Diff line number Diff line change @@ -51,6 +51,6 @@ if (($exitCode -ne 0) -and ($exitCode -ne 3010)) {
51
51
}
52
52
Start-Process " ${PWD} \Collect.exe" - NoNewWindow - Wait - PassThru
53
53
New-Item - Path " C:\w\build-results" - ItemType " directory" - Force
54
- Copy-Item - Path " C:\Users\circleci \AppData\Local\Temp\vslogs.zip" - Destination " C:\w\build-results\"
54
+ Copy-Item - Path " C:\Users\${ env: USERNAME} \AppData\Local\Temp\vslogs.zip" - Destination " C:\w\build-results\"
55
55
exit 1
56
56
}
You can’t perform that action at this time.
0 commit comments