File tree Expand file tree Collapse file tree 6 files changed +10
-7
lines changed
.github/actions/test-windows-image Expand file tree Collapse file tree 6 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 33
33
TestReturnCode
34
34
35
35
Write-Output " int main() {return 0;}" > .\test.cu
36
- nvcc .\test.cu
36
+ nvcc - v .\test.cu
37
37
TestReturnCode
38
38
}
39
39
catch {
Original file line number Diff line number Diff line change 1
1
# Fetch CMake
2
- Invoke-WebRequest - Uri " https://github.com/Kitware/CMake/releases/download/v3.31.6 /cmake-3.31.6 -windows-x86_64.msi" - OutFile " C:\cmake_installer.msi" - UseBasicParsing
2
+ Invoke-WebRequest - Uri " https://github.com/Kitware/CMake/releases/download/v4.1.0 /cmake-4.1.0 -windows-x86_64.msi" - OutFile " C:\cmake_installer.msi" - UseBasicParsing
3
3
Start-Process - NoNewWindow - Wait - FilePath msiexec - ArgumentList " /i C:\cmake_installer.msi ADD_CMAKE_TO_PATH=All /qn"
4
4
Remove-Item " C:\cmake_installer.msi"
5
5
Original file line number Diff line number Diff line change @@ -37,6 +37,11 @@ $cudaComponents =
37
37
38
38
if (" ${major} " -ge " 13" ) {
39
39
$cudaComponents += " crt_$mmVersionTag "
40
+ $cudaComponents += " cuobjdump_$mmVersionTag "
41
+ $cudaComponents += " nvfatbin_$mmVersionTag "
42
+ $cudaComponents += " nvjitlink_$mmVersionTag "
43
+ $cudaComponents += " nvvm_$mmVersionTag "
44
+ $cudaComponents += " nvptxcompiler_$mmVersionTag "
40
45
}
41
46
42
47
Write-Output " Installing CUDA Components: ${cudaComponents} "
Original file line number Diff line number Diff line change 1
1
# Fetch git
2
- Invoke-WebRequest - Uri " https://github.com/git-for-windows/git/releases/download/v2.41 .0.windows.3 /Git-2.41.0.3 -64-bit.exe" - OutFile " C:\git_installer.exe" - UseBasicParsing
2
+ Invoke-WebRequest - Uri " https://github.com/git-for-windows/git/releases/download/v2.51 .0.windows.1 /Git-2.51.0 -64-bit.exe" - OutFile " C:\git_installer.exe" - UseBasicParsing
3
3
Start-Process - NoNewWindow - Wait - FilePath " C:\git_installer.exe" - ArgumentList " /S /VERYSILENT /NORESTART /NOCANCEL /SP- /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS"
4
4
Remove-Item " C:\git_installer.exe"
5
5
Original file line number Diff line number Diff line change 1
- Invoke-WebRequest - Uri " https://github.com/ninja-build/ninja/releases/download/v1.12 .1/ninja-win.zip" - OutFile " ./ninja.zip" - UseBasicParsing
1
+ Invoke-WebRequest - Uri " https://github.com/ninja-build/ninja/releases/download/v1.13 .1/ninja-win.zip" - OutFile " ./ninja.zip" - UseBasicParsing
2
2
Expand-Archive .\ninja.zip
3
3
4
4
. " $PSScriptRoot /envvars.ps1"
Original file line number Diff line number Diff line change 1
1
ARG ROOT_IMAGE
2
2
3
- FROM $ROOT_IMAGE as PreCompilerEnv
3
+ FROM $ROOT_IMAGE
4
4
5
5
SHELL ["powershell.exe" ]
6
6
@@ -11,8 +11,6 @@ ADD ./ /tools
11
11
12
12
RUN /tools/install-tools.ps1 -cudaVersion $ENV:CUDA_VER
13
13
14
- FROM PreCompilerEnv as BuildEnv
15
-
16
14
ARG MSVC_VER
17
15
ARG MSVC_COMPILER_VER
18
16
You can’t perform that action at this time.
0 commit comments