[seal] Update to v4.3.2 (#51496)

This commit is contained in:
Kim Laine 2026-05-05 01:45:46 -07:00 committed by GitHub
parent c71c7096f8
commit 54df74e48e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 27 additions and 34 deletions

View File

@ -1,13 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8ffed12..fc52757 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -258,7 +258,7 @@ if(SEAL_USE_INTEL_HEXL)
message(STATUS "Intel HEXL: download ...")
seal_fetch_thirdparty_content(ExternalIntelHEXL)
else()
- find_package(HEXL 1)
+ find_package(HEXL CONFIG REQUIRED)
if(NOT TARGET HEXL::hexl)
message(FATAL_ERROR "Intel HEXL: not found")
endif()

View File

@ -8,11 +8,10 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO microsoft/SEAL
REF "v${VERSION}"
SHA512 6479ece3bb7e641eea82ebe08abbd4192090fafd39926d694c97d5ea798c6c00bec24bdf2e17cc8b04eb12108203da0ffec671c680166a9f0c5c1317aa01685b
SHA512 7ef9dce5ec295f09d10abd5c345142b5199a8a634d98e275f4d358ce4a38c17a29a03a0a59b2cfbab631d63f49ed73510b361e285a3c125997af4587a77eeba2
HEAD_REF main
PATCHES
shared-zstd.patch
fix-hexl.patch
)
vcpkg_replace_string(
@ -24,9 +23,9 @@ vcpkg_replace_string(
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
ms-gsl SEAL_USE_MSGSL
zlib SEAL_USE_ZLIB
zstd SEAL_USE_ZSTD
hexl SEAL_USE_INTEL_HEXL
zlib SEAL_USE_ZLIB
zstd SEAL_USE_ZSTD
hexl SEAL_USE_INTEL_HEXL
INVERTED_FEATURES
no-throw-tran SEAL_THROW_ON_TRANSPARENT_CIPHERTEXT
)
@ -37,6 +36,7 @@ vcpkg_cmake_configure(
-DSEAL_BUILD_DEPS=OFF
-DSEAL_BUILD_EXAMPLES=OFF
-DSEAL_BUILD_TESTS=OFF
-DSEAL_BUILD_BENCH=OFF
-DSEAL_BUILD_SEAL_C=OFF
${FEATURE_OPTIONS}
)
@ -45,7 +45,7 @@ vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/SEAL-${VERSION_MAJOR_MINOR})
# provides pkgconfig files only on UNIX
# Provides pkg-config files only on UNIX.
if(NOT VCPKG_TARGET_IS_WINDOWS)
vcpkg_fixup_pkgconfig()
endif()

View File

@ -1,13 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4cc8a01..b8c92c2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -205,7 +205,7 @@ if(SEAL_USE_ZSTD)
message(FATAL_ERROR "Zstandard: must be static")
endif()
elseif(TARGET zstd::libzstd_shared)
- message(FATAL_ERROR "Zstandard: must be static")
+ set(zstd_static "zstd::libzstd_shared")
else()
message(FATAL_ERROR "Zstandard: not found")
endif()
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0000000..0000001 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -251,7 +251,7 @@ if(SEAL_USE_ZSTD)
message(FATAL_ERROR "Zstandard: must be static")
endif()
elseif(TARGET zstd::libzstd_shared)
- message(FATAL_ERROR "Zstandard: must be static")
+ set(zstd_static "zstd::libzstd_shared")
else()
message(FATAL_ERROR "Zstandard: not found")
endif()

View File

@ -1,6 +1,6 @@
{
"name": "seal",
"version": "4.3.0",
"version": "4.3.2",
"description": "Microsoft SEAL is an easy-to-use and powerful homomorphic encryption library.",
"homepage": "https://github.com/microsoft/SEAL",
"license": "MIT",
@ -22,6 +22,7 @@
"features": {
"hexl": {
"description": "Use Intel® HEXL for acceleration of low-level kernels.",
"supports": "x64",
"dependencies": [
"hexl"
]

View File

@ -9081,7 +9081,7 @@
"port-version": 10
},
"seal": {
"baseline": "4.3.0",
"baseline": "4.3.2",
"port-version": 0
},
"seasocks": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a207281cd038980e9066f5d424607806feadcb93",
"version": "4.3.2",
"port-version": 0
},
{
"git-tree": "5a5a3ea17f499cfda3fc37c15cc8a954e7715669",
"version": "4.3.0",