Skip to content

Commit

Permalink
Update Cublas versions in Windows build and packaging scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed Mar 20, 2024
1 parent 6a2fcd2 commit 85914d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/Build-Windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ param(
[string] $Target = 'x64',
[ValidateSet('Debug', 'RelWithDebInfo', 'Release', 'MinSizeRel')]
[string] $Configuration = 'RelWithDebInfo',
[ValidateSet('cpu', 'cuda12_2', 'cuda11_8')]
[ValidateSet('cpu', '12.2.0', '11.8.0')]
[string] $Cublas = 'cpu',
[switch] $SkipAll,
[switch] $SkipBuild,
Expand Down
5 changes: 3 additions & 2 deletions .github/scripts/Package-Windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ param(
[string] $Target = 'x64',
[ValidateSet('Debug', 'RelWithDebInfo', 'Release', 'MinSizeRel')]
[string] $Configuration = 'RelWithDebInfo',
[ValidateSet('cpu', 'cuda12_2', 'cuda11_8')]
[ValidateSet('cpu', '12.2.0', '11.8.0')]
[string] $Cublas = 'cpu',
[switch] $BuildInstaller,
[switch] $SkipDeps
Expand Down Expand Up @@ -49,8 +49,9 @@ function Package {
$BuildSpec = Get-Content -Path ${BuildSpecFile} -Raw | ConvertFrom-Json
$ProductName = $BuildSpec.name
$ProductVersion = $BuildSpec.version
$CudaName = "cuda${Cublas}"

$OutputName = "${ProductName}-${ProductVersion}-windows-${Target}-${Cublas}"
$OutputName = "${ProductName}-${ProductVersion}-windows-${Target}-${CudaName}"

if ( ! $SkipDeps ) {
Install-BuildDependencies -WingetFile "${ScriptHome}/.Wingetfile"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ jobs:
needs: check-event
strategy:
matrix:
cublas: [cpu, cuda12_2, cuda11_8]
cublas: [cpu, 12.2.0, 11.8.0]
defaults:
run:
shell: pwsh
Expand Down

0 comments on commit 85914d2

Please sign in to comment.