Update to 1.3.0 #1
9
_service
9
_service
@@ -1,17 +1,18 @@
|
||||
<services>
|
||||
<service mode="disabled" name="tar_scm">
|
||||
<service mode="disabled" name="obs_scm">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/openfheorg/openfhe-development.git</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="revision">v1.2.3</param>
|
||||
<param name="revision">v1.3.0</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="filename">openfhe-development</param>
|
||||
</service>
|
||||
<service mode="disabled" name="recompress">
|
||||
<service mode="disabled" name="tar" />
|
||||
<service mode="disabled" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled">
|
||||
<param name="basename">openfhe-development</param>
|
||||
</service>
|
||||
</services>
|
||||
</services>
|
||||
|
Binary file not shown.
BIN
openfhe-development-1.3.0.tar.gz
Normal file
BIN
openfhe-development-1.3.0.tar.gz
Normal file
Binary file not shown.
14
openfhe-disable-bundled-cereal-install.patch
Normal file
14
openfhe-disable-bundled-cereal-install.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff -PpuriN openfhe-development-1.3.0-old/CMakeLists.txt openfhe-development-1.3.0-new/CMakeLists.txt
|
||||
--- openfhe-development-1.3.0-old/CMakeLists.txt 2025-05-21 18:28:48.000000000 +0200
|
||||
+++ openfhe-development-1.3.0-new/CMakeLists.txt 2025-06-20 12:25:04.467472837 +0200
|
||||
@@ -547,8 +547,8 @@ set(THIRDPARTYDIR ${CMAKE_CURRENT_SOURCE
|
||||
include_directories(${THIRDPARTYDIR}/include)
|
||||
|
||||
### Handle third-party CEREAL
|
||||
-include_directories(${THIRDPARTYDIR}/cereal/include)
|
||||
-install(DIRECTORY ${THIRDPARTYDIR}/cereal/include/ DESTINATION include/openfhe)
|
||||
+# include_directories(${THIRDPARTYDIR}/cereal/include)
|
||||
+# install(DIRECTORY ${THIRDPARTYDIR}/cereal/include/ DESTINATION include/openfhe)
|
||||
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third-party/google-test/googletest)
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third-party/google-test/googletest/include)
|
@@ -1,3 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 20 12:06:13 UTC 2025 - Pedro Monreal <pmonreal@suse.com>
|
||||
|
||||
- Disable the installation of bundled cereal headers since they are
|
||||
already provided by cereal-devel as a build requirement.
|
||||
* Add openfhe-disable-bundled-cereal-install.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 20 07:49:07 UTC 2025 - Pedro Monreal <pmonreal@suse.com>
|
||||
|
||||
- Update to 1.3.0:
|
||||
* Adds the composite scaling modes to CKKS based on
|
||||
https://eprint.iacr.org/2023/1462 (see COMPOSITE_SCALING.md
|
||||
for more details).
|
||||
* Adds two-party interactive CKKS bootstrapping from
|
||||
https://eprint.iacr.org/2023/1203 (see INTERACTIVE_BOOTSTRAPPING.md
|
||||
for more details).
|
||||
* Enables the complex-number arithmetic in CKKS (#964)
|
||||
* Makes OpenFHE compatible with Emscripten 3.x and 4.x (see
|
||||
https://github.com/openfheorg/openfhe-wasm for more details)
|
||||
* Adds a cleartext version of EvalChebyshevFunction (#959)
|
||||
* Optimizes the hybrid key switching (#237)
|
||||
* Fixes several bugs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 20 07:48:37 UTC 2025 - Pedro Monreal <pmonreal@suse.com>
|
||||
|
||||
- Update to 1.2.4:
|
||||
* Improves the support for STL threads (when OMP is disabled)
|
||||
* Fixes the bugs identified in CVE-2024-56430
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 17 11:08:33 UTC 2025 - Angel Yankov <angel.yankov@suse.com>
|
||||
|
||||
|
37
openfhe.spec
37
openfhe.spec
@@ -15,16 +15,20 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define libsover 1
|
||||
%define libsoname lib%{name}%{libsover}
|
||||
Name: openfhe
|
||||
Version: 1.2.3
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
Summary: Fully Homomorphic Encryption Library
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://openfhe.org/
|
||||
Source0: https://github.com/openfheorg/openfhe-development/archive/refs/tags/v%{version}.tar.gz#/%{name}-development-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE Disable installation of bundled cereal headers
|
||||
Patch0: openfhe-disable-bundled-cereal-install.patch
|
||||
BuildRequires: cereal-devel
|
||||
BuildRequires: cmake >= 3.10
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
@@ -66,33 +70,41 @@ the secret key.
|
||||
This subpackage contains the headers for the C API.
|
||||
|
||||
%prep
|
||||
%setup -n openfhe-development-%{version}
|
||||
%autosetup -p1 -n %{name}-development-%{version}
|
||||
|
||||
%build
|
||||
export CXXFLAGS+="-DGIT_SUBMOD_AUTO=OFF -DBUILD_BENCHMARKS=OFF"
|
||||
%cmake
|
||||
%cmake_build
|
||||
%cmake \
|
||||
-DBENCHMARK_ENABLE_GTEST_TESTS=OFF \
|
||||
-DBUILD_BENCHMARKS=OFF \
|
||||
-DBUILD_EXTRAS=OFF \
|
||||
-DBUILD_SHARED=ON \
|
||||
-DBUILD_UNITTESTS=OFF
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%check
|
||||
cd build
|
||||
%make_build testall
|
||||
|
||||
%post -n %{libsoname} -p /sbin/ldconfig
|
||||
%postun -n %{libsoname} -p /sbin/ldconfig
|
||||
#%check
|
||||
#pushd build
|
||||
#%make_build testall
|
||||
#popd
|
||||
#
|
||||
%ldconfig_scriptlets -n %{libsoname}
|
||||
|
||||
%files -n %{libsoname}
|
||||
%license LICENSE
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
/usr/lib/libOPENFHEpke.so.%{version}
|
||||
/usr/lib/libOPENFHEbinfhe.so.%{version}
|
||||
/usr/lib/libOPENFHEcore.so.%{version}
|
||||
|
||||
%files devel
|
||||
%license LICENSE
|
||||
%dir %{_includedir}/%{name}/
|
||||
%{_includedir}/%{name}/*
|
||||
# Exclude the zero-length README.md file
|
||||
%exclude %{_includedir}/openfhe/pke/scheme/README.md
|
||||
%dir /usr/lib/OpenFHE
|
||||
/usr/lib/OpenFHE/*.cmake
|
||||
/usr/lib/libOPENFHEpke.so
|
||||
@@ -102,3 +114,4 @@ cd build
|
||||
/usr/lib/libOPENFHEbinfhe.so.1
|
||||
/usr/lib/libOPENFHEcore.so.1
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user