From 55466813897a75aa443c5dfe6e32fb66c56847d1 Mon Sep 17 00:00:00 2001 From: Radames Cruz Date: Thu, 28 Jan 2021 13:49:30 -0800 Subject: [PATCH] Update to SEAL 3.6.1 (#15015) --- ports/seal/CONTROL | 7 ++++++- ports/seal/portfile.cmake | 8 ++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ports/seal/CONTROL b/ports/seal/CONTROL index 36f701e8a3..060d457b6e 100644 --- a/ports/seal/CONTROL +++ b/ports/seal/CONTROL @@ -1,7 +1,8 @@ Source: seal -Version: 3.6.0 +Version: 3.6.1 Homepage: https://github.com/microsoft/SEAL Description: Microsoft SEAL is an easy-to-use and powerful homomorphic encryption library. +Supports: !windows | (windows & static) Default-Features: ms-gsl, zlib, zstd Feature: ms-gsl @@ -15,3 +16,7 @@ Description: Use zlib for compressed serialization Feature: zstd Build-Depends: zstd Description: Use zstd for compressed serialization + +Feature: no-throw-tran +Build-Depends: +Description: Do not throw when operating on transparent ciphertexts diff --git a/ports/seal/portfile.cmake b/ports/seal/portfile.cmake index 4b0fc342cd..d3bae38565 100644 --- a/ports/seal/portfile.cmake +++ b/ports/seal/portfile.cmake @@ -3,15 +3,19 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO microsoft/SEAL - REF 3eea4353d4768c79899a67ca4d36bfc3005d5412 - SHA512 ee3d8926f4a26c8f67a9e79fe5da9883195d2e9f9fffa47bb9c3526150d1e0c179968af7222ca280574921feb3c45200da1ca4dc0b012b82aa57dbdef26dcc0a + REF d6040632780981f3ab61969025d333d394eb2aeb + SHA512 f93c636eb9f3dd4c3b626b126aeed669da506e1e17eba172f6d3193ff2561b4cb4fc19a30b46792afa04848f1f4d73e276cdc915b41ec64bc9ea6d02550af110 HEAD_REF master ) vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES ms-gsl SEAL_USE_MSGSL zlib SEAL_USE_ZLIB zstd SEAL_USE_ZSTD + + INVERTED_FEATURES + no-throw-tran SEAL_THROW_ON_TRANSPARENT_CIPHERTEXT ) vcpkg_configure_cmake(