Billy O'Neal
c9e786d81a
[many ports] remove remaining vcpkg_fail_port_install calls. ( #22770 )
...
* Bulk remove vcpkg_fail_port_install calls.
Interesting ones have been split out into separate reviews, where "interesting" means "anything more than just deleting the call to vcpkg_fail_port_install",
In support of https://github.com/microsoft/vcpkg/pull/21502
* Update version database.
* Revert google benchmark changes already submitted as https://github.com/microsoft/vcpkg/pull/22728
* Repair version database.
2022-01-25 10:31:15 -08:00
Billy O'Neal
b295670e4b
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
Robert Schumacher
b009c2e5b0
[cppcoro] Simplify CMakeLists.txt to ease future maintenance. Fix VS 2019 builds.
2020-04-24 03:04:26 -07:00
Park DongHa
b3c031a65a
[cppcoro] force static linkage
...
* report error for clang-cl
build with VC++ in VS 2019 will fail by the header file.
2020-04-17 02:19:19 +09:00
luncliff
6c23ad6d98
[cppcoro] port install failure on platforms
...
* vcpkg_fail_port_install on uwp/linux
mention PR #10693 so linux/clang users can see the port issues
2020-04-16 14:57:29 +09:00
luncliff
91b61bc828
[cppcoro] 2020-02-28
2020-04-10 19:43:49 +09:00
luncliff
7e6235bd3a
[cppcoro] embed CMakeLists.txt file
...
* copy the CMakeLists.txt file and start build with it
* change version to 2020.2
For now the repo doesn't have any tags.
Therefore its version followed the latest commit,
which is made in 2020 Feb.
2020-04-10 18:17:04 +09:00
Park DongHa
dfdb2095fb
[cppcoro] update with PR review
...
* update reference to tag and hash value
* ${PORT} for destination
Linux build support should marked unavailable?
2020-04-07 23:47:29 +09:00
Park DongHa
aff31e139e
[cppcoro] add new port
2020-04-04 21:36:38 +09:00