Sfoglia il codice sorgente

restricted to v1.1.2 of OpenFHE (#114)

* restricted to v1.1.2 of OpenFHE

* Update README.md

* Update CMakeLists.txt

---------

Co-authored-by: Yuriy Polyakov <ypolyakod@dualitytech.com>
yspolyakov 9 mesi fa
parent
commit
1526e3be28
2 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 1 1
      CMakeLists.txt
  2. 3 1
      README.md

+ 1 - 1
CMakeLists.txt

@@ -10,7 +10,7 @@ set(OPENFHE_PYTHON_VERSION ${OPENFHE_PYTHON_VERSION_MAJOR}.${OPENFHE_PYTHON_VERS
 set(CMAKE_CXX_STANDARD 17)
 option( BUILD_STATIC "Set to ON to include static versions of the library" OFF)
 
-find_package(OpenFHE)
+find_package(OpenFHE 1.1.2 EXACT REQUIRED)
 find_package(pybind11 REQUIRED)
 
 set( CMAKE_CXX_FLAGS ${OpenFHE_CXX_FLAGS} )

+ 3 - 1
README.md

@@ -22,10 +22,12 @@ Please see [Instructions for the Docker setup](docker/README.md)
 
 Before building, make sure you have the following dependencies installed:
 
-- [OpenFHE](https://github.com/openfheorg/openfhe-development) by following the instructions on [OpenFHE Documentation](https://openfhe-development.readthedocs.io/en/latest/sphinx_rsts/intro/installation/installation.html)
+- [OpenFHE 1.1.2](https://github.com/openfheorg/openfhe-development/tree/v1.1.2) by following the instructions on [OpenFHE Documentation](https://openfhe-development.readthedocs.io/en/latest/sphinx_rsts/intro/installation/installation.html)
 - [Python 3.6+](https://www.python.org/)
 - [pybind11](https://pybind11.readthedocs.io/en/stable/installing.html)
 
+Note that currently OpenFHE 1.1.3 is not supported by the Python wrapper. The support will be added later.
+
 We recommend following OpenFHE C++ installation instructions first (which covers Linux, Windows and MacOS) and then get back to this repo. See notes on installing `pybind11` below
 
 ### Linux