[APSI ]Updated APSI to 0.9.0 (#28778)

* Updated apsi to verion 0.9.0.

* Fixed versioning.
This commit is contained in:
Wei Dai 2023-01-24 01:00:25 -08:00 committed by GitHub
parent 83bde25e94
commit c42991805c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 22 deletions

View File

@ -1,13 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3a7854d..b1a5f51 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -117,7 +117,7 @@ set(APSI_INCLUDES_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR}/APSI-${APSI_VERSION_MA
# find_package might throw a FATAL_ERROR before"xxx: not found", e.g. with vcpkg.cmake.
# Microsoft SEAL
-find_package(SEAL 3.7 QUIET REQUIRED)
+find_package(SEAL CONFIG REQUIRED)
if(NOT SEAL_FOUND)
message(FATAL_ERROR "Microsoft SEAL: not found")
else()

View File

@ -3,11 +3,9 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO microsoft/APSI
REF ba71aeb28a9f21e4ad59c45aa88232b099ce0b87 #0.8.2
SHA512 810bcbe0afa3d1c9d299a85bc4266135bdf9adc33bfc754c59731f6cfa6a89d449fb134cef34c4614742bd50e9f8f3916e5b64998dcea69883ca27b7da3c5f04
REF 2dff8dcd39c361527ea3b320f87cb8e71dd4f777 #0.9.0
SHA512 16c52642719f1d67dfaa70d963ba8795ac618f250752a1f95d91d4b1db8b51b2598999dcc9a9a7a3dbe8537943a3c3bf2ec684cd2697fca88135b01009961213
HEAD_REF main
PATCHES
fix-find_package.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
@ -35,7 +33,7 @@ vcpkg_cmake_configure(
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME "APSI" CONFIG_PATH "lib/cmake/APSI-0.8")
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/APSI-0.9")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

View File

@ -1,7 +1,6 @@
{
"name": "apsi",
"version-semver": "0.8.2",
"port-version": 1,
"version-semver": "0.9.0",
"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": "3fe18a82f71344cfd2a936fb6ddf4a6762edfffa",
"version-semver": "0.9.0",
"port-version": 0
},
{
"git-tree": "b217158e7c8e8626bbb455182a980db7295c085d",
"version-semver": "0.8.2",

View File

@ -141,8 +141,8 @@
"port-version": 10
},
"apsi": {
"baseline": "0.8.2",
"port-version": 1
"baseline": "0.9.0",
"port-version": 0
},
"arb": {
"baseline": "2.21.1",