vcpkg/versions/c-/clblast.json

60 lines
1.4 KiB
JSON
Raw Normal View History

{
"versions": [
2024-09-24 03:24:06 +08:00
{
"git-tree": "34f6549100b23ec106957a32157253eadfe10ca3",
"version": "1.6.3",
"port-version": 0
},
{
"git-tree": "2f514afe9163a9445befe8ddc91f8cd8f0105c9d",
"version": "1.6.1",
"port-version": 0
},
{
"git-tree": "5d3c066f06df46440c055d265aa2dee1c21a9971",
"version": "1.5.2",
"port-version": 3
},
{
"git-tree": "f3fc8c351cba8b45e06d835b27101617a5ba74b0",
"version": "1.5.2",
"port-version": 2
},
{
"git-tree": "e85773ea54da7675b468d6fd479871899667aa3a",
"version": "1.5.2",
"port-version": 1
},
{
"git-tree": "1908d2071402d3175fd77f272005be69ff02abbf",
"version": "1.5.2",
"port-version": 0
},
{
"git-tree": "3f2832bf6fb704f7e83a56c4a1b952287b2ceb49",
"version-string": "1.5.1",
"port-version": 2
},
Bulk convert control files. (#19986) ``` function Convert-Control { Param($full) .\vcpkg.exe format-manifest $full $root = $full.Substring(0, $full.Length - 7) # CONTROL $new = $root + 'vcpkg.json' $content = Get-Content -Raw $new $asJson = ConvertFrom-Json $content -AsHashtable -Depth 100 $oldVersion = $asJson['port-version'] if ($null -eq $oldVersion) { $oldVersionFull = $asJson['version-string'] Write-Host "Got version $oldVersionFull" $match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$') if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) { $newFullVersion = [string]$match.Groups[1].Value $oldVersion = [int]$match.Groups[2].Value Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion" $newVersion = $oldVersion + 1 $asJson['version-string'] = $newFullVersion Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion" } else { Write-Host "No previous version for $full -- setting 1" $newVersion = 1 } } else { $newVersion = [int]$oldVersion + 1 Write-Host "New version for $full : $newVersion" } $asJson['port-version'] = $newVersion $content = ConvertTo-Json $asJson -Depth 100 Set-Content -Path $new -Value $content .\vcpkg.exe format-manifest $new } Get-ChildItem ports\CONTROL -Recurse | Foreach-Object { Convert-Control $_.FullName } git commit -am "this message" .\vcpkg.exe x-add-version -all git commit -a --amend ```
2021-09-09 01:24:04 -07:00
{
"git-tree": "dcbde8693746ad43009a522210aed6794d6a0a58",
"version-string": "1.5.1",
"port-version": 1
},
{
"git-tree": "59011ea56f7531acf901ef6bc7f17ab6492f7b79",
"version-string": "1.5.1",
"port-version": 0
},
{
"git-tree": "8963217e0a1f3564d95832c2178db30618312eab",
"version-string": "1.5.0-1",
"port-version": 0
},
{
"git-tree": "90acecd3a3606d0009162352d6204e57689ac32a",
"version-string": "1.5.0",
"port-version": 0
}
]
}