From 7f35840e29d2431098741ec9d78ba7e834bd1bc0 Mon Sep 17 00:00:00 2001 From: Chulsoon Yang Date: Tue, 26 Jul 2022 22:08:58 +0900 Subject: [PATCH] upgrade to SEAL 4.0 --- .gitmodules | 2 +- SEAL | 2 +- setup.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitmodules b/.gitmodules index b951d16..83131e4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "SEAL"] path = SEAL - url = https://github.com/microsoft/SEAL.git + url = https://github.com/Desilo/SEAL.git [submodule "pybind11"] path = pybind11 url = https://github.com/pybind/pybind11.git diff --git a/SEAL b/SEAL index 608fb1b..2859492 160000 --- a/SEAL +++ b/SEAL @@ -1 +1 @@ -Subproject commit 608fb1b9717ec6effe707758a636e0a0df76fc26 +Subproject commit 2859492541098e506cdbb7add289ea79b5e4c91e diff --git a/setup.py b/setup.py index dc0054a..613a065 100644 --- a/setup.py +++ b/setup.py @@ -11,13 +11,13 @@ # include directories include_dirs = [py_include_dir, './pybind11/include', './SEAL/native/src', './SEAL/build/native/src'] # library path -extra_objects = ['./SEAL/build/lib/libseal-3.7.a'] +extra_objects = ['./SEAL/build/lib/libseal-4.0.a'] # available wrapper: src/wrapper.cpp, src/wrapper_with_pickle.cpp wrapper_file = 'src/wrapper.cpp' if(platform.system() == "Windows"): cpp_args[0] = '/std:c++latest' # /std:c++1z - extra_objects[0] = './SEAL/build/lib/Release/seal-3.7.lib' + extra_objects[0] = './SEAL/build/lib/Release/seal-4.0.lib' if not os.path.exists(extra_objects[0]): print('Can not find the seal lib,') @@ -37,7 +37,7 @@ setup( name='seal', - version='3.7', + version='4.0', author='Desilo', author_email='engineering.dev@desilo.ai', description='Python wrapper for the Microsoft SEAL',