[boost-context] fix arm64 builds (#26444)

This commit is contained in:
autoantwort 2022-08-22 18:37:28 +02:00 committed by GitHub
parent 3a484e1e7f
commit 973fa17951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 5 deletions

View File

@ -7,10 +7,17 @@ if(@VCPKG_TARGET_IS_WINDOWS@)
endif()
if(@VCPKG_TARGET_IS_OSX@)
list(APPEND B2_OPTIONS
abi=sysv
binary-format=mach-o
)
if(@VCPKG_TARGET_ARCHITECTURE@ MATCHES "^(ARM|arm)64$")
list(APPEND B2_OPTIONS
abi=aapcs
binary-format=mach-o
)
else()
list(APPEND B2_OPTIONS
abi=sysv
binary-format=mach-o
)
endif()
endif()
if("@VCPKG_TARGET_IS_LINUX@" STREQUAL "ON" OR "@VCPKG_TARGET_IS_ANDROID@" STREQUAL "ON")

View File

@ -1,6 +1,7 @@
{
"name": "boost-context",
"version": "1.79.0",
"port-version": 1,
"description": "Boost context module",
"homepage": "https://github.com/boostorg/context",
"license": "BSL-1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "24210ac19518ca74072938e9569a9e9f5b3476ba",
"version": "1.79.0",
"port-version": 1
},
{
"git-tree": "7abfa63f40d05e79743c416050ed97f8351d3c37",
"version": "1.79.0",

View File

@ -630,7 +630,7 @@
},
"boost-context": {
"baseline": "1.79.0",
"port-version": 0
"port-version": 1
},
"boost-contract": {
"baseline": "1.79.0",