mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[apsi] fix uwp buid (#33684)
This commit is contained in:
parent
8521481a61
commit
0ffc9209dc
@ -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(
|
||||
|
@ -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",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "6a3eba819cf2ad5252c8ecae5c0d23f77238d98f",
|
||||
"version-semver": "0.9.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "c1614133f3e08c8203102a2dd519c759b01d7156",
|
||||
"version-semver": "0.9.0",
|
||||
|
@ -170,7 +170,7 @@
|
||||
},
|
||||
"apsi": {
|
||||
"baseline": "0.9.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"arb": {
|
||||
"baseline": "2.21.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user