early-access version 2853
This commit is contained in:
34
externals/vcpkg/ports/apsi/portfile.cmake
vendored
Executable file
34
externals/vcpkg/ports/apsi/portfile.cmake
vendored
Executable file
@@ -0,0 +1,34 @@
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO microsoft/APSI
|
||||
REF 6365cb774b81a2a731334c656db21e5fdfb92870
|
||||
SHA512 f21d710a345663aeb35035565c55fd900076589d087a03a1ad7df8b8004ae0e059196f3c94ee63b5ad815a858e5404eea34ae203f7778d4190fd323fd08b7084
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
log4cplus APSI_USE_LOG4CPLUS
|
||||
zeromq APSI_USE_ZMQ
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
DISABLE_PARALLEL_CONFIGURE
|
||||
OPTIONS
|
||||
"-DAPSI_BUILD_TESTS=OFF"
|
||||
"-DAPSI_BUILD_CLI=OFF"
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME "APSI" CONFIG_PATH "lib/cmake/APSI-0.7")
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME "copyright")
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
58
externals/vcpkg/ports/apsi/vcpkg.json
vendored
Executable file
58
externals/vcpkg/ports/apsi/vcpkg.json
vendored
Executable file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"name": "apsi",
|
||||
"version-semver": "0.7.0",
|
||||
"port-version": 2,
|
||||
"description": "APSI is a research library for asymmetric private set intersection.",
|
||||
"homepage": "https://github.com/microsoft/APSI",
|
||||
"supports": "static & !(arm & osx)",
|
||||
"dependencies": [
|
||||
"flatbuffers",
|
||||
"jsoncpp",
|
||||
"kuku",
|
||||
{
|
||||
"name": "seal",
|
||||
"features": [
|
||||
"no-throw-tran"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"default-features": [
|
||||
"log4cplus",
|
||||
"zeromq"
|
||||
],
|
||||
"features": {
|
||||
"hexl": {
|
||||
"description": "Use Intel® HEXL to accelerate Microsoft SEAL.",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "seal",
|
||||
"features": [
|
||||
"hexl",
|
||||
"no-throw-tran"
|
||||
],
|
||||
"platform": "x64"
|
||||
}
|
||||
]
|
||||
},
|
||||
"log4cplus": {
|
||||
"description": "Use log4cplus for logging.",
|
||||
"dependencies": [
|
||||
"log4cplus"
|
||||
]
|
||||
},
|
||||
"zeromq": {
|
||||
"description": "Use ZeroMQ for networking.",
|
||||
"dependencies": [
|
||||
"cppzmq"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user