Saturday, August 12, 2023

[How To] Install SEAL-Python In macOS

Run the following commands from the Terminal in the given order:

1. brew install cmake autoconf automake libtool shtool gflags

2. xcode-select --install

3. git clone

4. cd SEAL-Python

5. pip3 install numpy pybind11

6. git submodule update --init --recursive

7. cd SEAL

8. cmake -S . -B build -DSEAL_USE_MSGSL=OFF -DSEAL_USE_ZLIB=OFF -DSEAL_THROW_ON_TRANSPARENT_CIPHERTEXT=OFF -DCMAKE_C_COMPILER=/usr/local/Cellar/llvm/16.0.1/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/Cellar/llvm/16.0.1/bin/clang++

9. cmake --build build

10. cd ..

11. python3 build_ext -i

12. cp seal.*.so examples

13. cd examples

14. python3

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.