Commit Graph

14 Commits

Author SHA1 Message Date
chausner
ac10ff41f8
[pegtl] Update to 3.2.1 (#20400)
* Update pegtl to 3.2.1

* Update CI baseline

* Update ports/pegtl/portfile.cmake

* Update versions/p-/pegtl.json

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-09-29 08:39:07 -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
Bill Avery
16070fffea
[pegtl] Update to 3.2.0 release (#15700)
* [pegtl] Update to 3.2.0 release

* Run x-add-version pegtl
2021-01-19 00:46:00 -08:00
Bill Avery
dd9826c3b6
[pegtl] Update to release version 3.1.0 (#15186) 2020-12-18 12:06:00 -08:00
Bill Avery
af87209c50
[pegtl] Update to 3.0.0 release (#14841) 2020-12-07 08:25:38 -08:00
Bill Avery
ec4846cbf5
[pegtl/cppgraphqlgen] matching updates for dependency (#11531)
* [pegtl] Update to latest 3.0.0-pre commit

* [cppgraphqlgen] Update to v3.2.2 (matches PEGTL)
2020-05-26 21:47:34 -07:00
Alexander Neumann
3e2409f47d
[VTK/vtk-m] Update VTK to 9.0 and add vtk-m (#11148)
* [vtk-m] new port vtk-m

* [VTK] Update to 9.0

* include local buildtree changes

* [pcl] disable VTK due to API changes in VTK 9.0

* [vtk-m] add supports field to be only x64

* [vtk-dicom] add python executable.

* fix vtkm dependency

* [vtk-dicom] fix missing std:: namespace

* [vtk-m] add uwp to unsupported triplets

* [vtk] add pegtl include patch, reenable IOMotionFX

* remove hdf5 changes for testing

* use different pgetl patch which redirects to the installed config of pegtl

* [pegtl-2] version file needs renaming too

* [vtk] change dependency to pgetl-2 and fix the patch

* [vtk] put in hdf5 fix again and correct manually installed include files

* remove deprecated function to retrigger CI

* [lz4] correctly lowercase the lz4 config

* [vtk] remove unnecessary code

* [pegtl-2] add homepage

* [pegtl] modernize portfiles

* [vtk-dicom] add homepage

* [vtk-dicom] modernize portfile

* [vtk-m] remove empty build depends

* [vtk] try fixing the permission issue

* bump control

* Update FindHDF5.cmake

* Update pegtl.patch

* Update ports/vtk/pegtl.patch

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* [vtk] refactor portfile, added a few deps on [core] and added feature cuda

* [vtk] pegtl.patch: Add additional found message

* [vtk-m] add more documentation comments

* [vtk] fix string replacement

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-11 13:39:50 -07:00
Bill Avery
c52d8f70d4
[pegtl] Update to latest commit from 4/5/2020 (#10870)
* [pegtl] Update to latest commit from 4/5/2020

* Add PEGTL homepage to CONTROL file

* Fix missing newline
2020-04-21 13:25:39 -07:00
Bill Avery
df3e7936fd
[pegtl] Update to latest 3.0.0-pre commit (#10357) 2020-03-10 15:45:28 -07:00
Bill Avery
69f7376b22 [cppgraphqlgen] Update with matching PEGTL (#7639)
* [cppgraphqlgen] Update with matching PEGTL

* Pick up cppgraphqlgen v3.0.2
2019-08-13 10:42:47 -07:00
Bill Avery
858b297332 [cppgraphqlgen] Update cppgraphqlgen and PEGTL to 3.0.0 (#6162)
Upgrade PEGTL to 3.0.0-prerelease
Update cppgraphqlgen to 3.0.0
Add pegtl-2 port
2019-04-23 17:19:51 -05:00
Zhihao Yuan
e946273950
[PEGTL] Upgrade to 2.8.0
Migration guide:
https://github.com/taocpp/PEGTL/blob/master/doc/Migration-Guide.md#version-280
2019-04-11 10:36:05 -05:00
myd7349
560ff74a5c [pegtl] Update to 2.7.1 (#4504) 2018-10-19 09:09:01 -07:00
wisk
5efa290dd2 [pegtl] Initial port (#3832)
* [pegtl] Initial port

* [pegtl] fixup_cmake_targets
2018-07-03 01:06:23 -07:00