Commit Graph

12 Commits

Author SHA1 Message Date
Kai Pastor
f35ba0c785
[luajit] Use common build functions (#30608)
* [luajit] Use nmake build setup [skip actions]

* [luajit] Use vcpkg_configure/install_make [skip actions]

* Cross build with host tools

* Host tools must match target bitness

* Cleanup

* WIP

* Don't touch CI baseline now

* Less osx quirks

* Move msvc header installation to nmake

* Simplify MSVC

* Add arm and x86 cross build support
2023-05-09 16:57:10 -07:00
xiaozhuai, Weihang Ding
60eff91cc8
[luajit] Fix cross compile for macOS (#29003)
* [luajit] Bump version and fix cross compile for macOS

* update version database
2023-01-26 19:30:21 -08:00
xiaozhuai, Weihang Ding
1267dfe357
[luajit] Bump version and fix #28004 (#28016)
* [luajit] Bump version and fix #28004

* update version database
2022-11-30 09:31:03 -08:00
Alexey Sokolov
8ffbeacd58
[luajit] Install .pc file for windows (#26971)
Fix installed .pc file on osx

Close #23178
2022-09-27 16:02:37 -07:00
Billy O'Neal
acc3bcf76b
[luajit] Fix build failure that resulted in no output. (#26360) 2022-08-15 19:24:49 -07:00
JonLiu1993
2c7862c4aa
[luajit] update to the latest commit (#25856)
* update version

* update version

* [luajit] update to latest commit

* update version

* add patch

* update version
2022-08-11 18:17:20 -07:00
autoantwort
52f2a3792e
[luajit] no absolute paths (#24847) 2022-05-23 13:56:08 -07:00
Federico Aponte
5d8b7711b1
[luajit] Add support for OSX (#24584)
* [luajit] Add support for OSX

* Apply suggestions from code review

Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com>

* [luajit] Add code review suggestions
* Remove MACOSX_DEPLOYMENT_TARGET definition from Makefile
* Add usage file
* Add license field to manifest file
Co-authored-by: Billy O'Neal <billy.oneal@gmail.com>

* [luajit] Remove usage file whose content is controversial

Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com>
2022-05-10 11:35:35 -07:00
kromych
47cbed8851
Fix building LuaJIT on Linux (#24498)
* Fix building LuaJIT on Linux

* Update version metadata

* Fix remaining ci.baseline.txt entries:

luajit:arm64-windows: Left as "skip": The problem is that the batch files used to build here want to run a binary they built which fails, but there's no good way to say "I can run the results" in our platform expressions right now
luajit:arm64-uwp / luajit:arm-uwp: These are already stopped by the platform expression.
luajit:x64-osx: I don't know if this works yet but we should try.

* Block osx with a "supports".

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-05-05 16:01:10 -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
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
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00