[capnproto] Support Windows on ARM64. (#42697)

This commit is contained in:
Theodore Tsirpanis 2024-12-16 20:06:41 +02:00 committed by GitHub
parent d00bfc5a86
commit a09e4e86d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 3 deletions

View File

@ -10,6 +10,12 @@ vcpkg_from_github(
undef-KJ_USE_EPOLL-for-ANDROID_PLATFORM-23.patch undef-KJ_USE_EPOLL-for-ANDROID_PLATFORM-23.patch
) )
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
# In ARM64 it fails without /bigobj
set(VCPKG_CXX_FLAGS "${VCPKG_CXX_FLAGS} /bigobj")
set(VCPKG_C_FLAGS "${VCPKG_C_FLAGS} /bigobj")
endif()
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES FEATURES
"openssl" OPENSSL_FEATURE "openssl" OPENSSL_FEATURE

View File

@ -1,11 +1,11 @@
{ {
"name": "capnproto", "name": "capnproto",
"version": "1.0.2", "version": "1.0.2",
"port-version": 1, "port-version": 2,
"description": "Data interchange format and capability-based RPC system", "description": "Data interchange format and capability-based RPC system",
"homepage": "https://capnproto.org/", "homepage": "https://capnproto.org/",
"license": "MIT", "license": "MIT",
"supports": "!windows | (!uwp & !arm)", "supports": "!windows | (!uwp & !arm32)",
"dependencies": [ "dependencies": [
{ {
"name": "vcpkg-cmake", "name": "vcpkg-cmake",

View File

@ -1506,7 +1506,7 @@
}, },
"capnproto": { "capnproto": {
"baseline": "1.0.2", "baseline": "1.0.2",
"port-version": 1 "port-version": 2
}, },
"capstone": { "capstone": {
"baseline": "5.0.3", "baseline": "5.0.3",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "34d3e2f7eaa026d154cec3576cffefe6aec1cda1",
"version": "1.0.2",
"port-version": 2
},
{ {
"git-tree": "38a65f51f26928a3ea7bed90ada2ec4081091a6b", "git-tree": "38a65f51f26928a3ea7bed90ada2ec4081091a6b",
"version": "1.0.2", "version": "1.0.2",