[apsi] fix uwp buid (#33684)

This commit is contained in:
autoantwort 2023-09-14 01:22:03 +02:00 committed by GitHub
parent 8521481a61
commit 0ffc9209dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 3 deletions

View File

@ -17,10 +17,13 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
)
set(CROSSCOMP_OPTIONS "")
if (NOT HOST_TRIPLET STREQUAL TARGET_TRIPLET)
if (VCPKG_CROSSCOMPILING)
if (VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")
set(CROSSCOMP_OPTIONS -DAPSI_FOURQ_ARM64_EXITCODE=0 -DAPSI_FOURQ_ARM64_EXITCODE__TRYRUN_OUTPUT="")
endif()
if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
set(CROSSCOMP_OPTIONS -DAPSI_FOURQ_AMD64_EXITCODE=0 -DHAVE_AVX_EXTENSIONS_EXITCODE=0 -DHAVE_AVX2_EXTENSIONS_EXITCODE=1)
endif()
endif()
vcpkg_cmake_configure(

View File

@ -1,7 +1,7 @@
{
"name": "apsi",
"version-semver": "0.9.0",
"port-version": 1,
"port-version": 2,
"description": "APSI is a research library for asymmetric private set intersection.",
"homepage": "https://github.com/microsoft/APSI",
"license": "MIT",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6a3eba819cf2ad5252c8ecae5c0d23f77238d98f",
"version-semver": "0.9.0",
"port-version": 2
},
{
"git-tree": "c1614133f3e08c8203102a2dd519c759b01d7156",
"version-semver": "0.9.0",

View File

@ -170,7 +170,7 @@
},
"apsi": {
"baseline": "0.9.0",
"port-version": 1
"port-version": 2
},
"arb": {
"baseline": "2.21.1",