mirror of
https://github.com/partic2/libffi
synced 2026-11-11 10:37:19 +00:00
fix mingw build and crashing bugs for Python Windows ARM64 (#496)
* fix mingw build and crashing bugs for Python Windows ARM64 * Fix issues found in PR review
This commit is contained in:
committed by
Anthony Green
parent
e0b4f84fb7
commit
c2a6859012
@@ -13,6 +13,7 @@ platform:
|
||||
- x64
|
||||
- x86
|
||||
- arm
|
||||
- arm64
|
||||
|
||||
environment:
|
||||
global:
|
||||
@@ -30,6 +31,12 @@ install:
|
||||
$env:HOST="i686-pc-cygwin"
|
||||
$env:MSVCC="/cygdrive/c/projects/libffi/msvcc.sh"
|
||||
$env:SRC_ARCHITECTURE="x86"
|
||||
} ElseIf ($env:Platform -Match "arm64") {
|
||||
$env:VCVARS_PLATFORM="x86_arm64"
|
||||
$env:BUILD="i686-pc-cygwin"
|
||||
$env:HOST="aarch64-w64-cygwin"
|
||||
$env:MSVCC="/cygdrive/c/projects/libffi/msvcc.sh -marm64"
|
||||
$env:SRC_ARCHITECTURE="aarch64"
|
||||
} ElseIf ($env:Platform -Match "arm") {
|
||||
$env:VCVARS_PLATFORM="x86_arm"
|
||||
$env:BUILD="i686-pc-cygwin"
|
||||
|
||||
Reference in New Issue
Block a user