Commit Graph

9 Commits

Author SHA1 Message Date
Billy O'Neal
a4275b7eee
Update macOS machines for May 2024 (#38834)
* Run through the macOS update instructions one more time. I think
they're in a pretty good state now since this is the first attempt to
rerun them since we dropped Vagrant.
* Removed Parallels references for arm64.
* Removed references to removing Vagrant because it's no longer on any
of the hosts.
* Update macOS to 14.5.
* Update XCode CLT to 14.3.
2024-06-04 13:35:41 -07:00
JonLiu1993
8b86af2c8c
[geogram] Enable MacOs+Arm64 build (#32366)
* [geogram] Enable MacOs+Arm64 build

* update version

---------

Co-authored-by: Zhao Liu <v-zhli17@microsoft.com>
2023-07-05 11:32:59 -07:00
MonicaLiu
fc2263ea36
[geogram] update to 1.8.3 (#30362)
* update geogram

* update version

* update patch

* update version

* update portfile.cmake

* update version

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2023-03-24 22:59:15 -07:00
autoantwort
6adcef5a27
[geogram] does not work on arm osx (#27065) 2022-10-03 14:01:27 -07:00
Nursultan Zarlyk
eeb845640a
[geogram] Add arm64-windows support (#26875)
* Add arm64-windows

* Add version

* Remove geogram from ci.baseline

Co-authored-by: Nursultan Zarlyk <nzarlyk@microsoft.com>
2022-09-30 17:03:30 -07:00
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
autoantwort
e7e328cf9d
[many ports] call vcpkg_fixup_pkgconfig() (#20953)
* [many ports] call vcpkg_fixup_pkgconfig()

The ports generate pc files, but don't call vcpkg_fixup_pkgconfig() so that there are absolute paths in the pc files

* Update port-version for armadillo and polyclipping.

* Update version database.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-27 15:19:28 -07:00
Victor Romero
05e56b2c86
[geogram] Switch to a GitHub mirror since upstream download is broken (#20778)
* [geogram] Switch to github mirror (alicevision/geogram)

* [geogram] Update version files

* Clean portfile and use correct version scheme

* [geogram] Update versions file
2021-10-16 12:14:34 -07: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