Warning, this repository will soon be deprecated.
A C++ implementation of PySyft - A library for encrypted, privacy preserving machine learning
syft.cpp comes with a CMake build script that can be used on a wide range of platforms. If you don't have CMake installed already, you can download it for free from http://www.cmake.org/.
Then, do as follows to build this library:
- Get the source code and change to it. e.g. cloning with git:
git clone https://github.com/hericlesme/syft.cpp.git
cd syft.cpp
- Clone the
googletest
library to the/lib
folder
mkdir lib && cd lib
git clone https://github.com/google/googletest
- Build the project using CMake:
mkdir build && cd build
cmake ..
make
By default Release
build type will be used. Note that assert will be disabled with this build type.
You can a specific build type vai the CMAKE_BUILD_TYPE
flag.
mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Debug ..
make
make test
If you wish to install the syft
library run the following command with sudo
after building the project:
make install
This project is licensed under the Apache 2.0 License - see the LICENSE file for details